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

Subversion Repositories turbo8051

[/] [turbo8051/] [trunk/] [rtl/] [gmac/] [top/] [g_mac_top.v] - Diff between revs 12 and 19

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

Rev 12 Rev 19
Line 61... Line 61...
 
 
                    // Application RX FIFO Interface
                    // Application RX FIFO Interface
                    app_txfifo_wren_i,
                    app_txfifo_wren_i,
                    app_txfifo_wrdata_i,
                    app_txfifo_wrdata_i,
                    app_txfifo_full_o,
                    app_txfifo_full_o,
 
                    app_txfifo_afull_o,
                    app_txfifo_space_o,
                    app_txfifo_space_o,
 
 
                    // Application TX FIFO Interface
                    // Application TX FIFO Interface
                    app_rxfifo_rden_i,
                    app_rxfifo_rden_i,
                    app_rxfifo_empty_o,
                    app_rxfifo_empty_o,
 
                    app_rxfifo_aempty_o,
                    app_rxfifo_cnt_o,
                    app_rxfifo_cnt_o,
                    app_rxfifo_rdata_o,
                    app_rxfifo_rdata_o,
 
 
                    // Conntrol Bus Sync with Application Clock
                    // Conntrol Bus Sync with Application Clock
                    reg_cs,
                    reg_cs,
Line 138... Line 140...
 
 
// Application RX FIFO Interface
// Application RX FIFO Interface
input                    app_txfifo_wren_i;
input                    app_txfifo_wren_i;
input  [8:0]             app_txfifo_wrdata_i;
input  [8:0]             app_txfifo_wrdata_i;
output                   app_txfifo_full_o;
output                   app_txfifo_full_o;
 
output                   app_txfifo_afull_o;
output [AW:0]            app_txfifo_space_o;
output [AW:0]            app_txfifo_space_o;
 
 
// Application TX FIFO Interface
// Application TX FIFO Interface
input                    app_rxfifo_rden_i;
input                    app_rxfifo_rden_i;
output                   app_rxfifo_empty_o;
output                   app_rxfifo_empty_o;
 
output                   app_rxfifo_aempty_o;
output [AW:0]            app_rxfifo_cnt_o;
output [AW:0]            app_rxfifo_cnt_o;
output [8:0]             app_rxfifo_rdata_o;
output [8:0]             app_rxfifo_rdata_o;
 
 
// Conntrol Bus Sync with Application Clock
// Conntrol Bus Sync with Application Clock
//---------------------------------
//---------------------------------
Line 283... Line 287...
                   .wr_clk                   (app_clk),
                   .wr_clk                   (app_clk),
                   .wr_reset_n               (app_reset_n),
                   .wr_reset_n               (app_reset_n),
                   .wr_en                    (app_txfifo_wren_i),
                   .wr_en                    (app_txfifo_wren_i),
                   .wr_data                  (app_txfifo_wrdata_i),
                   .wr_data                  (app_txfifo_wrdata_i),
                   .full                     (app_txfifo_full_o), // sync'ed to wr_clk
                   .full                     (app_txfifo_full_o), // sync'ed to wr_clk
 
                   .afull                    (app_txfifo_afull_o), // sync'ed to wr_clk
                   .wr_total_free_space      (app_txfifo_space_o),
                   .wr_total_free_space      (app_txfifo_space_o),
 
 
                   .rd_clk                   (phy_tx_clk),
                   .rd_clk                   (phy_tx_clk),
                   .rd_reset_n               (tx_reset_n),
                   .rd_reset_n               (tx_reset_n),
                   .rd_en                    (tx_fifo_rd),
                   .rd_en                    (tx_fifo_rd),
                   .empty                    (tx_fifo_empty),  // sync'ed to rd_clk
                   .empty                    (tx_fifo_empty),  // sync'ed to rd_clk
 
                   .aempty                   (tx_fifo_aempty), // sync'ed to rd_clk
                   .rd_total_aval            (tx_fifo_aval),
                   .rd_total_aval            (tx_fifo_aval),
                   .rd_data                  (tx_fifo_data)
                   .rd_data                  (tx_fifo_data)
                   );
                   );
 
 
async_fifo #(W,DP,0,0) u_mac_rxfifo (
async_fifo #(W,DP,0,0) u_mac_rxfifo (
                   .wr_clk                   (phy_rx_clk),
                   .wr_clk                   (phy_rx_clk),
                   .wr_reset_n               (rx_reset_n),
                   .wr_reset_n               (rx_reset_n),
                   .wr_en                    (rx_fifo_wr_o),
                   .wr_en                    (rx_fifo_wr_o),
                   .wr_data                  (rx_fifo_data_o),
                   .wr_data                  (rx_fifo_data_o),
                   .full                     (rx_fifo_full_i), // sync'ed to wr_clk
                   .full                     (rx_fifo_full_i), // sync'ed to wr_clk
 
                   .afull                    (rx_fifo_afull_i), // sync'ed to wr_clk
                   .wr_total_free_space      (),
                   .wr_total_free_space      (),
 
 
                   .rd_clk                   (app_clk),
                   .rd_clk                   (app_clk),
                   .rd_reset_n               (app_reset_n),
                   .rd_reset_n               (app_reset_n),
                   .rd_en                    (app_rxfifo_rden_i),
                   .rd_en                    (app_rxfifo_rden_i),
                   .empty                    (app_rxfifo_empty_o),  // sync'ed to rd_clk
                   .empty                    (app_rxfifo_empty_o),  // sync'ed to rd_clk
 
                   .aempty                   (app_rxfifo_aempty_o), // sync'ed to rd_clk
                   .rd_total_aval            (app_rxfifo_cnt_o),
                   .rd_total_aval            (app_rxfifo_cnt_o),
                   .rd_data                  (app_rxfifo_rdata_o)
                   .rd_data                  (app_rxfifo_rdata_o)
                   );
                   );
 
 
 
 

powered by: WebSVN 2.1.0

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