mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 00:55:32 +00:00
Missing 'accept' at end of ice40_wrapcarry, spotted by @cliffordwolf
This commit is contained in:
parent
b47bb5c810
commit
5c68da4150
2 changed files with 26 additions and 0 deletions
22
tests/ice40/wrapcarry.ys
Normal file
22
tests/ice40/wrapcarry.ys
Normal file
|
@ -0,0 +1,22 @@
|
|||
read_verilog <<EOT
|
||||
module top(input A, B, CI, output O, CO);
|
||||
SB_CARRY carry (
|
||||
.I0(A),
|
||||
.I1(B),
|
||||
.CI(CI),
|
||||
.CO(CO)
|
||||
);
|
||||
SB_LUT4 #(
|
||||
.LUT_INIT(16'b 0110_1001_1001_0110)
|
||||
) adder (
|
||||
.I0(1'b0),
|
||||
.I1(A),
|
||||
.I2(B),
|
||||
.I3(1'b0),
|
||||
.O(O)
|
||||
);
|
||||
endmodule
|
||||
EOT
|
||||
|
||||
ice40_wrapcarry
|
||||
select -assert-count 1 t:$__ICE40_CARRY_WRAPPER
|
Loading…
Add table
Add a link
Reference in a new issue