mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-01 20:17:55 +00:00
design: add test
This commit is contained in:
parent
dac5adde12
commit
9eace8f360
2 changed files with 22 additions and 5 deletions
9
tests/various/design1.ys
Normal file
9
tests/various/design1.ys
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
read_verilog <<EOT
|
||||
module top(input i, output o);
|
||||
assign o = i;
|
||||
endmodule
|
||||
EOT
|
||||
design -stash foo
|
||||
design -delete foo
|
||||
logger -expect error "No saved design 'foo' found!" 1
|
||||
design -delete foo
|
||||
Loading…
Add table
Add a link
Reference in a new issue