peakrdl_regblock
peakrdl_regblock(IP_LIB **kwargs)
Create a target for invoking PeakRDL-regblock on IP_LIB.
PeakRDL-regblock is transforming SystemRDL input files to SystemVerilog register block files. Regblock documentation can be found on this link.
Function expects that ${IP_LIB} has SYSTEMRDL_SOURCES property set with a list of SystemRDL files to be used as inputs. To set the SYSTEMRDL_SOURCES property use the ip_sources()
ip_sources(ip SYSTEMRDL ${PROJECT_SOURCE_DIR}/file.rdl)
This function will append 2 generated files from PeakRDL-regblock to the SYSTEMVERILOG_SOURCES property of the ${IP_LIB}.
Parameters
| Name | Type | Description |
|---|---|---|
IP_LIB | string | The target IP library. |
Keyword Arguments
| Name | Type | Description |
|---|---|---|
OUTDIR | string | output directory in which the files will be generated. |
RENAME | string | Rename the generated module and file name to a custom string, otherwise the |
INTF | string | Interface to use for the regblock. Possible values are: |
RESET | string | reset type for generated regblock. Possible values are: |
ARGS | list | any additional arguments to pass to peakrdl cli |