Skip to content

Commit 0f4024a

Browse files
committed
projects/ad4052_ardz: fix and update
Fixes quartus scripts for ad4052 in quartus. Also adds optimization options for timing closure of the project. Removes wrong timing constraints for the coraz7s. Signed-off-by: Carlos Souza <[email protected]>
1 parent 262bfba commit 0f4024a

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

projects/ad4052_ardz/common/ad4052_qsys.tcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ add_connection sys_dma_clk.clk_reset axi_dmac_0.m_dest_axi_reset
139139
add_connection spi_engine_interconnect_0.m_cmd spi_engine_execution_0.cmd
140140
add_connection spi_engine_execution_0.sdi_data spi_engine_interconnect_0.m_sdi
141141
add_connection spi_engine_interconnect_0.m_sdo spi_engine_execution_0.sdo_data
142+
add_connection spi_engine_interconnect_0.m_offload_active_ctrl spi_engine_execution_0.s_offload_active_ctrl
142143
add_connection spi_engine_execution_0.sync spi_engine_interconnect_0.m_sync
143144

144145
add_connection axi_spi_engine_0.cmd spi_engine_interconnect_0.s1_cmd

projects/ad4052_ardz/coraz7s/system_constr.xdc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,3 @@ set_property -dict {PACKAGE_PIN N18 IOSTANDARD LVCMOS33} [get_ports adc
1515
# rename auto-generated clock for SPIEngine to spi_clk - 160MHz
1616
# NOTE: clk_fpga_0 is the first PL fabric clock, also called $sys_cpu_clk
1717
create_generated_clock -name spi_clk -source [get_pins -filter name=~*CLKIN1 -of [get_cells -hier -filter name=~*spi_clkgen*i_mmcm]] -master_clock clk_fpga_0 [get_pins -filter name=~*CLKOUT0 -of [get_cells -hier -filter name=~*spi_clkgen*i_mmcm]]
18-
19-
# relax the SDO path to help closing timing at high frequencies
20-
set_multicycle_path -setup 8 -to [get_cells -hierarchical -filter {NAME=~*/data_sdo_shift_reg[*]}] -from [get_clocks spi_clk]
21-
set_multicycle_path -hold 7 -to [get_cells -hierarchical -filter {NAME=~*/data_sdo_shift_reg[*]}] -from [get_clocks spi_clk]
22-
set_multicycle_path -setup 8 -to [get_cells -hierarchical -filter {NAME=~*/spi_adc_execution/inst/left_aligned_reg*}] -from [get_clocks spi_clk]
23-
set_multicycle_path -hold 7 -to [get_cells -hierarchical -filter {NAME=~*/spi_adc_execution/inst/left_aligned_reg*}] -from [get_clocks spi_clk]

projects/ad4052_ardz/de10nano/system_project.tcl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to adc_cnv
3939
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to adc_gp0
4040
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to adc_gp1
4141

42+
#ad4052 requires both options for closing time
43+
set_global_assignment -name OPTIMIZATION_TECHNIQUE SPEED
4244
set_global_assignment -name OPTIMIZATION_MODE "HIGH PERFORMANCE EFFORT"
4345

4446
execute_flow -compile

0 commit comments

Comments
 (0)