diff options
Diffstat (limited to 'src/synth/synth-values.adb')
-rw-r--r-- | src/synth/synth-values.adb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/synth/synth-values.adb b/src/synth/synth-values.adb index cf6c7aa3b..6f89876b6 100644 --- a/src/synth/synth-values.adb +++ b/src/synth/synth-values.adb @@ -52,7 +52,12 @@ package body Synth.Values is when Value_Net => return False; when Value_Wire => - return Is_Static_Wire (Val.W); + if Get_Kind (Val.W) = Wire_Variable then + return Is_Static_Wire (Val.W); + else + -- A signal does not have static values. + return False; + end if; when Value_File => return True; when Value_Const => |