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

Subversion Repositories ha1588

[/] [ha1588/] [trunk/] [sim/] [tsu/] [tsu_queue_tb.v] - Diff between revs 34 and 35

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 34 Rev 35
Line 117... Line 117...
    .gmii_txclk(gmii_txclk),
    .gmii_txclk(gmii_txclk),
    .gmii_txctrl(gmii_txctrl),
    .gmii_txctrl(gmii_txctrl),
    .gmii_txdata(gmii_txdata)
    .gmii_txdata(gmii_txdata)
  );
  );
 
 
 
integer rx_ptp_event_cnt;
 
initial begin
 
    rx_ptp_event_cnt = 0;
 
  forever @(posedge DUT_RX.q_wr_en) begin
 
    rx_ptp_event_cnt = rx_ptp_event_cnt + 1;
 
    $display("%d", BFM_RX.num_rx);
 
  end
 
end
 
 
 
integer tx_ptp_event_cnt;
 
initial begin
 
    tx_ptp_event_cnt = 0;
 
  forever @(posedge DUT_TX.q_wr_en) begin
 
    tx_ptp_event_cnt = tx_ptp_event_cnt + 1;
 
    //$display("%d", BFM_TX.num_tx);
 
  end
 
end
 
 
endmodule
endmodule
 
 
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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