Code Browser Pages:
Files in
rvm_eth.tar



call_back.vr
cfg_intf.vr
cfg_xtor.vr
chan.vr
cov.vr
defines.vr
env.vr
host_driver.vr
Current file: host_intf.vr
host_xtor_rx.vr
host_xtor.vr
phy_driver.vr
phy_intf.vr
phy_xtor_rx.vr
phy_xtor.vr
pkt.vr
pro.vr
run
rx_pkt.vr
sb.vr
timescale.v
top.v



#ifndef HOST_INTF_CLASS
#define HOST_INTF_CLASS

#ifndef INPUT_EDGE
#define INPUT_EDGE   PSAMPLE #-1
#endif
#ifndef OUTPUT_EDGE
#define OUTPUT_EDGE  PHOLD  #1
#endif


interface host_intf {

  input        clk           CLOCK ;

  input         CPU_init_end INPUT_EDGE;
  input         Rx_mac_ra    INPUT_EDGE;
  input  [31:0] Rx_mac_data  INPUT_EDGE;
  input  [1:0]  Rx_mac_BE    INPUT_EDGE;
  input         Rx_mac_pa    INPUT_EDGE;
  input         Rx_mac_sop   INPUT_EDGE;
  input         Rx_mac_eop   INPUT_EDGE;
  input         Tx_mac_wa    INPUT_EDGE;

  output        Reset         OUTPUT_EDGE;
  output        Rx_mac_rd     OUTPUT_EDGE;
  output        Tx_mac_wr     OUTPUT_EDGE;
  output  [31:0]  Tx_mac_data OUTPUT_EDGE;
  output   [1:0]  Tx_mac_BE   OUTPUT_EDGE;
  output      Tx_mac_sop      OUTPUT_EDGE;
  output      Tx_mac_eop      OUTPUT_EDGE;


}


#endif