aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2019-12-06 17:27:47 -0800
committerEddie Hung <eddie@fpgeh.com>2019-12-06 17:27:47 -0800
commit946d5854c0b2e63a3757a0fbdf41276255967bc8 (patch)
tree3c0edca8928e11f68724e14d2128421fe8923f60 /tests
parenta7e0cca48003dbb212326c37c0b8a5580c2e6d2c (diff)
downloadyosys-946d5854c0b2e63a3757a0fbdf41276255967bc8.tar.gz
yosys-946d5854c0b2e63a3757a0fbdf41276255967bc8.tar.bz2
yosys-946d5854c0b2e63a3757a0fbdf41276255967bc8.zip
Drop keep=0 attributes on SB_CARRY
Diffstat (limited to 'tests')
-rw-r--r--tests/arch/ice40/wrapcarry.ys4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/arch/ice40/wrapcarry.ys b/tests/arch/ice40/wrapcarry.ys
index a4b0d357a..579335b27 100644
--- a/tests/arch/ice40/wrapcarry.ys
+++ b/tests/arch/ice40/wrapcarry.ys
@@ -24,7 +24,7 @@ select -assert-count 1 t:$__ICE40_CARRY_WRAPPER
design -reset
read_verilog <<EOT
module top(input A, B, CI, output O, CO);
- (* foo = "bar", answer = 42 *)
+ (* foo = "bar", answer = 42, keep=0 *)
SB_CARRY carry (
.I0(A),
.I1(B),
@@ -47,6 +47,6 @@ EOT
ice40_wrapcarry
select -assert-count 1 t:$__ICE40_CARRY_WRAPPER
select -assert-count 0 t:* t:$__ICE40_CARRY_WRAPPER %d
-select -assert-count 1 a:foo=bar a:answer=42 %i a:keep %i a:blah=blah %i
+select -assert-count 1 a:foo=bar a:answer=42 %i a:keep=1 %i a:blah=blah %i
techmap -map +/ice40/cells_map.v
#TODO: Check unwrapped attributes