mirror of
https://github.com/YosysHQ/yosys
synced 2026-06-25 18:20:37 +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
|
|
@ -27,7 +27,7 @@ yosys_pass(synth_analogdevices
|
|||
peepopt
|
||||
pmux2shiftx
|
||||
proc
|
||||
read_verilog
|
||||
read_techlib
|
||||
select
|
||||
setattr
|
||||
share
|
||||
|
|
|
|||
|
|
@ -271,7 +271,7 @@ struct SynthAnalogDevicesPass : public ScriptPass
|
|||
void script() override
|
||||
{
|
||||
if (check_label("begin")) {
|
||||
run(stringf("read_verilog -lib -specify %s +/analogdevices/cells_sim.v", tech_param));
|
||||
run(stringf("read_techlib -lib -specify %s +/analogdevices/cells_sim.v", tech_param));
|
||||
run(stringf("hierarchy -check %s", top_opt.c_str()));
|
||||
}
|
||||
|
||||
|
|
@ -456,7 +456,7 @@ struct SynthAnalogDevicesPass : public ScriptPass
|
|||
if (help_mode)
|
||||
run("abc -luts 2:2,3,6:5[,10,20] [-dff] [-D 1]", "(option for '-nowidelut', '-dff', '-retime')");
|
||||
else if (abc9) {
|
||||
run("read_verilog -icells -lib -specify +/analogdevices/abc9_model.v");
|
||||
run("read_techlib -icells -lib -specify +/analogdevices/abc9_model.v");
|
||||
std::string abc9_opts;
|
||||
std::string k = "synth_analogdevices.abc9.W";
|
||||
if (active_design && active_design->scratchpad.count(k))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue