cmake.utils/copy_rtl_files/read_rtl_sources¶
- cmake.utils/copy_rtl_files/read_rtl_sources.read_rtl_sources(RTL_SOURCES_FILE **kwargs)¶
This function reads a file listing RTL files and return a list of paths.
By default, this function returns 3 lists, one per RTL source file type (i.e., Verilog, SystemVerilog, and VHDL): READ_RTL_SOURCES_V, READ_RTL_SOURCES_SV, READ_RTL_SOURCES_VHDL. IF the CONCAT keyword is passed, only READ_RTL_SOURCES_ALL is returned.
- Parameters:
RTL_SOURCES_FILE (string) – Path to the file to read.
Keyword Arguments
- Parameters:
CONCAT (string) – Concatenate the different RTL source files (i.e., Verilog, SystemVerilog, and VHDL) and return a single list.