diff options
author | Tristan Gingold <tgingold@free.fr> | 2020-01-27 18:54:17 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2020-01-30 06:27:04 +0100 |
commit | 27a38f0c1b1cf8a2af13882861511018d9f4c5c9 (patch) | |
tree | 9f27a4584d089fde01cfb43a8040590b9d23e9b2 /src/ghdldrv/ghdlcomp.ads | |
parent | 1bd51bf8c6adfb77c2bf572f9c38ca4439dc9a6b (diff) | |
download | ghdl-27a38f0c1b1cf8a2af13882861511018d9f4c5c9.tar.gz ghdl-27a38f0c1b1cf8a2af13882861511018d9f4c5c9.tar.bz2 ghdl-27a38f0c1b1cf8a2af13882861511018d9f4c5c9.zip |
ghdlcomp: renaming; allow files in any order for --synth.
Diffstat (limited to 'src/ghdldrv/ghdlcomp.ads')
-rw-r--r-- | src/ghdldrv/ghdlcomp.ads | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/ghdldrv/ghdlcomp.ads b/src/ghdldrv/ghdlcomp.ads index c87676d20..396f550e7 100644 --- a/src/ghdldrv/ghdlcomp.ads +++ b/src/ghdldrv/ghdlcomp.ads @@ -96,8 +96,14 @@ package Ghdlcomp is -- Functionnal interface. -- Must be first initialized by Compile_Init procedure Compile_Analyze_Init (Load_Work : Boolean := True); - procedure Compile_Analyze_File (File : String); - function Compile_Analyze_File2 (File : String) return Iir; + + -- Load and parse FILE, put library units in the work library (without + -- analyzing them). + procedure Compile_Load_File (File : String); + + -- Load, parse and analyze FILE. + function Compile_Analyze_File (File : String) return Iir; + procedure Compile_Elaborate (Unit_Name : String_Access); procedure Compile_Run; end Ghdlcomp; |