Skip to main content

ghdl

ghdl(IP_LIB **kwargs)

Create a target for invoking GHDL (compilation, elaboration, and simulation) on IP_LIB.

It will create a target run_<IP_LIB>_ghdl that will compile, elaborate, and simulate the IP_LIB design.

Parameters

NameTypeDescription
IP_LIBstringThe target IP library, it needs to have SOURCES property set with a list of VHDL files.

Keyword Arguments

NameTypeDescription
NO_RUN_TARGETboolDo not create a run target.
OUTDIRstringOutput directory for the GHDL compilation and simulation.
RUN_TARGET_NAMEstringOverride the default run target name (default: run_<IP_LIB>_ghdl).
TOP_MODULEstringTop module name to be used for elaboration and simulation.
EXECUTABLE_NAMEstringReplace the default name of the generated executable target.
STANDARDstringSpecify the VHDL standard to be used, default value is 93, possible values are 87, 93c, 93, 00, 02 and 08.
VHDL_COMPILE_ARGSstringExtra arguments to be passed to the VHDL compilation step.
ELABORATE_ARGSstringExtra arguments to be passed to the elaboration step.
RUN_ARGSstringExtra arguments to be passed to the simulation step.
FILE_SETSlist[string]Specify list of File sets to retrieve the sources from