mirror of
https://github.com/verilator/verilator.git
synced 2026-09-08 10:33:20 +02:00
Fix loss of clock attribute in Dfg variable removal (#6453)
This commit is contained in:
@@ -255,7 +255,7 @@ class DataflowOptimize final {
|
||||
|
||||
static void markExternallyReferencedVariables(AstNetlist* netlistp, bool scoped) {
|
||||
netlistp->foreach([scoped](AstNode* nodep) {
|
||||
// Check variabel flags
|
||||
// Check variable flags
|
||||
if (scoped) {
|
||||
if (AstVarScope* const vscp = VN_CAST(nodep, VarScope)) {
|
||||
const AstVar* const varp = vscp->varp();
|
||||
|
||||
Reference in New Issue
Block a user