From b0d7418a4781504db09b023eb2934759317464d2 Mon Sep 17 00:00:00 2001
From: David Banks <dave@hoglet.com>
Date: Wed, 30 Oct 2019 14:29:05 +0000
Subject: [PATCH] Add pullup to ICE-Z80 Mode input on GODIL

Change-Id: I749690f5805adc34bb658f6ba9d161b240fb45a4
---
 target/godil_250/_icez80/board.ucf | 2 +-
 target/godil_500/icez80/board.ucf  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/godil_250/_icez80/board.ucf b/target/godil_250/_icez80/board.ucf
index 3827599..51105a5 100644
--- a/target/godil_250/_icez80/board.ucf
+++ b/target/godil_250/_icez80/board.ucf
@@ -75,7 +75,7 @@ NET "test4" LOC="P91" | IOSTANDARD = LVCMOS33 | SLEW = SLOW | DRIVE = 4 ;
 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 "mode" LOC="P88" | IOSTANDARD = LVCMOS33 | PULLUP;
 
 # NET ""  LOC="P48" | IOSTANDARD = LVCMOS33 ; # connector pin E2
 # NET ""  LOC="P49" | IOSTANDARD = LVCMOS33 ; # connector pin E3
diff --git a/target/godil_500/icez80/board.ucf b/target/godil_500/icez80/board.ucf
index 94484ac..486927a 100644
--- a/target/godil_500/icez80/board.ucf
+++ b/target/godil_500/icez80/board.ucf
@@ -78,7 +78,7 @@ NET "test4" LOC="P91" | IOSTANDARD = LVCMOS33 | SLEW = SLOW | DRIVE = 4 ;
 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 "mode" LOC="P88" | IOSTANDARD = LVCMOS33 | PULLUP;
 
 # NET ""  LOC="P48" | IOSTANDARD = LVCMOS33 ; # connector pin E2
 # NET ""  LOC="P49" | IOSTANDARD = LVCMOS33 ; # connector pin E3