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

Subversion Repositories xge_mac

[/] [xge_mac/] [trunk/] [tbench/] [proto_systemverilog/] [verification/] [include.sv] - Rev 22

Compare with Previous | Blame | View Log

typedef enum { NONE, TRANSMIT, RECEIVE } typeOfPkt;

typedef struct packed { 
   bit         startOfPacket;
   bit [63:0]  frame;
   bit         endOfPacket;
   bit [2:0]   packetModulus;
} packetFrame;

`define transmitData { packetData[7], packetData[6], packetData[5], packetData[4], packetData[3], packetData[2], packetData[1], packetData[0] }

`define receivedData { receivedData [7], receivedData[6], receivedData[5], receivedData[4], receivedData[3], receivedData[2], receivedData[1], receivedData[0] }

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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