sv2v
sv2v(IP_LIB **kwargs)
This function convert SystemVerilog files to Verilog files.
It will take all the .sv files in ${IP_LIB} and convert them to verilog files, they will be stored in a new folder, which can be parametrized.
It's also possible to replace the files in case of flattening, using the REPLACE argument.
Parameters
| Name | Type | Description |
|---|---|---|
IP_LIB | string | The target IP library. |
Keyword Arguments
| Name | Type | Description |
|---|---|---|
OUTDIR | string | Path to the location where converted file will be stored, if not set, it's in ${BINARY_DIR}/sv2v |
REPLACE | bool | Can be set if .sv files need to be replaced by the .v files in the flatten graph. |