| 1 |
proc compile_nuand { root platform } { |
| 2 |
vlib nuand |
| 3 |
|
| 4 |
vcom -work nuand -2008 [file join $root ./synthesis/constellation_mapper.vhd] |
| 5 |
vcom -work nuand -2008 [file join $root ./synthesis/sync_fifo.vhd] |
| 6 |
vcom -work nuand -2008 [file join $root ./synthesis/uart.vhd] |
| 7 |
|
| 8 |
vcom -work nuand -2008 [file join $root ./synthesis/cordic.vhd] |
| 9 |
vcom -work nuand -2008 [file join $root ./synthesis/nco.vhd] |
| 10 |
vcom -work nuand -2008 [file join $root ./synthesis/fsk_modulator.vhd] |
| 11 |
vcom -work nuand -2008 [file join $root ./synthesis/fsk_demodulator.vhd] |
| 12 |
vcom -work nuand -2008 [file join $root ./synthesis/uart.vhd] |
| 13 |
|
| 14 |
vcom -work nuand -2008 [file join $root ./synthesis/tan_table.vhd] |
| 15 |
vcom -work nuand -2008 [file join $root ./synthesis/iq_correction.vhd] |
| 16 |
|
| 17 |
vcom -work nuand -2008 [file join $root ./synthesis/synchronizer.vhd] |
| 18 |
vcom -work nuand -2008 [file join $root ./synthesis/reset_synchronizer.vhd] |
| 19 |
vcom -work nuand -2008 [file join $root ./synthesis/handshake.vhd] |
| 20 |
vcom -work nuand -2008 [file join $root ./synthesis/tb/handshake_tb.vhd] |
| 21 |
|
| 22 |
vcom -work nuand -2008 [file join $root ./synthesis/signal_processing_p.vhd] |
| 23 |
|
| 24 |
vcom -work nuand -2008 [file join $root ../altera/common_dcfifo/common_dcfifo.vhd] |
| 25 |
|
| 26 |
if { ($platform == "bladerf") || ($platform == "bladerf-micro") } { |
| 27 |
vcom -work nuand -2008 [file join $root ../../platforms/${platform}/vhdl/wrappers/lb_fifo.vhd] |
| 28 |
vcom -work nuand -2008 [file join $root ../../platforms/${platform}/vhdl/wrappers/rx_fifo.vhd] |
| 29 |
vcom -work nuand -2008 [file join $root ../../platforms/${platform}/vhdl/wrappers/tx_fifo.vhd] |
| 30 |
vcom -work nuand -2008 [file join $root ../../platforms/${platform}/vhdl/wrappers/rx_meta_fifo.vhd] |
| 31 |
vcom -work nuand -2008 [file join $root ../../platforms/${platform}/vhdl/wrappers/tx_meta_fifo.vhd] |
| 32 |
} else { |
| 33 |
# Don't error out because it might not matter... |
| 34 |
puts "WARNING: Unknown platform: ${platform}" |
| 35 |
} |
| 36 |
|
| 37 |
vcom -work nuand -2008 [file join $root ./synthesis/bit_stripper.vhd] |
| 38 |
vcom -work nuand -2008 [file join $root ./synthesis/fir_filter.vhd] |
| 39 |
vcom -work nuand -2008 [file join $root ./synthesis/atsc_tx.vhd] |
| 40 |
vcom -work nuand -2008 [file join $root ./simulation/util.vhd] |
| 41 |
vcom -work nuand -2008 [file join $root ./synthesis/tb/fir_filter_tb.vhd] |
| 42 |
|
| 43 |
vcom -work nuand -2008 [file join $root ./synthesis/tb/atsc_tx_tb.vhd] |
| 44 |
|
| 45 |
vcom -work nuand -2008 [file join $root ../../platforms/common/bladerf/vhdl/fx3_gpif_p.vhd] |
| 46 |
vcom -work nuand -2008 [file join $root ./simulation/fx3_model.vhd] |
| 47 |
vcom -work nuand -2008 [file join $root ./simulation/lms6002d_model.vhd] |
| 48 |
|
| 49 |
vcom -work nuand -2008 [file join $root ./synthesis/lms6002d/vhdl/lms6002d.vhd] |
| 50 |
vcom -work nuand -2008 [file join $root ./synthesis/lms6002d/vhdl/tb/lms6002d_tb.vhd] |
| 51 |
|
| 52 |
vcom -work nuand -2008 [file join $root ./synthesis/fifo_readwrite_p.vhd] |
| 53 |
vcom -work nuand -2008 [file join $root ./synthesis/fifo_reader.vhd] |
| 54 |
vcom -work nuand -2008 [file join $root ./synthesis/fifo_writer.vhd] |
| 55 |
|
| 56 |
vcom -work nuand -2008 [file join $root ./trigger/trigger.vhd] |
| 57 |
vcom -work nuand -2008 [file join $root ./synthesis/signal_generator.vhd] |
| 58 |
|
| 59 |
vcom -work nuand -2008 [file join $root ./synthesis/rx_packet_generator.vhd] |
| 60 |
|
| 61 |
vcom -work nuand -2008 [file join $root ./synthesis/set_clear_ff.vhd] |
| 62 |
|
| 63 |
vcom -work nuand -2008 [file join $root ./pll_reset/vhdl/pll_reset.vhd] |
| 64 |
vcom -work nuand -2008 [file join $root ./ps_sync/vhdl/ps_sync.vhd] |
| 65 |
|
| 66 |
vcom -work nuand -2008 [file join $root ./rfic_spi_controller/vhdl/rfic_spi_controller.vhd] |
| 67 |
vcom -work nuand -2008 [file join $root ./synthesis/bladerf_rfic_spi_ctrl.vhd] |
| 68 |
} |
| 69 |
|
| 70 |
proc compile_nuand_tb { root platform } { |
| 71 |
vcom -work nuand -2008 [file join $root ./simulation/sample_stream_tb.vhd] |
| 72 |
vcom -work nuand -2008 [file join $root ./simulation/rfic_spi_tb.vhd] |
| 73 |
} |