diff options
author | Tristan Gingold <tgingold@free.fr> | 2022-05-16 05:01:04 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2022-05-16 05:01:04 +0200 |
commit | bb4d537126f7c14f34017231cc519d0f60d00bef (patch) | |
tree | 6f829b4ded4a4a2fcb9078526d81e7776495f515 /src/ghdldrv/ghdlcomp.ads | |
parent | d5861aa7d37162b261eb8e97b3fe01e2289ea9fe (diff) | |
download | ghdl-bb4d537126f7c14f34017231cc519d0f60d00bef.tar.gz ghdl-bb4d537126f7c14f34017231cc519d0f60d00bef.tar.bz2 ghdl-bb4d537126f7c14f34017231cc519d0f60d00bef.zip |
ghdlcomp(common_compile_elab): add allow_undef_generic parameter
Diffstat (limited to 'src/ghdldrv/ghdlcomp.ads')
-rw-r--r-- | src/ghdldrv/ghdlcomp.ads | 4 |
1 files changed, 3 insertions, 1 deletions
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); |