projects
/
SymbiYosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
091222b
)
Fix syntax errors
author
Miodrag Milanovic
<mmicko@gmail.com>
Tue, 26 Jan 2021 08:09:43 +0000
(09:09 +0100)
committer
Miodrag Milanovic
<mmicko@gmail.com>
Tue, 26 Jan 2021 08:09:43 +0000
(09:09 +0100)
sbysrc/demo3.sby
patch
|
blob
|
history
diff --git
a/sbysrc/demo3.sby
b/sbysrc/demo3.sby
index 2bb06796c53f97e586c7d186bfaf711768ec2dbd..c959d885a852ad2ba28fe9fb05c858a685b5d7c8 100644
(file)
--- a/
sbysrc/demo3.sby
+++ b/
sbysrc/demo3.sby
@@
-14,9
+14,9
@@
module top (
input clk,
input [7:0] addr,
input [7:0] wdata,
- output [7:0] rdata
,
+ output [7:0] rdata
);
-
const rand
reg [7:0] test_addr;
+
rand const
reg [7:0] test_addr;
reg [7:0] test_data;
reg test_valid = 0;
@@
-42,7
+42,7
@@
module memory (
input clk,
input [7:0] addr,
input [7:0] wdata,
- output [7:0] rdata
,
+ output [7:0] rdata
);
reg [7:0] mem [0:255];