Skip to main content

yosys

yosys(IP_LIB **kwargs)

This function runs the Yosys synthesis tool on a specified IP library.

The function is a wrapper around the Yosys tool and generates necessary scripts and configurations to run Yosys on the specified IP library.

Parameters

NameTypeDescription
IP_LIBstringThe target IP library.

Keyword Arguments

NameTypeDescription
OUTDIRstringOutput directory for Yosys results. Defaults to BINARY_DIR/yosys.
TOPstringTop module name. Defaults to IP_NAME.
PLUGINSlistList of Yosys plugins to use (shared or static libraries).
SCRIPTSlistList of Yosys script files to use. Defaults to default.ys.
SV2VbooleanConvert SystemVerilog sources to Verilog using sv2v tool.
SHOWbooleanGenerate additional Yosys script to show the netlist.
REPLACEbooleanReplace original sources with the generated Verilog source.