summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2011-06-04 23:47:43 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2011-06-04 23:47:43 (GMT)
commit27502ceb0e048b67f1b6f4b700fcfeb823672620 (patch)
tree69f9c8375b4b108dc5f1845e302b1449130fb67c
parentc683552974872354785eb31dc4e18498560d46a3 (diff)
downloadde1flash-27502ceb0e048b67f1b6f4b700fcfeb823672620.zip
de1flash-27502ceb0e048b67f1b6f4b700fcfeb823672620.tar.gz
de1flash-27502ceb0e048b67f1b6f4b700fcfeb823672620.tar.bz2
de1flash-27502ceb0e048b67f1b6f4b700fcfeb823672620.tar.xz
de1flash.v: fix the blank check state machine
We need to advance the address register while blank checking...
-rw-r--r--de1flash.v1
1 files changed, 1 insertions, 0 deletions
diff --git a/de1flash.v b/de1flash.v
index fa9f8ec..082f96f 100644
--- a/de1flash.v
+++ b/de1flash.v
@@ -424,6 +424,7 @@ module de1flash (
wire bump_addr =
(prog_state == pst_read2) |
+ (prog_state == pst_zchk2) |
(prog_state == pst_write1) |
((prog_state == pst_program3) & ~|(tst_data & ~fl_data[7:0])) |
((prog_state == pst_program14) & (tst_data == pgm_data));