Change attribute search value to specify precise location instead of simple line...
authorAlberto Gonzalez <boqwxp@airmail.cc>
Mon, 24 Feb 2020 02:41:08 +0000 (02:41 +0000)
committerAlberto Gonzalez <boqwxp@airmail.cc>
Mon, 24 Feb 2020 02:41:08 +0000 (02:41 +0000)
tests/arch/ice40/ice40_wrapcarry.ys

index fb9fccc3addc9766b481300b186eff5bd885fd02..74319c480cdf26162dd60ced8b18640907736526 100644 (file)
@@ -50,5 +50,5 @@ select -assert-count 0 t:* t:$__ICE40_CARRY_WRAPPER %d
 select -assert-count 1 a:keep=1 a:SB_CARRY.\foo=bar %i a:SB_CARRY.\answer=42 %i a:SB_LUT4.\blah=blah %i a:SB_LUT4.\answer=43 %i
 
 ice40_wrapcarry -unwrap
-select -assert-count 1 c:carry a:src=<<EOT:3 %i a:keep=0 %i a:foo=bar %i a:answer=42 %i
-select -assert-count 1 c:adder a:src=<<EOT:10 %i a:keep=1 %i a:blah=blah %i a:answer=43 %i
+select -assert-count 1 c:carry a:src=<<EOT:3.11-8.3 %i a:keep=0 %i a:foo=bar %i a:answer=42 %i
+select -assert-count 1 c:adder a:src=<<EOT:12.4-18.3 %i a:keep=1 %i a:blah=blah %i a:answer=43 %i