aboutsummaryrefslogtreecommitdiffstats
path: root/t80pio
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2003-09-12 21:46:31 +0000
committerH. Peter Anvin <hpa@zytor.com>2003-09-12 21:46:31 +0000
commit07e70afb7acd7706735694b81acfc360d78fc3ab (patch)
tree5786c3390928418ed6d08e6b47e37c5887756218 /t80pio
parent63e49239d5b3852d9ce45a2816edc024361cc7d3 (diff)
downloadabc80-07e70afb7acd7706735694b81acfc360d78fc3ab.tar.gz
abc80-07e70afb7acd7706735694b81acfc360d78fc3ab.tar.xz
abc80-07e70afb7acd7706735694b81acfc360d78fc3ab.zip
Latch in Ai for the input direction, not Di
Diffstat (limited to 't80pio')
-rw-r--r--t80pio/t80pio.v2
1 files changed, 1 insertions, 1 deletions
diff --git a/t80pio/t80pio.v b/t80pio/t80pio.v
index ba2676b..9161286 100644
--- a/t80pio/t80pio.v
+++ b/t80pio/t80pio.v
@@ -183,7 +183,7 @@ module T80PIO (
// Latch input data every cycle unless we are
// currently being addressed by the CPU
if ( latch_in )
- data_in <= Di;
+ data_in <= Ai;
// Input strobe detect
if ( ASTB_n & ~ASTB_n_old ) // ASTB_n rising edge