mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-27 21:48:58 +00:00
Removed RTLIL::SigSpec::optimize()
This commit is contained in:
parent
8fd8e4a468
commit
c094c53de8
24 changed files with 15 additions and 181 deletions
|
@ -139,9 +139,6 @@ static void handle_memory(RTLIL::Module *module, RTLIL::Memory *memory)
|
|||
mem->parameters["\\SIZE"] = RTLIL::Const(memory->size);
|
||||
mem->parameters["\\ABITS"] = RTLIL::Const(addr_bits);
|
||||
|
||||
sig_wr_clk_enable.optimize();
|
||||
sig_wr_clk_polarity.optimize();
|
||||
|
||||
assert(sig_wr_clk.size() == wr_ports);
|
||||
assert(sig_wr_clk_enable.size() == wr_ports && sig_wr_clk_enable.is_fully_const());
|
||||
assert(sig_wr_clk_polarity.size() == wr_ports && sig_wr_clk_polarity.is_fully_const());
|
||||
|
@ -158,10 +155,6 @@ static void handle_memory(RTLIL::Module *module, RTLIL::Memory *memory)
|
|||
mem->connections["\\WR_DATA"] = sig_wr_data;
|
||||
mem->connections["\\WR_EN"] = sig_wr_en;
|
||||
|
||||
sig_rd_clk_enable.optimize();
|
||||
sig_rd_clk_polarity.optimize();
|
||||
sig_rd_transparent.optimize();
|
||||
|
||||
assert(sig_rd_clk.size() == rd_ports);
|
||||
assert(sig_rd_clk_enable.size() == rd_ports && sig_rd_clk_enable.is_fully_const());
|
||||
assert(sig_rd_clk_polarity.size() == rd_ports && sig_rd_clk_polarity.is_fully_const());
|
||||
|
|
|
@ -69,7 +69,6 @@ static bool find_sig_before_dff(RTLIL::Module *module, RTLIL::SigSpec &sig, RTLI
|
|||
replaced_this_bit:;
|
||||
}
|
||||
|
||||
sig.optimize();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
@ -439,8 +439,6 @@ struct MemoryShareWorker
|
|||
merged_en.replace(k, cell_en.extract(k, 1));
|
||||
merged_data.replace(k, cell_data.extract(k, 1));
|
||||
}
|
||||
merged_en.optimize();
|
||||
merged_data.optimize();
|
||||
}
|
||||
|
||||
// Connect the new EN and DATA signals and remove the old write port.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue