mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 00:55:32 +00:00
Merge pull request #1572 from nakengelhardt/scratchpad_pass
add a command to read/modify scratchpad contents
This commit is contained in:
commit
b2a42e1fac
3 changed files with 136 additions and 0 deletions
5
tests/various/scratchpad.ys
Normal file
5
tests/various/scratchpad.ys
Normal file
|
@ -0,0 +1,5 @@
|
|||
scratchpad -set foo "bar baz"
|
||||
scratchpad -copy foo oof
|
||||
scratchpad -unset foo
|
||||
scratchpad -assert oof "bar baz"
|
||||
scratchpad -assert-unset foo
|
Loading…
Add table
Add a link
Reference in a new issue