aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlberto Gonzalez <boqwxp@airmail.cc>2020-02-24 01:39:36 +0000
committerAlberto Gonzalez <boqwxp@airmail.cc>2020-02-24 01:39:36 +0000
commit2c2f092c90a99c89bf5d851430f8310098e7d0b3 (patch)
tree3df45a17908a87971ac549d74d341abec59a66be /tests
parentf0afd65035fefebdea8edbd00c916c5f33e8a634 (diff)
downloadyosys-2c2f092c90a99c89bf5d851430f8310098e7d0b3.tar.gz
yosys-2c2f092c90a99c89bf5d851430f8310098e7d0b3.tar.bz2
yosys-2c2f092c90a99c89bf5d851430f8310098e7d0b3.zip
Change attribute search value to specify precise location instead of simple line number.
Diffstat (limited to 'tests')
-rw-r--r--tests/various/mem2reg.ys4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/various/mem2reg.ys b/tests/various/mem2reg.ys
index 85d6267c5..ba94787bc 100644
--- a/tests/various/mem2reg.ys
+++ b/tests/various/mem2reg.ys
@@ -9,6 +9,6 @@ EOT
proc
cd top
-select -assert-count 1 m:data1 a:src=<<EOT:4 %i
-select -assert-count 2 w:data2[*] a:src=<<EOT:5 %i
+select -assert-count 1 m:data1 a:src=<<EOT:4.43-4.48 %i
+select -assert-count 2 w:data2[*] a:src=<<EOT:5.41-5.46 %i
select -assert-none a:mem2reg