aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--abc80.v14
1 files changed, 8 insertions, 6 deletions
diff --git a/abc80.v b/abc80.v
index c4c1048..3f3ed06 100644
--- a/abc80.v
+++ b/abc80.v
@@ -670,12 +670,14 @@ module abc80 (
if ( ~rst_n )
video_width <= ~sw[9]; // Set SW9 to go to 40 column after reset
else
- if ( ~abc_in_n[3] )
- video_width <= 1'b0;
- else if ( ~abc_in_n[4] )
- video_width <= 1'b1;
- else if ( key1_strobe & key1_debounced )
- video_width <= ~video_width;
+ begin
+ if ( ~abc_in_n[3] )
+ video_width <= 1'b0;
+ else if ( ~abc_in_n[4] )
+ video_width <= 1'b1;
+ else if ( key1_strobe & key1_debounced )
+ video_width <= ~video_width;
+ end
end
// Sound generator