Skip to content

Commit

Permalink
axi_ad9152: Updates for ad_dds phase acc wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiGrozav committed Jul 18, 2018
1 parent a2d3c87 commit 8cd8815
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions library/axi_ad9152/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ ALTERA_DEPS += ../altera/common/up_xfer_cntrl_constr.sdc
ALTERA_DEPS += ../altera/common/up_xfer_status_constr.sdc
ALTERA_DEPS += ../common/ad_dds.v
ALTERA_DEPS += ../common/ad_dds_1.v
ALTERA_DEPS += ../common/ad_dds_2.v
ALTERA_DEPS += ../common/ad_dds_cordic_pipe.v
ALTERA_DEPS += ../common/ad_dds_sine.v
ALTERA_DEPS += ../common/ad_dds_sine_cordic.v
ALTERA_DEPS += ../common/ad_rst.v
ALTERA_DEPS += ../common/up_axi.v
ALTERA_DEPS += ../common/up_clock_mon.v
Expand Down
4 changes: 4 additions & 0 deletions library/axi_ad9152/axi_ad9152.v
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ module axi_ad9152 #(
parameter ID = 0,
parameter DAC_DDS_TYPE = 1,
parameter DAC_DDS_CORDIC_DW = 16,
parameter DAC_DDS_CORDIC_PHASE_DW = 16,
parameter DAC_DATAPATH_DISABLE = 0) (

// jesd interface
Expand Down Expand Up @@ -91,6 +92,9 @@ module axi_ad9152 #(
.ID(ID),
.NUM_LANES(4),
.NUM_CHANNELS(2),
.DAC_DDS_TYPE (DAC_DDS_TYPE),
.DAC_DDS_CORDIC_DW (DAC_DDS_CORDIC_DW),
.DAC_DDS_CORDIC_PHASE_DW (DAC_DDS_CORDIC_PHASE_DW),
.DAC_DATAPATH_DISABLE(DAC_DATAPATH_DISABLE)
) i_dac_jesd204 (
.link_clk (tx_clk),
Expand Down
3 changes: 3 additions & 0 deletions library/axi_ad9152/axi_ad9152_hw.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ set_module_property DISPLAY_NAME axi_ad9152
ad_ip_files axi_ad9152 [list \
$ad_hdl_dir/library/altera/common/ad_mul.v \
$ad_hdl_dir/library/common/ad_dds_sine.v \
$ad_hdl_dir/library/common/ad_dds_cordic_pipe.v \
$ad_hdl_dir/library/common/ad_dds_sine_cordic.v \
$ad_hdl_dir/library/common/ad_dds_2.v \
$ad_hdl_dir/library/common/ad_dds_1.v \
$ad_hdl_dir/library/common/ad_dds.v \
$ad_hdl_dir/library/common/ad_rst.v \
Expand Down

0 comments on commit 8cd8815

Please sign in to comment.