| 1 |
# Convenience variable |
| 2 |
set here $::quartus(qip_path) |
| 3 |
set common_dir [file normalize [file join $here ../common/bladerf]] |
| 4 |
set altera_ip [file normalize [file join $here ../../ip/altera]] |
| 5 |
set adi_ip [file normalize [file join $here ../../ip/analogdevicesinc]] |
| 6 |
set nuand_ip [file normalize [file join $here ../../ip/nuand]] |
| 7 |
set opencores_ip [file normalize [file join $here ../../ip/opencores]] |
| 8 |
|
| 9 |
# Altera IP |
| 10 |
set_global_assignment -name VHDL_FILE [file normalize [file join $altera_ip common_dcfifo/common_dcfifo.vhd]] |
| 11 |
set_global_assignment -name VHDL_FILE [file normalize [file join $altera_ip clk_ctrl/clk_ctrl.vhd]] |
| 12 |
set_global_assignment -name VHDL_FILE [file normalize [file join $here vhdl/wrappers/tx_fifo.vhd]] |
| 13 |
set_global_assignment -name VHDL_FILE [file normalize [file join $here vhdl/wrappers/tx_meta_fifo.vhd]] |
| 14 |
set_global_assignment -name VHDL_FILE [file normalize [file join $here vhdl/wrappers/rx_fifo.vhd]] |
| 15 |
set_global_assignment -name VHDL_FILE [file normalize [file join $here vhdl/wrappers/rx_meta_fifo.vhd]] |
| 16 |
set_global_assignment -name VHDL_FILE [file normalize [file join $here vhdl/wrappers/lb_fifo.vhd]] |
| 17 |
set_global_assignment -name VERILOG_FILE [file normalize system_pll/system_pll.v] |
| 18 |
set_global_assignment -name QIP_FILE [file normalize system_pll/system_pll.qip] |
| 19 |
set_global_assignment -name VERILOG_FILE [file normalize fx3_pll/fx3_pll.v] |
| 20 |
set_global_assignment -name QIP_FILE [file normalize fx3_pll/fx3_pll.qip] |
| 21 |
|
| 22 |
# Nuand IP |
| 23 |
set_global_assignment -name VHDL_FILE [file normalize [file join $nuand_ip synthesis/signal_generator.vhd]] |
| 24 |
set_global_assignment -name VHDL_FILE [file normalize [file join $nuand_ip synthesis/synchronizer.vhd]] |
| 25 |
set_global_assignment -name VHDL_FILE [file normalize [file join $nuand_ip synthesis/handshake.vhd]] |
| 26 |
set_global_assignment -name VHDL_FILE [file normalize [file join $nuand_ip synthesis/reset_synchronizer.vhd]] |
| 27 |
set_global_assignment -name VHDL_FILE [file normalize [file join $nuand_ip synthesis/fifo_readwrite_p.vhd]] |
| 28 |
set_global_assignment -name VHDL_FILE [file normalize [file join $nuand_ip synthesis/fifo_reader.vhd]] |
| 29 |
set_global_assignment -name VHDL_FILE [file normalize [file join $nuand_ip synthesis/fifo_writer.vhd]] |
| 30 |
set_global_assignment -name VHDL_FILE [file normalize [file join $nuand_ip synthesis/set_clear_ff.vhd]] |
| 31 |
set_global_assignment -name VHDL_FILE [file normalize [file join $nuand_ip synthesis/rx_packet_generator.vhd]] |
| 32 |
set_global_assignment -name VHDL_FILE [file normalize [file join $nuand_ip trigger/trigger.vhd]] |
| 33 |
set_global_assignment -name QIP_FILE [file normalize [file join $nuand_ip pll_reset/pll_reset.qip]] |
| 34 |
set_global_assignment -name VHDL_FILE [file normalize [file join $nuand_ip ps_sync/vhdl/ps_sync.vhd]] |
| 35 |
|
| 36 |
# Implementation Details |
| 37 |
set_global_assignment -name VHDL_FILE [file normalize [file join $common_dir vhdl/fx3_gpif_p.vhd]] |
| 38 |
set_global_assignment -name VHDL_FILE [file normalize [file join $common_dir vhdl/fx3_gpif.vhd]] |
| 39 |
set_global_assignment -name VHDL_FILE [file normalize [file join $here vhdl/tx.vhd]] |
| 40 |
set_global_assignment -name VHDL_FILE [file normalize [file join $here vhdl/rx.vhd]] |
| 41 |
set_global_assignment -name VHDL_FILE [file normalize [file join $here vhdl/bladerf-hosted.vhd]] |
| 42 |
set_global_assignment -name QIP_FILE [file normalize nios_system/synthesis/nios_system.qip] |
| 43 |
|
| 44 |
# Explicitly include Nios mem_init |
| 45 |
set_global_assignment -name QIP_FILE [file normalize bladeRF_nios/mem_init/meminit.qip] |