mirror of
https://github.com/YosysHQ/yosys
synced 2026-06-27 02:58:48 +00:00
Use read_techlib where applicable
This commit is contained in:
parent
cf316ad85e
commit
0dfbd13fe7
38 changed files with 64 additions and 64 deletions
|
|
@ -24,7 +24,7 @@ yosys_pass(synth_gowin
|
|||
opt_lut_ins
|
||||
peepopt
|
||||
proc
|
||||
read_verilog
|
||||
read_techlib
|
||||
setundef
|
||||
share
|
||||
simplemap
|
||||
|
|
|
|||
|
|
@ -257,8 +257,8 @@ struct SynthGowinPass : public ScriptPass
|
|||
|
||||
if (check_label("begin"))
|
||||
{
|
||||
run("read_verilog -specify -lib +/gowin/cells_sim.v");
|
||||
run(stringf("read_verilog -specify -lib +/gowin/cells_xtra_%s.v", help_mode ? "<family>" : family));
|
||||
run("read_techlib -specify -lib +/gowin/cells_sim.v");
|
||||
run(stringf("read_techlib -specify -lib +/gowin/cells_xtra_%s.v", help_mode ? "<family>" : family));
|
||||
run(stringf("hierarchy -check %s", help_mode ? "-top <top>" : top_opt));
|
||||
}
|
||||
|
||||
|
|
@ -362,12 +362,12 @@ struct SynthGowinPass : public ScriptPass
|
|||
{
|
||||
run("sort");
|
||||
if (nowidelut && abc9) {
|
||||
run("read_verilog -icells -lib -specify +/abc9_model.v");
|
||||
run("read_techlib -icells -lib -specify +/abc9_model.v");
|
||||
run("abc9 -maxlut 4 -W 500");
|
||||
} else if (nowidelut && !abc9) {
|
||||
run("abc -lut 4");
|
||||
} else if (!nowidelut && abc9) {
|
||||
run("read_verilog -icells -lib -specify +/abc9_model.v");
|
||||
run("read_techlib -icells -lib -specify +/abc9_model.v");
|
||||
run("abc9 -maxlut 8 -W 500");
|
||||
} else if (!nowidelut && !abc9) {
|
||||
run("abc -lut 4:8");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue