URL
https://opencores.org/ocsvn/xge_mac/xge_mac/trunk
[/] [xge_mac/] [trunk/] [tbench/] [systemc/] [sc_testbench.h] - Diff between revs 18 and 19
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 18 |
Rev 19 |
Line 38... |
Line 38... |
#ifndef TESTBENCH_H
|
#ifndef TESTBENCH_H
|
#define TESTBENCH_H
|
#define TESTBENCH_H
|
|
|
#include "systemc.h" // SystemC global header
|
#include "systemc.h" // SystemC global header
|
|
|
|
#include "sc_defines.h"
|
|
|
#include "sc_cpu_if.h"
|
#include "sc_cpu_if.h"
|
#include "sc_pkt_if.h"
|
#include "sc_pkt_if.h"
|
#include "sc_xgmii_if.h"
|
#include "sc_xgmii_if.h"
|
#include "sc_pkt_generator.h"
|
#include "sc_pkt_generator.h"
|
#include "sc_scoreboard.h"
|
#include "sc_scoreboard.h"
|
Line 70... |
Line 72... |
sc_out<unsigned int> wb_dat_i;
|
sc_out<unsigned int> wb_dat_i;
|
sc_out<bool> wb_stb_i;
|
sc_out<bool> wb_stb_i;
|
sc_out<bool> wb_we_i;
|
sc_out<bool> wb_we_i;
|
|
|
sc_out<unsigned int> xgmii_rxc;
|
sc_out<unsigned int> xgmii_rxc;
|
sc_out<unsigned long long > xgmii_rxd;
|
sc_out<vluint64_t > xgmii_rxd;
|
|
|
sc_in<unsigned int> xgmii_txc;
|
sc_in<unsigned int> xgmii_txc;
|
sc_in<unsigned long long > xgmii_txd;
|
sc_in<vluint64_t > xgmii_txd;
|
|
|
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.