From 55f40cfda438e2d5e144be4969707ac759765c1d Mon Sep 17 00:00:00 2001
From: ks6n19 <ks6n19@soton.ac.uk>
Date: Fri, 7 Aug 2020 16:39:19 +0100
Subject: [PATCH] x1,x2,y1,y2 now 10:0

---
 behavioural/razzle.sv | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/behavioural/razzle.sv b/behavioural/razzle.sv
index b84184d..ecbddc1 100644
--- a/behavioural/razzle.sv
+++ b/behavioural/razzle.sv
@@ -10,12 +10,12 @@ module razzle (
  
         input logic CLOCK_50, 
 		input logic [3:0] KEY,
-		input logic [8:0] x1, x2, y1, y2,
+		input logic [10:0] x1, x2, y1, y2,
         output logic [7:0] VGA_R,VGA_G,VGA_B, 
         output logic VGA_HS,VGA_VS, VGA_CLK, VGA_BLANK_N); 
        		 
 // Video Display Signals    
-logic [10:0] H_count,V_count; 
+logic [10:0] H_count,V_count; 
 
 logic Red_Data; 
 logic red_square ;
@@ -36,8 +36,8 @@ assign VGA_B = Blue ? 255 : 0;
 
 assign VGA_CLK = clock_enable;
 assign VGA_BLANK_N = video_on;
-
-// interchange values of x1, x2, y1 , y2 to get a square on black screen 
+
+// interchange values of x1, x2, y1 , y2 to get a square on black screen 
 
 
 
@@ -54,7 +54,7 @@ assign Blue =  Blue_Data && video_on;
 // video_on turns off pixel color data when not in the pixel view area 
 assign video_on = video_on_H && video_on_V; 
 
-// Red square calculation
+// Red square calculation
 
 always @(posedge CLOCK_50, negedge nReset)
   if ( ! nReset)
-- 
GitLab