summaryrefslogtreecommitdiff
path: root/translate/grt/grt-signals.adb
diff options
context:
space:
mode:
authorTristan Gingold2014-01-16 03:28:06 +0100
committerTristan Gingold2014-01-16 03:28:06 +0100
commit66da4588b0ba9e1d510bc11c648c990e54306deb (patch)
tree0233fc1df2ec0e63130f00257cfeec044a99a914 /translate/grt/grt-signals.adb
parent5c7e4f5598ff7e2e3be0c2de8d2e4d4414b87f63 (diff)
downloadghdl-66da4588b0ba9e1d510bc11c648c990e54306deb.tar.gz
ghdl-66da4588b0ba9e1d510bc11c648c990e54306deb.tar.bz2
ghdl-66da4588b0ba9e1d510bc11c648c990e54306deb.zip
Fix bug21487: call resolution function at init if there is at least 1 source.
Diffstat (limited to 'translate/grt/grt-signals.adb')
-rw-r--r--translate/grt/grt-signals.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/translate/grt/grt-signals.adb b/translate/grt/grt-signals.adb
index 1acd675..494104f 100644
--- a/translate/grt/grt-signals.adb
+++ b/translate/grt/grt-signals.adb
@@ -3257,7 +3257,7 @@ package body Grt.Signals is
when Net_One_Resolved =>
Sig.Has_Active := True;
- if Sig.Nbr_Ports > 0 then
+ if Sig.S.Nbr_Drivers + Sig.Nbr_Ports > 0 then
Compute_Resolved_Signal (Sig.S.Resolv);
Sig.Value := Sig.Driving_Value;
end if;