hdl: move fx3_gpif_tb to micro specific testbench
This commit is contained in:
parent
c479b54415
commit
231b050414
3 changed files with 18 additions and 11 deletions
|
|
@ -22,13 +22,3 @@ proc waves_fx3_gpif { } {
|
|||
add wave -radix hexadecimal -expand -group gpif sim:/fx3_gpif_tb/U_fx3_gpif/*
|
||||
add wave -radix hexadecimal -expand -group model sim:/fx3_gpif_tb/U_fx3_model/*
|
||||
}
|
||||
|
||||
if [info exists root] {
|
||||
compile_fx3_gpif $root
|
||||
} else {
|
||||
# We assume we're in hdl/quartus/work/bladerf-micro/simulation/modelsim
|
||||
compile_fx3_gpif [file join [pwd] .. .. .. .. .. fpga ip nuand]
|
||||
}
|
||||
|
||||
simulate_fx3_gpif
|
||||
waves_fx3_gpif
|
||||
|
|
|
|||
|
|
@ -51,13 +51,18 @@ proc compile_nuand { root platform } {
|
|||
vcom -work nuand -2008 [file join $root ./synthesis/fifo_readwrite_p.vhd]
|
||||
vcom -work nuand -2008 [file join $root ./synthesis/fifo_reader.vhd]
|
||||
vcom -work nuand -2008 [file join $root ./synthesis/fifo_writer.vhd]
|
||||
vcom -work nuand -2008 [file join $root ./simulation/sample_stream_tb.vhd]
|
||||
|
||||
vcom -work nuand -2008 [file join $root ./trigger/trigger.vhd]
|
||||
vcom -work nuand -2008 [file join $root ./synthesis/signal_generator.vhd]
|
||||
|
||||
vcom -work nuand -2008 [file join $root ./synthesis/rx_packet_generator.vhd]
|
||||
|
||||
vcom -work nuand -2008 [file join $root ./synthesis/set_clear_ff.vhd]
|
||||
|
||||
vcom -work nuand -2008 [file join $root ./pll_reset/vhdl/pll_reset.vhd]
|
||||
vcom -work nuand -2008 [file join $root ./ps_sync/vhdl/ps_sync.vhd]
|
||||
}
|
||||
|
||||
proc compile_nuand_tb { root platform } {
|
||||
vcom -work nuand -2008 [file join $root ./simulation/sample_stream_tb.vhd]
|
||||
}
|
||||
|
|
|
|||
12
hdl/fpga/platforms/bladerf-micro/modelsim/fx3_gpif_tb.do
Normal file
12
hdl/fpga/platforms/bladerf-micro/modelsim/fx3_gpif_tb.do
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
source ../../../ip/nuand/nuand.do
|
||||
|
||||
vcom -work nuand -2008 ../vhdl/rx.vhd
|
||||
vcom -work nuand -2008 ../vhdl/tx.vhd
|
||||
|
||||
vlib rtl_work
|
||||
vcom -work rtl_work -2008 ../../../ip/altera/fx3_pll/fx3_pll.vhd
|
||||
|
||||
compile_nuand ../../../ip/nuand bladerf-micro
|
||||
|
||||
vcom -work nuand -2008 ../vhdl/tb/fx3_model.vhd
|
||||
vcom -work nuand -2008 ../vhdl/tb/fx3_gpif_tb.vhd
|
||||
Loading…
Add table
Add a link
Reference in a new issue