When the pins of the SPI master device (spim) implemented in the Hard Processor System (HPS) are routed to the FPGA side,
sclk appears as a separate port.
The spim_sclk_out port may not appear due to the filter function in Platform Designer (formerly known as Qsys).
(For example, if the Hide Clocks and Resets filter is selected, it will not be displayed.)
In this case, try All Interfaces as the Filter type.
--------------------
Category: SoC
Tool: Quartus® Prime
Device: Cyclone® V