diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-03-13 05:32:56 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-03-13 06:30:33 +0100 |
commit | c138b798d1830e255b4d8a9b229fe620db363919 (patch) | |
tree | 1ad53a47e19b07d167314ac4d2f2f40b743af15c /src/synth/netlists-builders.adb | |
parent | 138516ead7cf495551b7056cc31cc06ed655be8e (diff) | |
download | ghdl-c138b798d1830e255b4d8a9b229fe620db363919.tar.gz ghdl-c138b798d1830e255b4d8a9b229fe620db363919.tar.bz2 ghdl-c138b798d1830e255b4d8a9b229fe620db363919.zip |
netlists: handle more case of 0 sized nets.
Diffstat (limited to 'src/synth/netlists-builders.adb')
-rw-r--r-- | src/synth/netlists-builders.adb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/synth/netlists-builders.adb b/src/synth/netlists-builders.adb index 99a7563fe..812679ef1 100644 --- a/src/synth/netlists-builders.adb +++ b/src/synth/netlists-builders.adb @@ -818,7 +818,6 @@ package body Netlists.Builders is function Build_Const_Z (Ctxt : Context_Acc; W : Width) return Net is - pragma Assert (W > 0); Inst : Instance; O : Net; begin @@ -1422,7 +1421,6 @@ package body Netlists.Builders is (Ctxt : Context_Acc; I : Net; Off, W : Width) return Net is Wd : constant Width := Get_Width (I); - pragma Assert (Wd /= No_Width); pragma Assert (W + Off <= Wd); Inst : Instance; O : Net; |