aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2016-02-13 18:17:21 +0100
committerTristan Gingold <tgingold@free.fr>2016-02-14 13:52:34 +0100
commit03a502169b3a3656018236ec4d4952a3fd4ec880 (patch)
tree1784c7c25db963dce7ac2340c740a428a4ab8ced /src/ghdldrv
parent32d422d2f5d002354aeaf111ce484b6665a5c9d5 (diff)
downloadghdl-03a502169b3a3656018236ec4d4952a3fd4ec880.tar.gz
ghdl-03a502169b3a3656018236ec4d4952a3fd4ec880.tar.bz2
ghdl-03a502169b3a3656018236ec4d4952a3fd4ec880.zip
simul: more fixes for std_ulogic.
Diffstat (limited to 'src/ghdldrv')
-rw-r--r--src/ghdldrv/ghdllocal.adb10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/ghdldrv/ghdllocal.adb b/src/ghdldrv/ghdllocal.adb
index 0072b3724..dfc206649 100644
--- a/src/ghdldrv/ghdllocal.adb
+++ b/src/ghdldrv/ghdllocal.adb
@@ -83,13 +83,21 @@ package body Ghdllocal is
raise Compilation_Error;
end if;
- if Flags.Flag_Elaborate then
+ if Flags.Flag_Elaborate
+ or else ((Main or Flags.List_All) and then Flags.List_Canon)
+ then
if Flags.Verbose then
Put_Line ("canonicalize " & Disp_Node (Get_Library_Unit (Unit)));
end if;
Canon.Canonicalize (Unit);
+ if (Main or Flags.List_All) and then Flags.List_Canon then
+ Disp_Vhdl.Disp_Vhdl (Unit);
+ end if;
+ end if;
+
+ if Flags.Flag_Elaborate then
if Flag_Create_Default_Config then
Lib := Get_Library_Unit (Unit);
if Get_Kind (Lib) = Iir_Kind_Architecture_Body then