diff --git a/hdl/fpga/platforms/bladerf/modelsim/compile.do b/hdl/fpga/platforms/bladerf/modelsim/compile.do index 06e95382..74940ac0 100644 --- a/hdl/fpga/platforms/bladerf/modelsim/compile.do +++ b/hdl/fpga/platforms/bladerf/modelsim/compile.do @@ -1,17 +1,17 @@ source ../../../ip/nuand/nuand.do -compile_nuand ../../../ip/nuand +compile_nuand ../../../ip/nuand bladerf vcom -work nuand -2008 ../../../ip/altera/pll/pll.vhd vcom -work nuand -2008 ../../../ip/altera/fx3_pll/fx3_pll.vhd -vcom -work nuand -2008 ../../../ip/altera/rx_fifo/rx_fifo.vhd -vcom -work nuand -2008 ../../../ip/altera/tx_fifo/tx_fifo.vhd -vcom -work nuand -2008 ../../../ip/altera/tx_meta_fifo/tx_meta_fifo.vhd -vcom -work nuand -2008 ../../../ip/altera/rx_meta_fifo/rx_meta_fifo.vhd vcom -work nuand -2008 ../vhdl/tb/nios_system.vhd -vcom -work nuand -2008 ../vhdl/fx3_gpif_p.vhd -vcom -work nuand -2008 ../vhdl/fx3_gpif.vhd +vcom -work nuand -2008 ../../common/bladerf/vhdl/fx3_gpif_p.vhd +vcom -work nuand -2008 ../../common/bladerf/vhdl/fx3_gpif.vhd + +vcom -work nuand -2008 ../../../ip/nuand/lms6_spi_controller/vhdl/lms6_spi_controller.vhd +vcom -work nuand -2008 ../../../ip/nuand/synthesis/lms6002d/vhdl/bladerf_agc_lms_drv.vhd +vcom -work nuand -2008 ../../../ip/nuand/synthesis/lms6002d/vhdl/bladerf_agc.vhd vcom -work nuand -2008 ../vhdl/bladerf.vhd vcom -work nuand -2008 ../vhdl/bladerf_p.vhd diff --git a/hdl/fpga/platforms/bladerf/vhdl/tb/nios_system.vhd b/hdl/fpga/platforms/bladerf/vhdl/tb/nios_system.vhd index 1d9c48a1..eb0c21b2 100644 --- a/hdl/fpga/platforms/bladerf/vhdl/tb/nios_system.vhd +++ b/hdl/fpga/platforms/bladerf/vhdl/tb/nios_system.vhd @@ -46,7 +46,16 @@ entity nios_system is tx_trigger_ctl_in_port : in std_logic_vector(7 downto 0); tx_trigger_ctl_out_port : out std_logic_vector(7 downto 0); rx_trigger_ctl_in_port : in std_logic_vector(7 downto 0); - rx_trigger_ctl_out_port : out std_logic_vector(7 downto 0) + rx_trigger_ctl_out_port : out std_logic_vector(7 downto 0); + arbiter_request : in std_logic_vector(1 downto 0); + arbiter_granted : out std_logic_vector(1 downto 0); + arbiter_ack : in std_logic_vector(1 downto 0); + agc_dc_i_max_export : out std_logic_vector(15 downto 0); + agc_dc_q_max_export : out std_logic_vector(15 downto 0); + agc_dc_i_mid_export : out std_logic_vector(15 downto 0); + agc_dc_q_mid_export : out std_logic_vector(15 downto 0); + agc_dc_i_min_export : out std_logic_vector(15 downto 0); + agc_dc_q_min_export : out std_logic_vector(15 downto 0) ); end entity ; @@ -83,5 +92,17 @@ begin xb_gpio_out_port <= (others =>'0') ; xb_gpio_dir_export <= (others =>'0') ; + tx_trigger_ctl_out_port <= (others => '0'); + rx_trigger_ctl_out_port <= (others => '0'); + + arbiter_granted <= (others => '0'); + + agc_dc_i_max_export <= (others => '0'); + agc_dc_q_max_export <= (others => '0'); + agc_dc_i_mid_export <= (others => '0'); + agc_dc_q_mid_export <= (others => '0'); + agc_dc_i_min_export <= (others => '0'); + agc_dc_q_min_export <= (others => '0'); + end architecture ;