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

Subversion Repositories srdydrdy_lib

[/] [srdydrdy_lib/] [trunk/] [examples/] [bridge/] [rtl/] [bridge.vh] - Diff between revs 4 and 5

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

Rev 4 Rev 5
Line 24... Line 24...
`define FIB_PORT      59:56    // associated port
`define FIB_PORT      59:56    // associated port
 
 
`define FIB_MAX_AGE   255      // maximum value of age timer
`define FIB_MAX_AGE   255      // maximum value of age timer
 
 
`define MULTICAST     48'h0100000000  // multicast bit
`define MULTICAST     48'h0100000000  // multicast bit
 No newline at end of file
 No newline at end of file
 
 
 
// Packet control codes
 
`define PCC_SOP     2'b01    // Start of packet
 
`define PCC_DATA    2'b00    // data word
 
`define PCC_EOP     2'b10    // End of packet
 
`define PCC_BADEOP  2'b11    // End of packet w/ error
 
 
 
// Packet Ring Word
 
 
 
`define PRW_SZ       70
 
`define PRW_DATA     63:0      // 64 bits of packet data
 
`define PRW_PCC      65:64     // packet control code
 
`define PRW_VALID    68:66     // # of valid bytes modulo 8
 
`define PRW_PVEC     69        // indicates this is port vector word
 
 
 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.