- added ethernet MAC

Committed on the Free edition of March Hare Software CVSNT Server.
Upgrade to CVS Suite for more features and support:
http://march-hare.com/cvsnt/


git-svn-id: http://moon:8086/svn/vhdl/trunk@846 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2010-03-29 10:11:02 +00:00
parent a6ba2eeec5
commit d7c023950b
2 changed files with 75 additions and 3 deletions
+9 -1
View File
@@ -92,6 +92,14 @@ vcom -explicit -93 "../../../lib/ac97_ctrl/src/core/ac_in.vhd"
vcom -explicit -93 "../../../lib/ac97_ctrl/src/core/ac_io.vhd"
vcom -explicit -93 "../../../lib/ac97_ctrl/src/core/ac97_wb.vhd"
# Ethernet MAC
vcom -explicit -93 "../../../lib/emac/src/emac_types.vhd"
vcom -explicit -93 "../../../lib/emac/src/piso.vhd"
vcom -explicit -93 "../../../lib/emac/src/sipo.vhd"
vcom -explicit -93 "../../../lib/emac/src/emac_rx.vhd"
vcom -explicit -93 "../../../lib/emac/src/emac_tx.vhd"
vcom -explicit -93 "../../../lib/emac/src/emac_top_jb.vhd"
# Clock Generator
vcom -explicit -93 "../src/clockgen_virtex4.vhd"
@@ -104,4 +112,4 @@ do {tb_mips_sys.wdo}
view wave
view structure
view signals
run 10ms
run 10 ms
+66 -2
View File
@@ -9,6 +9,21 @@ add wave -noupdate -format Logic /tb_mips_sys/sys_clk_in
add wave -noupdate -format Literal /tb_mips_sys/dip
add wave -noupdate -format Literal /tb_mips_sys/btn
add wave -noupdate -format Literal /tb_mips_sys/led
add wave -noupdate -format Logic /tb_mips_sys/sys_phy_rstn
add wave -noupdate -format Logic /tb_mips_sys/sys_phy_mdc
add wave -noupdate -format Logic /tb_mips_sys/sys_phy_mdio
add wave -noupdate -format Logic /tb_mips_sys/sys_phy_int
add wave -noupdate -format Logic /tb_mips_sys/mdi_rx_clk
add wave -noupdate -format Logic /tb_mips_sys/mdi_rx_dv
add wave -noupdate -format Logic /tb_mips_sys/mdi_rx_er
add wave -noupdate -format Literal -radix hexadecimal /tb_mips_sys/mdi_rx
add wave -noupdate -format Logic /tb_mips_sys/mdi_tx_clk
add wave -noupdate -format Logic /tb_mips_sys/mdi_tx_en
add wave -noupdate -format Logic /tb_mips_sys/mdi_tx_er
add wave -noupdate -format Literal -radix hexadecimal /tb_mips_sys/mdi_tx
add wave -noupdate -format Logic /tb_mips_sys/mdi_gtx_clk
add wave -noupdate -format Logic /tb_mips_sys/mdi_crs
add wave -noupdate -format Logic /tb_mips_sys/mdi_col
add wave -noupdate -format Logic /tb_mips_sys/sys_ps2_clk
add wave -noupdate -format Logic /tb_mips_sys/sys_ps2_data
add wave -noupdate -format Logic /tb_mips_sys/sys_rx
@@ -80,6 +95,55 @@ add wave -noupdate -divider Arbiter
add wave -noupdate -format Literal /tb_mips_sys/uut/arb_idx
add wave -noupdate -format Literal /tb_mips_sys/uut/arb_req
add wave -noupdate -format Literal /tb_mips_sys/uut/arb_gnt
add wave -noupdate -divider {Ethernet MAC}
add wave -noupdate -format Literal -radix hexadecimal /tb_mips_sys/eth_tx_reg
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/clk_i
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/rst_i
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/int_o
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/cyc_i
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/stb_i
add wave -noupdate -format Literal /tb_mips_sys/uut/inst_emac_jb/sel_i
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/we_i
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/ack_o
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/srdy_o
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/mrdy_i
add wave -noupdate -format Literal -radix hexadecimal /tb_mips_sys/uut/inst_emac_jb/addr_i
add wave -noupdate -format Literal -radix hexadecimal /tb_mips_sys/uut/inst_emac_jb/dat_i
add wave -noupdate -format Literal -radix hexadecimal /tb_mips_sys/uut/inst_emac_jb/dat_o
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/mdi_rx_clk
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/mdi_rx_dv
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/mdi_rx_er
add wave -noupdate -format Literal -radix hexadecimal /tb_mips_sys/uut/inst_emac_jb/mdi_rx
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/mdi_tx_clk
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/mdi_tx_en
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/mdi_tx_er
add wave -noupdate -format Literal -radix hexadecimal /tb_mips_sys/uut/inst_emac_jb/mdi_tx
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/mdi_gtx_clk
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/mdi_crs
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/mdi_col
add wave -noupdate -format Literal -radix hexadecimal /tb_mips_sys/uut/inst_emac_jb/tx_fifo_din
add wave -noupdate -format Literal -radix hexadecimal /tb_mips_sys/uut/inst_emac_jb/tx_fifo_dout
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/tx_fifo_we
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/tx_fifo_re
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/tx_fifo_empty
add wave -noupdate -format Literal -radix hexadecimal /tb_mips_sys/uut/inst_emac_jb/rx_fifo_din
add wave -noupdate -format Literal -radix hexadecimal /tb_mips_sys/uut/inst_emac_jb/rx_fifo_dout
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/rx_fifo_we
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/rx_fifo_re
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/rx_fifo_empty
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/rx_busy
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/tx_busy
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/rx_int_en
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/tx_int_en
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/irq_rx
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/irq_tx
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/tx_trig
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/rx_trig
add wave -noupdate -format Logic /tb_mips_sys/uut/inst_emac_jb/tx_err
add wave -noupdate -format Literal -radix hexadecimal /tb_mips_sys/uut/inst_emac_jb/tx_size
add wave -noupdate -format Literal -radix hexadecimal /tb_mips_sys/uut/inst_emac_jb/rx_size
add wave -noupdate -format Literal -radix hexadecimal /tb_mips_sys/uut/inst_emac_jb/tx_counter
add wave -noupdate -format Literal -radix hexadecimal /tb_mips_sys/uut/inst_emac_jb/rx_counter
add wave -noupdate -divider AC97
add wave -noupdate -format Logic /tb_mips_sys/uut/sys_ac97_sdata_in
add wave -noupdate -format Logic /tb_mips_sys/uut/sys_ac97_bit_clk
@@ -357,7 +421,7 @@ add wave -noupdate -format Literal -radix hexadecimal /tb_mips_sys/uut/inst_mips
add wave -noupdate -format Literal -radix hexadecimal /tb_mips_sys/uut/inst_mips_top/inst_biu/inst_dcache/cpu_cache_index
add wave -noupdate -format Literal -radix hexadecimal /tb_mips_sys/uut/inst_mips_top/inst_biu/inst_dcache/cpu_word_index
TreeUpdate [SetDefaultTree]
WaveRestoreCursors {{Cursor 2} {551697643 ps} 0} {{Cursor 100} {1433233472 ps} 0} {{Cursor 3} {12889952362 ps} 0}
WaveRestoreCursors {{Cursor 2} {7817800000 ps} 0} {{Cursor 100} {98503600 ps} 0} {{Cursor 3} {12889952362 ps} 0}
configure wave -namecolwidth 187
configure wave -valuecolwidth 64
configure wave -justifyvalue left
@@ -371,4 +435,4 @@ configure wave -gridperiod 100
configure wave -griddelta 40
configure wave -timeline 1
update
WaveRestoreZoom {0 ps} {1050 us}
WaveRestoreZoom {3858715392 ps} {10323225506 ps}