mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-10 21:20:53 +00:00
experimental src decomposition, broken RTLIL dump
This commit is contained in:
parent
74a1dd99ac
commit
120fedbf68
9 changed files with 37 additions and 25 deletions
|
@ -175,7 +175,7 @@ struct AssertpmuxWorker
|
|||
Cell *assert_cell = module->addAssert(NEW_ID, assert_a, assert_en);
|
||||
|
||||
if (pmux->attributes.count(ID::src) != 0)
|
||||
assert_cell->attributes[ID::src] = pmux->attributes.at(ID::src);
|
||||
assert_cell->set_src_attribute(pmux->get_src_attribute());
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -685,7 +685,7 @@ struct SatHelper
|
|||
std::string module_fname = "unknown";
|
||||
auto apos = module->attributes.find(ID::src);
|
||||
if(apos != module->attributes.end())
|
||||
module_fname = module->attributes[ID::src].decode_string();
|
||||
module_fname = module->get_src_attribute();
|
||||
|
||||
fprintf(f, "$date\n");
|
||||
fprintf(f, " %s\n", stime);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue