aboutsummaryrefslogtreecommitdiffstats
path: root/display.v
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2016-11-08 16:04:46 -0800
committerH. Peter Anvin <hpa@zytor.com>2016-11-08 16:04:46 -0800
commitbf72deac95fd4fe0d996ebab7454ae3118a27d68 (patch)
treecd4acee634d94d13a40a37a8a8d748abdf3012cd /display.v
parentd0f9ec8780bfbb5ae1588e2c1e63bab7e38e8b8b (diff)
downloadabc80-bf72deac95fd4fe0d996ebab7454ae3118a27d68.tar.gz
abc80-bf72deac95fd4fe0d996ebab7454ae3118a27d68.tar.xz
abc80-bf72deac95fd4fe0d996ebab7454ae3118a27d68.zip
Current status of SRAM sharing
Diffstat (limited to 'display.v')
-rw-r--r--display.v7
1 files changed, 4 insertions, 3 deletions
diff --git a/display.v b/display.v
index c1ec19d..594edaa 100644
--- a/display.v
+++ b/display.v
@@ -139,11 +139,12 @@ module display (
// Synchronize width input
synchronize
- width_sync (.reset(1'b0), .clk(clk), .d(width), .q(v_width));
+ width_sync (.reset(1'b0), .clk(clk), .enable (1'b1),
+ .d(width), .q(v_width));
// Synchronize fg_ctl input, update during vsync only
- synchronize #(.width(8), .stabilize(1))
- fg_ctl_sync (.reset(1'b0), .clk(clk), .enable (~video_y),
+ synchronize #(.width(8))
+ fg_ctl_sync (.reset(1'b0), .clk(clk), .enable (~yvideo),
.d(fg_ctl), .q(fgctl_q));
// Should we advance the character pixel?