Skip to content

Commit

Permalink
ad469x/de10nano: Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
sarpadi committed Nov 18, 2024
1 parent 9648269 commit 60f8726
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
1 change: 0 additions & 1 deletion projects/ad469x_evb/common/ad469x_qsys.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ set_interface_property ad469x_spi_trigger EXPORT_OF spi_engine_offload_0.if_trig
set_interface_property ad469x_spi_cnv EXPORT_OF ad469x_trigger_gen.if_pwm_0
set_interface_property ad469x_spi_resetn EXPORT_OF reset_bridge_0.out_reset


add_connection axi_spi_engine_0.if_spi_resetn reset_bridge_0.in_reset

# clocks
Expand Down
2 changes: 1 addition & 1 deletion projects/ad469x_evb/de10nano/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Auto-generated, do not modify!
####################################################################################

PROJECT_NAME := ad469x_fmc_de10nano
PROJECT_NAME := ad469x_evb_de10nano

M_DEPS += ../common/ad469x_qsys.tcl
M_DEPS += ../../scripts/adi_pd.tcl
Expand Down
2 changes: 1 addition & 1 deletion projects/ad469x_evb/de10nano/system_constr.sdc
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
###############################################################################

create_clock -period "20.000 ns" -name sys_clk [get_ports {sys_clk}]
create_clock -period "16.666 ns" -name usb1_clk [get_ports {usb1_clk}]
create_clock -period "16.666 ns" -name usb1_clk [get_ports {usb1_clk}]
5 changes: 2 additions & 3 deletions projects/ad469x_evb/de10nano/system_project.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ source ../../scripts/adi_project_intel.tcl
# 0 - CNV signal is linked to PWM
# 1 - CNV signal is linked to SPI_CS


adi_project ad469x_fmc_de10nano [list \
adi_project ad469x_evb_de10nano [list \
SPI_4WIRE [get_env_param SPI_4WIRE 0] \
]

Expand Down Expand Up @@ -63,4 +62,4 @@ set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ad469x_spi_sclk
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to i2c_scl
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to i2c_sda

execute_flow -compile
execute_flow -compile
5 changes: 3 additions & 2 deletions projects/ad469x_evb/de10nano/system_qsys.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ if [info exists ad_project_dir] {
#system ID
set_instance_parameter_value axi_sysid_0 {ROM_ADDR_BITS} {9}
set_instance_parameter_value rom_sys_0 {ROM_ADDR_BITS} {9}

set_instance_parameter_value rom_sys_0 {PATH_TO_FILE} "[pwd]/mem_init_sys.txt"

sysid_gen_sys_init_file;
set sys_cstring "SPI_4WIRE=$ad_project_params(SPI_4WIRE)"

sysid_gen_sys_init_file;

0 comments on commit 60f8726

Please sign in to comment.