mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-11 00:13:33 +00:00
add testcase with escaped identifier using all allowed non-alphanumerical characters
This commit is contained in:
parent
41cd8e5b5e
commit
8b73075e28
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…
Reference in a new issue