URL
https://opencores.org/ocsvn/xge_mac/xge_mac/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 18 |
Rev 19 |
Line 38... |
Line 38... |
#ifndef PKT_IF_H
|
#ifndef PKT_IF_H
|
#define PKT_IF_H
|
#define PKT_IF_H
|
|
|
#include "systemc.h"
|
#include "systemc.h"
|
|
|
|
#include "sc_defines.h"
|
|
|
#include "sc_packet.h"
|
#include "sc_packet.h"
|
#include "sc_scoreboard.h"
|
#include "sc_scoreboard.h"
|
|
|
SC_MODULE(pkt_if) {
|
SC_MODULE(pkt_if) {
|
|
|
Line 52... |
Line 54... |
|
|
sc_in<bool> clk_156m25;
|
sc_in<bool> clk_156m25;
|
|
|
sc_in<bool> reset_156m25_n;
|
sc_in<bool> reset_156m25_n;
|
|
|
sc_out<unsigned long long > pkt_tx_data;
|
sc_out<vluint64_t > pkt_tx_data;
|
sc_out<bool> pkt_tx_eop;
|
sc_out<bool> pkt_tx_eop;
|
sc_out<unsigned int> pkt_tx_mod;
|
sc_out<unsigned int> pkt_tx_mod;
|
sc_out<bool> pkt_tx_sop;
|
sc_out<bool> pkt_tx_sop;
|
sc_out<bool> pkt_tx_val;
|
sc_out<bool> pkt_tx_val;
|
|
|
sc_in<bool> pkt_tx_full;
|
sc_in<bool> pkt_tx_full;
|
|
|
sc_in<bool> pkt_rx_avail;
|
sc_in<bool> pkt_rx_avail;
|
sc_in<unsigned long long > pkt_rx_data;
|
sc_in<vluint64_t > pkt_rx_data;
|
sc_in<bool> pkt_rx_eop;
|
sc_in<bool> pkt_rx_eop;
|
sc_in<unsigned int> pkt_rx_mod;
|
sc_in<unsigned int> pkt_rx_mod;
|
sc_in<bool> pkt_rx_err;
|
sc_in<bool> pkt_rx_err;
|
sc_in<bool> pkt_rx_sop;
|
sc_in<bool> pkt_rx_sop;
|
sc_in<bool> pkt_rx_val;
|
sc_in<bool> pkt_rx_val;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.