aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdlcomp.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2016-05-07 17:43:03 +0200
committerTristan Gingold <tgingold@free.fr>2016-05-07 17:43:03 +0200
commit8574c1ae9bf66e3520985e0277a3847b1a210e2e (patch)
treef7d0f45aaf5524a8aab7e07bdcd37d5bf83cf383 /src/ghdldrv/ghdlcomp.ads
parent6488ea75a11475f4820b27cf7a919fb2b8235912 (diff)
downloadghdl-8574c1ae9bf66e3520985e0277a3847b1a210e2e.tar.gz
ghdl-8574c1ae9bf66e3520985e0277a3847b1a210e2e.tar.bz2
ghdl-8574c1ae9bf66e3520985e0277a3847b1a210e2e.zip
ghdldrv: add functionnal API to compile.
Diffstat (limited to 'src/ghdldrv/ghdlcomp.ads')
-rw-r--r--src/ghdldrv/ghdlcomp.ads7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ghdldrv/ghdlcomp.ads b/src/ghdldrv/ghdlcomp.ads
index f803ca4fa..383d9b92d 100644
--- a/src/ghdldrv/ghdlcomp.ads
+++ b/src/ghdldrv/ghdlcomp.ads
@@ -64,4 +64,11 @@ package Ghdlcomp is
-- Register commands.
procedure Register_Commands;
+
+ -- Functionnal interface.
+ -- Must be first initialized by Compile_Init
+ procedure Compile_Analyze_Init (Load_Work : Boolean := True);
+ procedure Compile_Analyze_File (File : String);
+ procedure Compile_Elaborate (Unit_Name : String_Access);
+ procedure Compile_Run;
end Ghdlcomp;