From 820ee65ceeeec313eedec63e52bdb82c39292b6f Mon Sep 17 00:00:00 2001 From: David Banks Date: Sun, 27 Oct 2019 16:56:58 +0000 Subject: [PATCH] Z80: Add mode input to other icez80 builds build Change-Id: I1b9130ec3835f08a4c3f429860aff6f09dc92d8c --- target/godil_250/_icez80/board.ucf | 3 +++ target/godil_500/icez80/board.ucf | 6 ++++++ target/lx9_jason/icez80/board.ucf | 7 +++++-- target/lx9_jason_flipped/icez80/board.ucf | 7 +++++-- 4 files changed, 19 insertions(+), 4 deletions(-) diff --git a/target/godil_250/_icez80/board.ucf b/target/godil_250/_icez80/board.ucf index 8bc39d4..3827599 100644 --- a/target/godil_250/_icez80/board.ucf +++ b/target/godil_250/_icez80/board.ucf @@ -74,6 +74,9 @@ NET "test4" LOC="P91" | IOSTANDARD = LVCMOS33 | SLEW = SLOW | DRIVE = 4 ; # so we connect it to an unused pin NET "DOE_n" LOC="P99" | IOSTANDARD = LVCMOS33 | SLEW = SLOW | DRIVE = 4 ; +# This input controls whether the idle mode includes M1 cycles +NET "mode" LOC="P88" | IOSTANDARD = LVCMOS33 ; + # NET "" LOC="P48" | IOSTANDARD = LVCMOS33 ; # connector pin E2 # NET "" LOC="P49" | IOSTANDARD = LVCMOS33 ; # connector pin E3 # NET "" LOC="P27" | IOSTANDARD = LVCMOS33 ; # connector pin E4 diff --git a/target/godil_500/icez80/board.ucf b/target/godil_500/icez80/board.ucf index 8bc39d4..94484ac 100644 --- a/target/godil_500/icez80/board.ucf +++ b/target/godil_500/icez80/board.ucf @@ -1,5 +1,8 @@ NET "CLK_n" CLOCK_DEDICATED_ROUTE = FALSE; +TIMESPEC TS_clk_period_clk_n = PERIOD "clk_period_grp_clk_n" 125ns LOW; + +NET "clock49" CLOCK_DEDICATED_ROUTE = FALSE; NET "clock49" LOC="P89" | IOSTANDARD = LVCMOS33 | PERIOD = 20.35ns ; # 49.152 MHz Oscillator @@ -74,6 +77,9 @@ NET "test4" LOC="P91" | IOSTANDARD = LVCMOS33 | SLEW = SLOW | DRIVE = 4 ; # so we connect it to an unused pin NET "DOE_n" LOC="P99" | IOSTANDARD = LVCMOS33 | SLEW = SLOW | DRIVE = 4 ; +# This input controls whether the idle mode includes M1 cycles +NET "mode" LOC="P88" | IOSTANDARD = LVCMOS33 ; + # NET "" LOC="P48" | IOSTANDARD = LVCMOS33 ; # connector pin E2 # NET "" LOC="P49" | IOSTANDARD = LVCMOS33 ; # connector pin E3 # NET "" LOC="P27" | IOSTANDARD = LVCMOS33 ; # connector pin E4 diff --git a/target/lx9_jason/icez80/board.ucf b/target/lx9_jason/icez80/board.ucf index 9cecc02..8601e6a 100644 --- a/target/lx9_jason/icez80/board.ucf +++ b/target/lx9_jason/icez80/board.ucf @@ -65,8 +65,11 @@ NET "avr_TxD" LOC="P51" | IOSTANDARD = LVCMOS33 | SLEW = SLOW | DRIVE = 8 ; NET "avr_RxD" LOC="P55" | IOSTANDARD = LVCMOS33 ; # External trigger inputs -NET "trig<0>" LOC="P126" | IOSTANDARD = LVCMOS33 ; -NET "trig<1>" LOC="P127" | IOSTANDARD = LVCMOS33 ; +NET "trig<0>" LOC="P126" | IOSTANDARD = LVCMOS33 | PULLUP ; +NET "trig<1>" LOC="P127" | IOSTANDARD = LVCMOS33 | PULLUP ; + +# This input controls whether the idle mode includes M1 cycles +NET "mode" LOC="P140" | IOSTANDARD = LVCMOS33 | PULLUP ; # Test outputs NET "test1" LOC="P138" | IOSTANDARD = LVCMOS33 | SLEW = SLOW | DRIVE = 8 ; # led1 diff --git a/target/lx9_jason_flipped/icez80/board.ucf b/target/lx9_jason_flipped/icez80/board.ucf index f2f6c0b..ec25b62 100644 --- a/target/lx9_jason_flipped/icez80/board.ucf +++ b/target/lx9_jason_flipped/icez80/board.ucf @@ -65,8 +65,11 @@ NET "avr_TxD" LOC="P51" | IOSTANDARD = LVCMOS33 | SLEW = SLOW | DRIVE = 8 ; NET "avr_RxD" LOC="P55" | IOSTANDARD = LVCMOS33 ; # External trigger inputs -NET "trig<0>" LOC="P126" | IOSTANDARD = LVCMOS33 ; -NET "trig<1>" LOC="P127" | IOSTANDARD = LVCMOS33 ; +NET "trig<0>" LOC="P126" | IOSTANDARD = LVCMOS33 | PULLUP ; +NET "trig<1>" LOC="P127" | IOSTANDARD = LVCMOS33 | PULLUP ; + +# This input controls whether the idle mode includes M1 cycles +NET "mode" LOC="P140" | IOSTANDARD = LVCMOS33 | PULLUP ; # Test outputs NET "test1" LOC="P138" | IOSTANDARD = LVCMOS33 | SLEW = SLOW | DRIVE = 8 ; # led1