projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d559023
)
Add retime test
author
Eddie Hung
<eddieh@ece.ubc.ca>
Fri, 5 Apr 2019 23:28:46 +0000
(16:28 -0700)
committer
Eddie Hung
<eddieh@ece.ubc.ca>
Fri, 5 Apr 2019 23:28:46 +0000
(16:28 -0700)
tests/simple/retime.v
[new file with mode: 0644]
patch
|
blob
diff --git a/tests/simple/retime.v
b/tests/simple/retime.v
new file mode 100644
(file)
index 0000000..
30b6087
--- /dev/null
+++ b/
tests/simple/retime.v
@@ -0,0
+1,6
@@
+module retime_test(input clk, input [7:0] a, output z);
+ reg [7:0] ff = 8'hF5;
+ always @(posedge clk)
+ ff <= {ff[6:0], ^a};
+ assign z = ff[7];
+endmodule