OpenCores
URL https://opencores.org/ocsvn/ethmac/ethmac/trunk

Subversion Repositories ethmac

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /ethmac/trunk
    from Rev 343 to Rev 344
    Reverse comparison

Rev 343 → Rev 344

/bench/verilog/tb_ethernet.v
2400,9 → 2400,9
#Tp cnt = 0;
if (i3 == 0) // write after write
begin
phy_data = {8'h7A, (i[7:0] + 1'b1)};
// write request
#Tp mii_write_req(phy_addr, reg_addr, phy_data);
phy_data = {8'h78, (i[7:0] + 1'b1)};
// write request, bit 9 in phy_data is self-clearing
#Tp mii_write_req(phy_addr, reg_addr, (phy_data|16'h0200));
// wait for serial bus to become active
wait(Mdio_IO !== 1'bz);
// count transfer length

powered by: WebSVN 2.1.0

© copyright 1999-2020 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.