diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-03-23 06:57:58 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-03-23 06:57:58 +0100 |
commit | cb648989d0a900dd639cd93bc338d4165441ff2b (patch) | |
tree | fbb77cb29d0fe83efe39516e4cf552fba7d9f412 | |
parent | 406323c01cd9263016a118106ea5a7c8e9cbe8ae (diff) | |
download | ghdl-cb648989d0a900dd639cd93bc338d4165441ff2b.tar.gz ghdl-cb648989d0a900dd639cd93bc338d4165441ff2b.tar.bz2 ghdl-cb648989d0a900dd639cd93bc338d4165441ff2b.zip |
netlists-builders: allow more null nets. Fix #1169
-rw-r--r-- | src/synth/netlists-builders.adb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/synth/netlists-builders.adb b/src/synth/netlists-builders.adb index 98647c193..eb1b984bb 100644 --- a/src/synth/netlists-builders.adb +++ b/src/synth/netlists-builders.adb @@ -1072,7 +1072,6 @@ package body Netlists.Builders is return Net is Wd : constant Width := Get_Width (Mem); - pragma Assert (Wd /= No_Width); Inst : Instance; O : Net; begin @@ -1114,7 +1113,7 @@ package body Netlists.Builders is (Ctxt : Context_Acc; I : Net; Step : Uns32; Max : Uns32; W : Width) return Net is - pragma Assert (Step > 0); + -- Note: step could be 0. Inst : Instance; O : Net; begin |