diff options
author | Tristan Gingold <tgingold@free.fr> | 2022-04-26 10:28:23 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2022-04-26 10:28:23 +0200 |
commit | c0edef4e9bd10b54932f972d9496679dd8a60614 (patch) | |
tree | 60f08ee26a26a824d0b927d9ccacd016404204b8 | |
parent | 2a88c029c704fa67f10c10f78b0ce3eac9044b81 (diff) | |
download | ghdl-c0edef4e9bd10b54932f972d9496679dd8a60614.tar.gz ghdl-c0edef4e9bd10b54932f972d9496679dd8a60614.tar.bz2 ghdl-c0edef4e9bd10b54932f972d9496679dd8a60614.zip |
ghdldrv: call elab.vhdl_objtypes.init in options
-rw-r--r-- | src/ghdldrv/ghdlsynth.adb | 3 | ||||
-rw-r--r-- | src/options.adb | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ghdldrv/ghdlsynth.adb b/src/ghdldrv/ghdlsynth.adb index 19b8cf9ff..581c536d9 100644 --- a/src/ghdldrv/ghdlsynth.adb +++ b/src/ghdldrv/ghdlsynth.adb @@ -47,7 +47,6 @@ with Netlists.Inference; with Elab.Vhdl_Context; use Elab.Vhdl_Context; with Elab.Vhdl_Insts; -with Elab.Vhdl_Objtypes; with Synthesis; with Synth.Disp_Vhdl; @@ -286,8 +285,6 @@ package body Ghdlsynth is -- association. They are handled directly. Vhdl.Canon.Canon_Flag_Inertial_Associations := False; - Elab.Vhdl_Objtypes.Init; - if Ghdlcomp.Init_Verilog_Options /= null then Ghdlcomp.Init_Verilog_Options.all (False); end if; diff --git a/src/options.adb b/src/options.adb index 5e34609d6..4bafa33fc 100644 --- a/src/options.adb +++ b/src/options.adb @@ -34,6 +34,8 @@ with Vhdl.Parse; with Vhdl.Errors; with Vhdl.Back_End; use Vhdl.Back_End; +with Elab.Vhdl_Objtypes; + package body Options is procedure Initialize is begin @@ -42,6 +44,7 @@ package body Options is Str_Table.Initialize; Vhdl.Lists.Initialize; Vhdl.Nodes.Initialize; + Elab.Vhdl_Objtypes.Init; Files_Map.Initialize; Libraries.Initialize; PSL.Nodes.Init (Libraries.Library_Location); |