txstart_req信号持续21个mac_clk, 进来后怎么使得phy_rst=0.且只维持一个mac_clk周期;
always @ (negedge GLB_RST or posedge MAC_CLK)
if (!GLB_RST) //These signals can only be reset by the global reset
begin //signal but not PHY_RST.
PHY_RST<=1;
RST_CON<=0;
end
if (TXSTART_REQ && !RST_CON) //RST_CON will be set 1 to prevent PHY_RST from getting low again
begin
PHY_RST<=0; //transmit initialize
RST_CON<=1;
end
else if (!TXSTART_REQ)
RST_CON<=0;
else if (!PHY_RST)
PHY_RST<=1; //PHY_RST gets low(valid) for 1 clock