From cacd986ff2cb5bc727ef0288569ae6320614a83b Mon Sep 17 00:00:00 2001 From: sarpadi Date: Mon, 28 Oct 2024 13:14:30 +0200 Subject: [PATCH] ad7124/de10nano: Change SYS SPI ref clock to 80MHz Signed-off-by: sarpadi --- projects/ad7124_asdz/de10nano/system_qsys.tcl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/projects/ad7124_asdz/de10nano/system_qsys.tcl b/projects/ad7124_asdz/de10nano/system_qsys.tcl index 599c2208c6..7632bda216 100755 --- a/projects/ad7124_asdz/de10nano/system_qsys.tcl +++ b/projects/ad7124_asdz/de10nano/system_qsys.tcl @@ -14,6 +14,14 @@ set_instance_parameter_value sys_gpio_in {irqType} {EDGE} set_instance_parameter_value sys_spi {clockPolarity} {0} set_instance_parameter_value sys_spi {targetClockRate} {20000000.0} +# change sys spi ref clock to 80MHz + +remove_connection sys_clk.clk/sys_spi.clk +remove_connection sys_clk.clk_reset/sys_spi.reset + +add_connection sys_dma_clk.clk sys_spi.clk +add_connection sys_dma_clk.clk_reset sys_spi.reset + #system ID set_instance_parameter_value axi_sysid_0 {ROM_ADDR_BITS} {9} set_instance_parameter_value rom_sys_0 {ROM_ADDR_BITS} {9}