mirror of
https://github.com/verilator/verilator.git
synced 2026-10-05 17:43:31 +02:00
@@ -531,7 +531,14 @@ class AstToDfgSynthesize final {
|
||||
|
||||
// TYPES
|
||||
using Variable = std::conditional_t<T_Scoped, AstVarScope, AstVar>;
|
||||
using SymTab = std::unordered_map<Variable*, DfgVertexVar*>;
|
||||
|
||||
// SymTab must be ordered in order to yield stable results
|
||||
struct VariableComparator final {
|
||||
bool operator()(const Variable* lhs, const Variable* rhs) const {
|
||||
return lhs->name() < rhs->name();
|
||||
}
|
||||
};
|
||||
using SymTab = std::map<Variable*, DfgVertexVar*, VariableComparator>;
|
||||
|
||||
// Represents a [potentially partial] driver of a variable
|
||||
struct Driver final {
|
||||
|
||||
Reference in New Issue
Block a user