From bb4d537126f7c14f34017231cc519d0f60d00bef Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Mon, 16 May 2022 05:01:04 +0200 Subject: ghdlcomp(common_compile_elab): add allow_undef_generic parameter --- src/ghdldrv/ghdlcomp.ads | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/ghdldrv/ghdlcomp.ads') diff --git a/src/ghdldrv/ghdlcomp.ads b/src/ghdldrv/ghdlcomp.ads index 75d1e9f1d..5af54eaad 100644 --- a/src/ghdldrv/ghdlcomp.ads +++ b/src/ghdldrv/ghdlcomp.ads @@ -85,9 +85,11 @@ package Ghdlcomp is -- Common action to perform before elaboration: -- * extract PRIM_NAME and SEC_NAME from ARGS. -- * configure - -- * Check top entity. + -- * Check top entity + -- If ALLOW_UNDEF_GENERIC is False, the generics must have a default value. procedure Common_Compile_Elab (Cmd_Name : String; Args : Argument_List; + Allow_Undef_Generic : Boolean; Opt_Arg : out Natural; Config : out Iir); -- cgit v1.2.3