mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 17:15:33 +00:00
quicklogic: Move pp3 tests one level down
This commit is contained in:
parent
f84ab98055
commit
74296e3d92
11 changed files with 11 additions and 11 deletions
|
@ -1,4 +1,4 @@
|
|||
read_verilog ../common/add_sub.v
|
||||
read_verilog ../../common/add_sub.v
|
||||
hierarchy -top top
|
||||
equiv_opt -assert -map +/quicklogic/pp3/cells_sim.v synth_quicklogic -family pp3 # equivalency check
|
||||
design -load postopt # load the post-opt design (otherwise equiv_opt loads the pre-opt design)
|
|
@ -1,4 +1,4 @@
|
|||
read_verilog ../common/adffs.v
|
||||
read_verilog ../../common/adffs.v
|
||||
design -save read
|
||||
|
||||
hierarchy -top adff
|
|
@ -1,4 +1,4 @@
|
|||
read_verilog ../common/counter.v
|
||||
read_verilog ../../common/counter.v
|
||||
hierarchy -top top
|
||||
proc
|
||||
flatten
|
|
@ -1,4 +1,4 @@
|
|||
read_verilog ../common/dffs.v
|
||||
read_verilog ../../common/dffs.v
|
||||
rename dff my_dff # Work around conflicting module names between test and vendor cells
|
||||
rename dffe my_dffe
|
||||
design -save read
|
|
@ -1,4 +1,4 @@
|
|||
read_verilog ../common/fsm.v
|
||||
read_verilog ../../common/fsm.v
|
||||
hierarchy -top fsm
|
||||
proc
|
||||
flatten
|
|
@ -1,4 +1,4 @@
|
|||
read_verilog ../common/latches.v
|
||||
read_verilog ../../common/latches.v
|
||||
design -save read
|
||||
|
||||
hierarchy -top latchp
|
|
@ -1,4 +1,4 @@
|
|||
read_verilog ../common/logic.v
|
||||
read_verilog ../../common/logic.v
|
||||
hierarchy -top top
|
||||
proc
|
||||
equiv_opt -assert -map +/quicklogic/pp3/cells_sim.v -map +/quicklogic/common/cells_sim.v synth_quicklogic # equivalency check
|
|
@ -1,4 +1,4 @@
|
|||
read_verilog ../common/mux.v
|
||||
read_verilog ../../common/mux.v
|
||||
design -save read
|
||||
|
||||
hierarchy -top mux2
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
set -eu
|
||||
source ../../gen-tests-makefile.sh
|
||||
source ../../../gen-tests-makefile.sh
|
||||
run_tests --yosys-scripts --bash --yosys-args "-w 'Yosys has only limited support for tri-state logic at the moment.'"
|
|
@ -1,4 +1,4 @@
|
|||
read_verilog ../common/tribuf.v
|
||||
read_verilog ../../common/tribuf.v
|
||||
hierarchy -top tristate
|
||||
proc
|
||||
tribuf
|
Loading…
Add table
Add a link
Reference in a new issue