mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-27 19:05:52 +00:00
Revert "Wrap SB_LUT+SB_CARRY into $__ICE40_CARRY_WRAPPER"
This commit is contained in:
parent
f54bf1631f
commit
f9020ce2b3
20 changed files with 181 additions and 181 deletions
12
tests/opt/opt_ff_sat.v
Normal file
12
tests/opt/opt_ff_sat.v
Normal file
|
@ -0,0 +1,12 @@
|
|||
module top (
|
||||
input clk,
|
||||
output reg [7:0] cnt
|
||||
);
|
||||
initial cnt = 0;
|
||||
always @(posedge clk) begin
|
||||
if (cnt < 20)
|
||||
cnt <= cnt + 1;
|
||||
else
|
||||
cnt <= 0;
|
||||
end
|
||||
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue