mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-23 23:52:32 +00:00
twine: fix replayability, reduce TwineSearch usage
This commit is contained in:
parent
e9eb3889b7
commit
7c73fd62e4
41 changed files with 273 additions and 272 deletions
|
|
@ -138,8 +138,6 @@ struct JsonWriter
|
|||
void write_parameters(const dict<IdString, Const> ¶meters, bool for_module=false, const RTLIL::AttrObject *src_obj=nullptr)
|
||||
{
|
||||
bool first = true;
|
||||
// Emit the typed src field first if present — it lives outside the
|
||||
// attribute dict after the typed-src migration.
|
||||
if (src_obj && design && design->obj_src_id(src_obj) != Twine::Null) {
|
||||
f << stringf("\n %s%s: ", for_module ? "" : " ", get_name(RTLIL::ID::src));
|
||||
write_parameter_value(RTLIL::Const(design->get_src_attribute(src_obj)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue