aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists-builders.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-03-23 06:57:58 +0100
committerTristan Gingold <tgingold@free.fr>2020-03-23 06:57:58 +0100
commitcb648989d0a900dd639cd93bc338d4165441ff2b (patch)
treefbb77cb29d0fe83efe39516e4cf552fba7d9f412 /src/synth/netlists-builders.adb
parent406323c01cd9263016a118106ea5a7c8e9cbe8ae (diff)
downloadghdl-cb648989d0a900dd639cd93bc338d4165441ff2b.tar.gz
ghdl-cb648989d0a900dd639cd93bc338d4165441ff2b.tar.bz2
ghdl-cb648989d0a900dd639cd93bc338d4165441ff2b.zip
netlists-builders: allow more null nets. Fix #1169
Diffstat (limited to 'src/synth/netlists-builders.adb')
-rw-r--r--src/synth/netlists-builders.adb3
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