Skip to content

Commit 6852e31

Browse files
committed
Specification rule for User-defined FSM variables is updated.
1 parent 79f2b56 commit 6852e31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyverilog/controlflow/controlflow_analyzer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def getFuncdict(self, termname, delaycnt=0):
9696

9797
def isFsmVar(self, termname):
9898
for v in self.fsm_vars:
99-
if re.search(v, str(termname).lower()): return True
99+
if re.search(v.lower(), str(termname).lower()): return True
100100
return False
101101

102102
def getWidth(self, termname):

0 commit comments

Comments
 (0)