mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
In warnings, rename cells to instances to match IEEE
This commit is contained in:
+1
-1
@@ -123,7 +123,7 @@ private:
|
||||
hierUnprot = v3Global.opt.modPrefix() + "_"; // Prefix before protected part
|
||||
return scopep->modp()->name() + "::";
|
||||
} else if (relativeRefOk && scopep->aboveScopep() && scopep->aboveScopep() == m_scopep) {
|
||||
// Reference to scope of cell directly under this module, can just "cell->"
|
||||
// Reference to scope of instance directly under this module, can just "cell->"
|
||||
string name = scopep->name();
|
||||
string::size_type pos;
|
||||
if ((pos = name.rfind('.')) != string::npos) name.erase(0, pos + 1);
|
||||
|
||||
Reference in New Issue
Block a user