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

Subversion Repositories xge_mac

[/] [xge_mac/] [trunk/] [rtl/] [verilog/] [wishbone_if.v] - Diff between revs 23 and 24

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

Rev 23 Rev 24
Line 44... Line 44...
  // Inputs
  // Inputs
  wb_clk_i, wb_rst_i, wb_adr_i, wb_dat_i, wb_we_i, wb_stb_i, wb_cyc_i,
  wb_clk_i, wb_rst_i, wb_adr_i, wb_dat_i, wb_we_i, wb_stb_i, wb_cyc_i,
  status_crc_error, status_fragment_error, status_txdfifo_ovflow,
  status_crc_error, status_fragment_error, status_txdfifo_ovflow,
  status_txdfifo_udflow, status_rxdfifo_ovflow, status_rxdfifo_udflow,
  status_txdfifo_udflow, status_rxdfifo_ovflow, status_rxdfifo_udflow,
  status_pause_frame_rx, status_local_fault, status_remote_fault,
  status_pause_frame_rx, status_local_fault, status_remote_fault,
  stats_tx_pkts, stats_rx_pkts
  stats_tx_octets, stats_tx_pkts, stats_rx_octets, stats_rx_pkts
  );
  );
 
 
 
 
input         wb_clk_i;
input         wb_clk_i;
input         wb_rst_i;
input         wb_rst_i;
Line 77... Line 77...
input         status_pause_frame_rx;
input         status_pause_frame_rx;
 
 
input         status_local_fault;
input         status_local_fault;
input         status_remote_fault;
input         status_remote_fault;
 
 
 
input  [31:0] stats_tx_octets;
input  [31:0] stats_tx_pkts;
input  [31:0] stats_tx_pkts;
 
 
 
input  [31:0] stats_rx_octets;
input  [31:0] stats_rx_pkts;
input  [31:0] stats_rx_pkts;
 
 
output        ctrl_tx_enable;
output        ctrl_tx_enable;
 
 
 
 
Line 188... Line 191...
 
 
              `CPUREG_INT_MASK: begin
              `CPUREG_INT_MASK: begin
                  wb_dat_o <= {23'b0, cpureg_int_mask};
                  wb_dat_o <= {23'b0, cpureg_int_mask};
              end
              end
 
 
 
              `CPUREG_STATSTXOCTETS: begin
 
                  wb_dat_o <= stats_tx_octets;
 
              end
 
 
              `CPUREG_STATSTXPKTS: begin
              `CPUREG_STATSTXPKTS: begin
                  wb_dat_o <= stats_tx_pkts;
                  wb_dat_o <= stats_tx_pkts;
              end
              end
 
 
 
              `CPUREG_STATSRXOCTETS: begin
 
                  wb_dat_o <= stats_rx_octets;
 
              end
 
 
              `CPUREG_STATSRXPKTS: begin
              `CPUREG_STATSRXPKTS: begin
                  wb_dat_o <= stats_rx_pkts;
                  wb_dat_o <= stats_rx_pkts;
              end
              end
 
 
              default: begin
              default: begin

powered by: WebSVN 2.1.0

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