EMAC 中的MII接口地方有点不是特别明白
1. 输出加FF是不是为了减小TCO
2. 输入上为什么要加FF
问题很简单,大哥们们别笑话:)
// Infer IOB Output flip-flops.
always @(posedge tx_clk_int)
begin
mii_tx_en <= tx_en_from_mac;
mii_tx_er <= tx_er_from_mac;
mii_txd <= txd_from_mac;
end
// Infer IOB Input flip-flops.
always @(posedge rx_clk_int)
begin
rx_dv_to_mac <= mii_rx_dv;
rx_er_to_mac <= mii_rx_er;
rxd_to_mac <= mii_rxd;
end |