projects
/
shakti-peripherals.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a15b967
)
typo rgbttl
author
Neel
<neelgala@gmail.com>
Mon, 23 Jul 2018 08:21:01 +0000
(13:51 +0530)
committer
Neel
<neelgala@gmail.com>
Mon, 23 Jul 2018 08:21:01 +0000
(13:51 +0530)
src/peripherals/rgbttl/rgbttl_dummy.bsv
patch
|
blob
|
history
diff --git
a/src/peripherals/rgbttl/rgbttl_dummy.bsv
b/src/peripherals/rgbttl/rgbttl_dummy.bsv
index 163325141a47df663b7a9cfac760f3e6b92d8d72..0a4a7d87a03448fa3fdf11fc4f92262c80fde54b 100644
(file)
--- a/
src/peripherals/rgbttl/rgbttl_dummy.bsv
+++ b/
src/peripherals/rgbttl/rgbttl_dummy.bsv
@@
-55,10
+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#(1)) rg_data [ `RGBTTL_WIDTH];
- for(Integer i = 0; i < `RGBTTL_WIDTH;i=i+1) begin
- rg_data[i] <- mkReg(0);
- end
+ Reg#(Bit#(`RGBTTL_WIDTH)) rg_data <- mkReg(0);
method de = rg_de;
method ck = rg_ck;