diff options
author | Eddie Hung <eddieh@ece.ubc.ca> | 2019-04-18 10:56:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-18 10:56:41 -0700 |
commit | b92492331029b38f85ccd5b71a86da4907644b8e (patch) | |
tree | 0dc777dd31d2e7c3f3be8d767a9492f6e8090ae5 /tests | |
parent | ea8ac0aaad3a1f89ead8eb44b2fef5927f29a099 (diff) | |
parent | 070a2d2fd6b2d79a71be1ab5b8fe40e40e690433 (diff) | |
download | yosys-b92492331029b38f85ccd5b71a86da4907644b8e.tar.gz yosys-b92492331029b38f85ccd5b71a86da4907644b8e.tar.bz2 yosys-b92492331029b38f85ccd5b71a86da4907644b8e.zip |
Merge pull request #917 from YosysHQ/eddie/fix_retime
Retime by default when abc -dff
Diffstat (limited to 'tests')
-rw-r--r-- | tests/simple/retime.v | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/simple/retime.v b/tests/simple/retime.v new file mode 100644 index 000000000..30b6087dc --- /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 |