From 27a38f0c1b1cf8a2af13882861511018d9f4c5c9 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Mon, 27 Jan 2020 18:54:17 +0100 Subject: ghdlcomp: renaming; allow files in any order for --synth. --- src/ghdldrv/ghdlcomp.ads | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/ghdldrv/ghdlcomp.ads') 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; -- cgit v1.2.3