Skip to content

get_ports misinterprets nested lists as single port names — requires concat instead of list (DC Compiler)

In the cv32e40p_core.sdc during syntehsis in DC Compiler

We must use concat instead of list because the variables are already lists, and get_ports cannot work on a list of lists. It treats entries like "clk_i scan_clk" as a single port name rather than two separate ports.

Note: I added scan_clk for DFT purposes (it wasn't included in the original SDC), but this issue applies equally to the original inputs and outputs as shown below in the warnings.

Using list for all_other_input_ports

Image

Using list for all_other_output_ports

Image

Issue resolved after switching to concat

Image