diff options
author | Tristan Gingold <tgingold@free.fr> | 2015-03-07 07:30:07 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2015-03-07 07:30:07 +0100 |
commit | 8af64459f397e5037dd7e25317491edad39d8006 (patch) | |
tree | 13476a4fe7a97c9dc62df4d03bf33045e2920b04 /src/grt/grt-main.adb | |
parent | ad4ac5499e426cff9b76479e8ff6250a32fcbb57 (diff) | |
download | ghdl-8af64459f397e5037dd7e25317491edad39d8006.tar.gz ghdl-8af64459f397e5037dd7e25317491edad39d8006.tar.bz2 ghdl-8af64459f397e5037dd7e25317491edad39d8006.zip |
Implement ticket 37: add switch -gNAME=VAL to override top entity generics.
Diffstat (limited to 'src/grt/grt-main.adb')
-rw-r--r-- | src/grt/grt-main.adb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/grt/grt-main.adb b/src/grt/grt-main.adb index 32547774b..ad21a245a 100644 --- a/src/grt/grt-main.adb +++ b/src/grt/grt-main.adb @@ -35,6 +35,7 @@ with Grt.Hooks; with Grt.Disp_Signals; with Grt.Disp; with Grt.Modules; +with Grt.Change_Generics; -- The following packages are not referenced in this package. -- These are subprograms called only from GHDL generated code. @@ -62,7 +63,7 @@ package body Grt.Main is procedure Ghdl_Init_Top_Generics is begin - null; + Grt.Change_Generics.Change_All_Generics; end Ghdl_Init_Top_Generics; procedure Disp_Stats_Hook (Code : Integer); |