mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-23 22:33:41 +00:00
Progress in FIRRTL back-end
This commit is contained in:
parent
57966a619f
commit
c051115e03
4 changed files with 55 additions and 5 deletions
21
backends/firrtl/test.sh
Normal file
21
backends/firrtl/test.sh
Normal file
|
@ -0,0 +1,21 @@
|
|||
#!/bin/bash
|
||||
set -ex
|
||||
|
||||
../../yosys -p 'prep; write_firrtl test.fir' test.v
|
||||
|
||||
firrtl -i test.fir -o test_out.v
|
||||
|
||||
../../yosys -p '
|
||||
read_verilog test.v
|
||||
rename test gold
|
||||
|
||||
read_verilog test_out.v
|
||||
rename test gate
|
||||
|
||||
prep
|
||||
miter -equiv -flatten gold gate miter
|
||||
hierarchy -top miter
|
||||
|
||||
sat -verify -prove trigger 0 -set-init-zero -seq 10 miter
|
||||
'
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue