typo fix for rgbttl
authorNeel <neelgala@gmail.com>
Mon, 23 Jul 2018 08:15:18 +0000 (13:45 +0530)
committerNeel <neelgala@gmail.com>
Mon, 23 Jul 2018 08:15:18 +0000 (13:45 +0530)
src/peripherals/rgbttl/rgbttl_dummy.bsv

index 75d0e62a6a6cb73188aafd2b9a21ff0a28cd4ba9..163325141a47df663b7a9cfac760f3e6b92d8d72 100644 (file)
@@ -55,7 +55,7 @@ package rgbttl_dummy;
       Reg#(Bit#(1)) rg_ck <- mkReg(0);
       Reg#(Bit#(1)) rg_vs <- mkReg(0);
       Reg#(Bit#(1)) rg_hs <- mkReg(0);
-      Reg#(Bit#(`RGBTTL_WIDTH)) rg_data;
+      Reg#(Bit#(1)) rg_data [ `RGBTTL_WIDTH];
       for(Integer i = 0; i < `RGBTTL_WIDTH;i=i+1) begin
         rg_data[i] <- mkReg(0);
       end