From: Eddie Hung Date: Fri, 5 Apr 2019 23:28:46 +0000 (-0700) Subject: Add retime test X-Git-Tag: yosys-0.9~195^2~8 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ad602438b8313c3dd243c5fabf6f20036487d1ba;p=yosys.git Add retime test --- 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