aboutsummaryrefslogtreecommitdiffstats
path: root/display.v
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2003-09-23 04:56:01 +0000
committerH. Peter Anvin <hpa@zytor.com>2003-09-23 04:56:01 +0000
commit59b02ed61e613b9057f9a3b72475aff988c6e48c (patch)
tree3db65a22bfb320a01fc4070d9cb22167e4ea4f8e /display.v
parentf1d1ae8b271185d1aae4ecbf332babeb1aa38c32 (diff)
downloadabc80-59b02ed61e613b9057f9a3b72475aff988c6e48c.tar.gz
abc80-59b02ed61e613b9057f9a3b72475aff988c6e48c.tar.xz
abc80-59b02ed61e613b9057f9a3b72475aff988c6e48c.zip
Well, it works now... sort of. With internal RAM it mostly works;
with external RAM it's still flaky.
Diffstat (limited to 'display.v')
-rw-r--r--display.v5
1 files changed, 4 insertions, 1 deletions
diff --git a/display.v b/display.v
index b823ef2..74526b7 100644
--- a/display.v
+++ b/display.v
@@ -16,8 +16,11 @@ module display (
output [10:0] ga;
input [7:0] gd;
output [5:0] rgb;
+ reg [5:0] rgb;
output vsync;
+ reg vsync;
output hsync;
+ reg hsync;
// We use the standard VGA "text" monitor timings mode,
// htime = 31.77 us (31.47 kHz), vtime = 14.27 ms (70 Hz)
@@ -104,7 +107,7 @@ module display (
// Flashing
wire flash_blank = scan_counter[5];
- wire iflash = inverse & flash_blank;
+ wire iflash = inverse & ~flash_blank;
// Synchronous logic