aboutsummaryrefslogtreecommitdiffstats
path: root/display.v
diff options
context:
space:
mode:
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?