diff options
author | Tristan Gingold | 2015-03-01 18:09:30 +0100 |
---|---|---|
committer | Tristan Gingold | 2015-03-01 18:09:30 +0100 |
commit | ad4ac5499e426cff9b76479e8ff6250a32fcbb57 (patch) | |
tree | d24f1903700733dbb125ebea420d0980d84d8da9 /src/grt/grt-main.ads | |
parent | 3619ff721b0456b2f15bd2d4913fd57aa97e827b (diff) | |
download | ghdl-ad4ac5499e426cff9b76479e8ff6250a32fcbb57.tar.gz ghdl-ad4ac5499e426cff9b76479e8ff6250a32fcbb57.tar.bz2 ghdl-ad4ac5499e426cff9b76479e8ff6250a32fcbb57.zip |
Elaborate generics in two steps. Fix -c/-e for llvm builds.
Diffstat (limited to 'src/grt/grt-main.ads')
-rw-r--r-- | src/grt/grt-main.ads | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/grt/grt-main.ads b/src/grt/grt-main.ads index 4f78477..6dd7741 100644 --- a/src/grt/grt-main.ads +++ b/src/grt/grt-main.ads @@ -26,4 +26,9 @@ package Grt.Main is -- Elaborate and simulate the design. procedure Run; + + -- This function is called by elaboration code once default values have + -- been assigned to generics, but before being used. + procedure Ghdl_Init_Top_Generics; + pragma Export (C, Ghdl_Init_Top_Generics, "__ghdl_init_top_generics"); end Grt.Main; |