- Prepared with FIFO for decimating FIR

git-svn-id: http://moon:8086/svn/vhdl/trunk@219 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2009-01-10 19:22:15 +00:00
parent 937e129a55
commit 170a65237b
3 changed files with 140 additions and 8 deletions
+5 -1
View File
@@ -20,6 +20,9 @@ vcom -explicit -93 "../../nco/src/mix_cordic.vhd"
vcom -explicit -93 "../../decimator/CIC/src/cic_i_pipe.vhd"
vcom -explicit -93 "../../decimator/CIC/src/cic_c_pipe.vhd"
vcom -explicit -93 "../../decimator/CIC/src/cic_decim_pipe.vhd"
vcom -explicit -93 "../../../FIFO/src/fifo_ctrl_pkg.vhd"
vcom -explicit -93 "../../../FIFO/src/sync_fifo_ctrl.vhd"
vcom -explicit -93 "../../../FIFO/src/fifo_sync.vhd"
vcom -explicit -93 "../src/ddc.vhd"
vcom -explicit -93 "../src/tb_ddc.vhd"
vsim -t 1ps -lib work tb_ddc
@@ -27,4 +30,5 @@ do {tb_ddc.wdo}
view wave
view structure
view signals
run 200us
run 1000us
+15 -2
View File
@@ -77,6 +77,19 @@ add wave -noupdate -format Analog-Step -height 50 -scale 10.0 /tb_ddc/ddc_q_out_
add wave -noupdate -format Analog-Step -height 50 -scale 10.0 /tb_ddc/rfgen_i_out_f
add wave -noupdate -format Analog-Step -height 50 -scale 10.0 /tb_ddc/rfgen_q_out_f
add wave -noupdate -divider CFIR
add wave -noupdate -format Logic /tb_ddc/uut/cfir_write_i
add wave -noupdate -format Logic /tb_ddc/uut/cfir_ready_i
add wave -noupdate -format Logic /tb_ddc/uut/cfir_ready_q
add wave -noupdate -format Logic /tb_ddc/uut/cfir_start_i
add wave -noupdate -format Logic /tb_ddc/uut/cfir_start_q
add wave -noupdate -format Logic /tb_ddc/uut/cfir_din_vld_i
add wave -noupdate -format Logic /tb_ddc/uut/cfir_din_vld_q
add wave -noupdate -format Logic /tb_ddc/uut/fifo_empty_i
add wave -noupdate -format Logic /tb_ddc/uut/fifo_empty_q
add wave -noupdate -format Logic /tb_ddc/uut/fifo_empty_i
add wave -noupdate -format Logic /tb_ddc/uut/fifo_empty_q
add wave -noupdate -format Literal -radix decimal /tb_ddc/uut/cfir_din_i
add wave -noupdate -format Literal -radix decimal /tb_ddc/uut/cfir_din_q
add wave -noupdate -format Literal -radix decimal /tb_ddc/uut/cfir_dout_i
add wave -noupdate -format Literal -radix decimal /tb_ddc/uut/cfir_dout_q
add wave -noupdate -format Logic /tb_ddc/uut/cfir_vld_i
@@ -96,7 +109,7 @@ add wave -noupdate -format Literal /tb_ddc/uut/cfir_i/coef_we
add wave -noupdate -format Literal /tb_ddc/uut/cfir_i/coef_din
add wave -noupdate -format Literal -radix decimal /tb_ddc/uut/cfir_i/coef_dout
TreeUpdate [SetDefaultTree]
WaveRestoreCursors {{Cursor 1} {43136228 ps} 0}
WaveRestoreCursors {{Cursor 1} {2590000 ps} 0}
configure wave -namecolwidth 150
configure wave -valuecolwidth 100
configure wave -justifyvalue left
@@ -110,4 +123,4 @@ configure wave -gridperiod 100
configure wave -griddelta 40
configure wave -timeline 1
update
WaveRestoreZoom {632157 ps} {934886 ps}
WaveRestoreZoom {98190775 ps} {100095223 ps}