From 03a502169b3a3656018236ec4d4952a3fd4ec880 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Sat, 13 Feb 2016 18:17:21 +0100 Subject: simul: more fixes for std_ulogic. --- src/ghdldrv/ghdllocal.adb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/ghdldrv') 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 -- cgit v1.2.3