mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: Rename Ast on non-node classes (#3262). No functional change.
This commit has the following replacements applied:
s/\bAstUserInUseBase\b/VNUserInUseBase/g;
s/\bAstAttrType\b/VAttrType/g;
s/\bAstBasicDTypeKwd\b/VBasicDTypeKwd/g;
s/\bAstDisplayType\b/VDisplayType/g;
s/\bAstNDeleter\b/VNDeleter/g;
s/\bAstNRelinker\b/VNRelinker/g;
s/\bAstNVisitor\b/VNVisitor/g;
s/\bAstPragmaType\b/VPragmaType/g;
s/\bAstType\b/VNType/g;
s/\bAstUser1InUse\b/VNUser1InUse/g;
s/\bAstUser2InUse\b/VNUser2InUse/g;
s/\bAstUser3InUse\b/VNUser3InUse/g;
s/\bAstUser4InUse\b/VNUser4InUse/g;
s/\bAstUser5InUse\b/VNUser5InUse/g;
s/\bAstVarType\b/VVarType/g;
This commit is contained in:
+6
-6
@@ -52,7 +52,7 @@
|
||||
//######################################################################
|
||||
// Force shared state
|
||||
|
||||
class ForceBaseVisitor VL_NOT_FINAL : public AstNVisitor {
|
||||
class ForceBaseVisitor VL_NOT_FINAL : public VNVisitor {
|
||||
// TYPES
|
||||
public:
|
||||
// Enum value must correspond to which user#p is used
|
||||
@@ -99,7 +99,7 @@ public:
|
||||
<< nodep->warnMore()
|
||||
<< "... Suggest assign it to/from a temporary net and force/release that");
|
||||
}
|
||||
auto* const newp = new AstVar{nodep->fileline(), AstVarType::MODULETEMP,
|
||||
auto* const newp = new AstVar{nodep->fileline(), VVarType::MODULETEMP,
|
||||
nodep->name() + fvarName(fvar), nodep};
|
||||
newp->user1(true);
|
||||
UINFO(9, "getForceVar for " << nodep << endl);
|
||||
@@ -189,10 +189,10 @@ class ForceVisitor final : public ForceBaseVisitor {
|
||||
private:
|
||||
// NODE STATE
|
||||
// See ForceBaseVisitor
|
||||
const AstUser1InUse m_inuser1;
|
||||
const AstUser2InUse m_inuser2;
|
||||
const AstUser3InUse m_inuser3;
|
||||
const AstUser4InUse m_inuser4;
|
||||
const VNUser1InUse m_inuser1;
|
||||
const VNUser2InUse m_inuser2;
|
||||
const VNUser3InUse m_inuser3;
|
||||
const VNUser4InUse m_inuser4;
|
||||
|
||||
// STATE
|
||||
bool m_anyForce = false; // Any force, need reconciliation step
|
||||
|
||||
Reference in New Issue
Block a user