mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-23 06:13:41 +00:00
Smallfixes
This commit is contained in:
parent
08ff023510
commit
bbbc292209
2 changed files with 5 additions and 4 deletions
|
@ -3010,6 +3010,7 @@ std::string verific_import(Design *design, const std::map<std::string,std::strin
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef VERIFIC_UPF_SUPPORT
|
#ifdef VERIFIC_UPF_SUPPORT
|
||||||
|
if (upf_file::GetActiveScope())
|
||||||
upf_file::Elaborate(top.c_str());
|
upf_file::Elaborate(top.c_str());
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -3535,9 +3536,9 @@ struct VerificPass : public Pass {
|
||||||
RuntimeFlags::SetVar("vhdl_preserve_drivers", 1);
|
RuntimeFlags::SetVar("vhdl_preserve_drivers", 1);
|
||||||
#endif
|
#endif
|
||||||
#ifdef VERIFIC_SYSTEMVERILOG_SUPPORT
|
#ifdef VERIFIC_SYSTEMVERILOG_SUPPORT
|
||||||
// RuntimeFlags::SetVar("veri_preserve_assignments", 1); // SILIMATE: disable to improve optimization
|
RuntimeFlags::SetVar("veri_preserve_assignments", 1);
|
||||||
RuntimeFlags::SetVar("veri_preserve_comments", 1);
|
RuntimeFlags::SetVar("veri_preserve_comments", 1);
|
||||||
// RuntimeFlags::SetVar("veri_preserve_drivers", 1); // SILIMATE: disable to improve optimization
|
RuntimeFlags::SetVar("veri_preserve_drivers", 1);
|
||||||
|
|
||||||
// Workaround for VIPER #13851
|
// Workaround for VIPER #13851
|
||||||
RuntimeFlags::SetVar("veri_create_name_for_unnamed_gen_block", 1);
|
RuntimeFlags::SetVar("veri_create_name_for_unnamed_gen_block", 1);
|
||||||
|
|
|
@ -263,7 +263,7 @@ FfData::FfData(FfInitVals *initvals, Cell *cell_) : FfData(cell_->module, initva
|
||||||
}
|
}
|
||||||
|
|
||||||
FfData FfData::slice(const std::vector<int> &bits) {
|
FfData FfData::slice(const std::vector<int> &bits) {
|
||||||
FfData res(module, initvals, NEW_ID2_SUFFIX("slice")); // SILIMATE: Improve the naming
|
FfData res(module, initvals, NEW_ID2); // SILIMATE: Improve the naming
|
||||||
res.sig_clk = sig_clk;
|
res.sig_clk = sig_clk;
|
||||||
res.sig_ce = sig_ce;
|
res.sig_ce = sig_ce;
|
||||||
res.sig_aload = sig_aload;
|
res.sig_aload = sig_aload;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue