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

Subversion Repositories amber

[/] [amber/] [trunk/] [hw/] [vlog/] [tb/] [eth_test.v] - Diff between revs 61 and 82

Show entire file | Details | Blame | View Log

Rev 61 Rev 82
Line 37... Line 37...
// You should have received a copy of the GNU Lesser General    //
// You should have received a copy of the GNU Lesser General    //
// Public License along with this source; if not, download it   //
// Public License along with this source; if not, download it   //
// from http://www.opencores.org/lgpl.shtml                     //
// from http://www.opencores.org/lgpl.shtml                     //
//                                                              //
//                                                              //
//////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////
`timescale  1 ps / 1 ps
`include "global_timescale.vh"
 
 
 
 
module eth_test
module eth_test
(
(
// MD interface - serial configuration of PHY
// MD interface - serial configuration of PHY
inout                       md_io,
inout                       md_io,
Line 58... Line 57...
// MAC interface - packet from DUT
// MAC interface - packet from DUT
input      [3:0]            mrxd_i,
input      [3:0]            mrxd_i,
input                       mrxdv_i
input                       mrxdv_i
);
);
 
 
`include "debug_functions.v"
`include "debug_functions.vh"
`include "system_functions.v"
`include "system_functions.vh"
 
 
// mxt state machine
// mxt state machine
localparam IDLE = 4'd0;
localparam IDLE = 4'd0;
localparam TX_0 = 4'd1;
localparam TX_0 = 4'd1;
localparam TX_1 = 4'd2;
localparam TX_1 = 4'd2;

powered by: WebSVN 2.1.0

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