prim_clkmux4

Select one of four clocks with clksel_i.

Drive clk_o with clk_i[clksel_i] combinatorially. Keep clksel_i glitch-free; the mux itself does not hazard-qualify the select.

Ports

Table 1. Ports
NameDirectionTypeDescription
clk_iinputlogic [3:0]Four clock inputs.
clksel_iinputlogic [1:0]Selects which clk_i bit drives clk_o.
clk_ooutputlogicSelected clock.