Forum Discussion
Altera_Forum
Honored Contributor
12 years agoI'm using the following optimized version now, which helped to reduce the clock jitter because the clock signal is routed on dedicated clock nets now:
https://www.alteraforum.com/forum/attachment.php?attachmentid=8198 The clock mux is implemented like this now: blk_enet_clkctrl: block
signal
enet_clkctrl_cs
: std_logic_vector(1 downto 0) := (others => '0');
begin
enet_clkctrl_cs <= "10" when ('1' = eth_mode_from_the_tse_mac) else
"11" when ('1' = ena_10_from_the_tse_mac) else
"00";
inst_enet_clkctrl: component enet_clkctrl
PORT MAP
(
clkselect => enet_clkctrl_cs,
inclk0x => CLKIN_25MHZ,
inclk1x => '0',
inclk2x => enet_clk_125mhz,
inclk3x => enet_clk_2p5mhz,
outclk => tx_clk_to_the_tse_mac
);
end block;