diff options
author | Tristan Gingold <tgingold@free.fr> | 2017-12-18 19:12:57 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2017-12-20 20:58:40 +0100 |
commit | 6bc6e9b69843f897bf43002c8da58e513db7b6e3 (patch) | |
tree | 894d8ec73c06f977dba69975a3cf472af7b4bb8e /src/grt/grt-main.ads | |
parent | 9db20e133d5c47f8d54710c2676792337cc94f54 (diff) | |
download | ghdl-6bc6e9b69843f897bf43002c8da58e513db7b6e3.tar.gz ghdl-6bc6e9b69843f897bf43002c8da58e513db7b6e3.tar.bz2 ghdl-6bc6e9b69843f897bf43002c8da58e513db7b6e3.zip |
grt: reorganize simulation loop.
Diffstat (limited to 'src/grt/grt-main.ads')
-rw-r--r-- | src/grt/grt-main.ads | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/grt/grt-main.ads b/src/grt/grt-main.ads index 9fbf7b167..e4a6bff9c 100644 --- a/src/grt/grt-main.ads +++ b/src/grt/grt-main.ads @@ -27,6 +27,17 @@ package Grt.Main is -- Elaborate and simulate the design. procedure Run; + -- What Run does. + + -- Elaborate the design. + procedure Run_Elab (Stop : out Boolean); + + -- Do the whole simulation. + function Run_Simul return Integer; + + -- Finalization. + procedure Run_Finish (Status : Integer); + -- This function is called by elaboration code once default values have -- been assigned to generics, but before being used. procedure Ghdl_Init_Top_Generics; |