aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-09-05 21:42:47 +0200
committerTristan Gingold <tgingold@free.fr>2019-09-05 21:42:47 +0200
commit7854e571359b99191356f93ed8d2cffd05484d51 (patch)
treec0d6c0493acf745eda55ff4bb3622e6738a645a0 /src/vhdl
parent6a933a7d9b2738e388018db056e4dfbd52ec8021 (diff)
downloadghdl-7854e571359b99191356f93ed8d2cffd05484d51.tar.gz
ghdl-7854e571359b99191356f93ed8d2cffd05484d51.tar.bz2
ghdl-7854e571359b99191356f93ed8d2cffd05484d51.zip
vhdl: handle P32 in connect_scalar. Fix #918
Diffstat (limited to 'src/vhdl')
-rw-r--r--src/vhdl/translate/trans-chap5.adb3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vhdl/translate/trans-chap5.adb b/src/vhdl/translate/trans-chap5.adb
index fbc20be0c..6f4537432 100644
--- a/src/vhdl/translate/trans-chap5.adb
+++ b/src/vhdl/translate/trans-chap5.adb
@@ -270,7 +270,8 @@ package body Trans.Chap5 is
when Type_Mode_E32 =>
Subprg := Ghdl_Signal_Associate_E32;
Conv := Ghdl_I32_Type;
- when Type_Mode_I32 =>
+ when Type_Mode_I32
+ | Type_Mode_P32 =>
Subprg := Ghdl_Signal_Associate_I32;
Conv := Ghdl_I32_Type;
when Type_Mode_P64 =>