Fix loss of clock attribute in Dfg variable removal (#6453)

This commit is contained in:
Bartłomiej Chmiel
2025-09-19 14:44:34 +01:00
committed by GitHub
parent 08be65a7dd
commit bbcb9315f3
4 changed files with 71 additions and 3 deletions
+1 -1
View File
@@ -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();