diff options
author | Clifford Wolf <clifford@clifford.at> | 2019-10-06 12:11:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-06 12:11:20 +0200 |
commit | 4072a9666339c76fbef19eac307486d48ed0ae28 (patch) | |
tree | b656a23acf86968f00584089ca2ab61a92594a19 /tests/ice40 | |
parent | 10d0bad67e91c45813a1185753fa4dcbcc2c86d8 (diff) | |
parent | 5c68da4150f8e5367138f2c7187f707b20cc19db (diff) | |
download | yosys-4072a9666339c76fbef19eac307486d48ed0ae28.tar.gz yosys-4072a9666339c76fbef19eac307486d48ed0ae28.tar.bz2 yosys-4072a9666339c76fbef19eac307486d48ed0ae28.zip |
Merge pull request #1439 from YosysHQ/eddie/fix_ice40_wrapcarry
Missing 'accept' at end of ice40_wrapcarry, spotted by @cliffordwolf
Diffstat (limited to 'tests/ice40')
-rw-r--r-- | tests/ice40/wrapcarry.ys | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/ice40/wrapcarry.ys b/tests/ice40/wrapcarry.ys new file mode 100644 index 000000000..10c029e68 --- /dev/null +++ b/tests/ice40/wrapcarry.ys @@ -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 |