mirror of
https://github.com/YosysHQ/sby.git
synced 2025-08-25 06:06:02 +00:00
add testcase with escaped identifier using all allowed non-alphanumerical characters
This commit is contained in:
parent
41cd8e5b5e
commit
8b73075e28
1 changed files with 25 additions and 0 deletions
25
tests/escapechars.sby
Normal file
25
tests/escapechars.sby
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
[options]
|
||||||
|
mode bmc
|
||||||
|
depth 1
|
||||||
|
expect fail
|
||||||
|
wait on
|
||||||
|
|
||||||
|
[engines]
|
||||||
|
smtbmc yices
|
||||||
|
smtbmc boolector
|
||||||
|
btor btormc
|
||||||
|
abc bmc3
|
||||||
|
|
||||||
|
|
||||||
|
[script]
|
||||||
|
read -sv escapechars.v
|
||||||
|
prep -top test
|
||||||
|
|
||||||
|
[file escapechars.v]
|
||||||
|
module test(
|
||||||
|
input \foo!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~bar
|
||||||
|
);
|
||||||
|
always @* begin
|
||||||
|
assert (\foo!"#$%&'()*+,-./:;<=>?@[\]^_`{|}~bar );
|
||||||
|
end
|
||||||
|
endmodule
|
Loading…
Add table
Add a link
Reference in a new issue