aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/netlists-utils.adb
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-05-09 08:44:08 +0200
committerTristan Gingold <tgingold@free.fr>2020-05-09 11:22:00 +0200
commitb13b9e9fa26121a68d74589ef35ea5ed45316cd9 (patch)
tree569cb14e705ccada21fef2bfed6dfc497a47e3f1 /src/synth/netlists-utils.adb
parent06f3682dc85a965c9d3ccee26d0457e6df2869d6 (diff)
downloadghdl-b13b9e9fa26121a68d74589ef35ea5ed45316cd9.tar.gz
ghdl-b13b9e9fa26121a68d74589ef35ea5ed45316cd9.tar.bz2
ghdl-b13b9e9fa26121a68d74589ef35ea5ed45316cd9.zip
netlists-builders: add Build_Pmux.
Diffstat (limited to 'src/synth/netlists-utils.adb')
-rw-r--r--src/synth/netlists-utils.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/synth/netlists-utils.adb b/src/synth/netlists-utils.adb
index fa1494820..6a8f1a2bf 100644
--- a/src/synth/netlists-utils.adb
+++ b/src/synth/netlists-utils.adb
@@ -30,7 +30,8 @@ package body Netlists.Utils is
M : constant Module := Get_Module (Inst);
begin
case Get_Id (M) is
- when Id_Concatn =>
+ when Id_Concatn
+ | Id_Pmux =>
return Port_Nbr (Get_Param_Uns32 (Inst, 0));
when others =>
if Is_Self_Instance (Inst) then