mirror of
https://github.com/verilator/verilator.git
synced 2026-09-01 10:27:04 +02:00
Internals: Use Var flag instead of magic names. No functional change intended.
This commit is contained in:
+1
-1
@@ -100,7 +100,7 @@ class ClockVisitor final : public VNVisitor {
|
||||
void visit(AstVarScope* nodep) override {
|
||||
AstVar* const varp = nodep->varp();
|
||||
if (!varp->valuep()) return;
|
||||
if (!VString::startsWith(varp->name(), "__Vsampled")) return;
|
||||
if (!varp->sampled()) return;
|
||||
|
||||
// Create the containing function on first encounter
|
||||
if (!m_sampleCFuncp) {
|
||||
|
||||
Reference in New Issue
Block a user