Updating qlf_yosys.tcl file with correct condition to pick .so
This commit is contained in:
parent
d6d3b7e6a2
commit
3e5ebc3dc3
|
@ -1,8 +1,10 @@
|
||||||
# Yosys synthesis script for ${TOP_MODULE}
|
# Yosys synthesis script for ${TOP_MODULE}
|
||||||
yosys -import
|
yosys -import
|
||||||
|
if { [info exists ::env(YOSYS)] } {
|
||||||
if { [info procs ql-qlf] == {} } { plugin -i ql-qlf }
|
set yosys_dir [file dirname $env(YOSYS)]
|
||||||
yosys -import ;# ingest plugin commands
|
if { [file exists $yosys_dir/../share/yosys/plugins/ql-qlf.so] == 1 } { plugin -i ql-qlf }
|
||||||
|
yosys -import ;# ingest plugin commands
|
||||||
|
}
|
||||||
|
|
||||||
# Read verilog files
|
# Read verilog files
|
||||||
${READ_VERILOG_FILE}
|
${READ_VERILOG_FILE}
|
||||||
|
|
Loading…
Reference in New Issue