Add some missing VNUserInUse (#4949)

This commit is contained in:
Geza Lore 2024-03-07 20:26:58 +00:00 committed by GitHub
parent 32f288084a
commit 26dd5d4550
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 12 additions and 4 deletions

View File

@ -66,6 +66,9 @@ public:
// Clock state, as a visitor of each AstNode
class ClockVisitor final : public VNVisitor {
// NODE STATE
// ???
const VNUser1InUse m_user1InUse;
// STATE
AstCFunc* m_evalp = nullptr; // The '_eval' function
AstScope* m_scopep = nullptr; // Current scope

View File

@ -32,6 +32,7 @@ class EmitXmlFileVisitor final : public VNVisitorConst {
// NODE STATE
// Entire netlist:
// AstNode::user1 -> uint64_t, number to connect crossrefs
const VNUser1InUse m_user1InUse;
// MEMBERS
V3OutFile* const m_ofp;

View File

@ -129,6 +129,7 @@ class LifePostDlyVisitor final : public VNVisitor {
// NODE STATE
// AstVarScope::user1() -> bool: referenced outside _eval__nba
// AstVarScope::user4() -> AstVarScope*: Passed to LifePostElim to substitute this var
const VNUser1InUse m_inuser1;
const VNUser4InUse m_inuser4;
// STATE

View File

@ -532,6 +532,7 @@ class ProcessMoveBuildGraph final {
// NODE STATE
// AstSenTree::user1p() -> AstSenTree: Original AstSenTree for trigger
const VNUser1InUse m_user1InUse;
// TYPES
using DomainMap = std::map<const AstSenTree*, T_MoveVertex*>;
@ -1285,10 +1286,12 @@ void OrderProcess::processMTasks() {
// only logic, and discarding edges we know we can ignore.
// This is quite similar to the 'm_pomGraph' of the serial code gen:
V3Graph logicGraph;
OrderMTaskMoveVertexMaker create_mtask_vertex(&logicGraph);
ProcessMoveBuildGraph<MTaskMoveVertex> mtask_pmbg(&m_graph, &logicGraph, m_trigToSen,
&create_mtask_vertex);
mtask_pmbg.build();
{
OrderMTaskMoveVertexMaker create_mtask_vertex(&logicGraph);
ProcessMoveBuildGraph<MTaskMoveVertex> mtask_pmbg(&m_graph, &logicGraph, m_trigToSen,
&create_mtask_vertex);
mtask_pmbg.build();
}
// Needed? We do this for m_pomGraph in serial mode, so do it here too:
logicGraph.removeRedundantEdgesMax(&V3GraphEdge::followAlwaysTrue);