mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-07 03:31:24 +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
|
@ -409,7 +409,8 @@ void VerificImporter::import_attributes(dict<RTLIL::IdString, RTLIL::Const> &att
|
|||
Att *attr;
|
||||
|
||||
if (obj->Linefile())
|
||||
attributes[ID::src] = stringf("%s:%d.%d-%d.%d", LineFile::GetFileName(obj->Linefile()), obj->Linefile()->GetLeftLine(), obj->Linefile()->GetLeftCol(), obj->Linefile()->GetRightLine(), obj->Linefile()->GetRightCol());
|
||||
attributes[ID::src] = LineFile::GetFileName(obj->Linefile());
|
||||
attributes[ID::src_post] = stringf("%d.%d-%d.%d", obj->Linefile()->GetLeftLine(), obj->Linefile()->GetLeftCol(), obj->Linefile()->GetRightLine(), obj->Linefile()->GetRightCol());
|
||||
|
||||
FOREACH_ATTRIBUTE(obj, mi, attr) {
|
||||
if (attr->Key()[0] == ' ' || attr->Value() == nullptr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue