Skip to content

Commit 74352a8

Browse files
projects/ad9265_fmc: Solved the requested changes
Updated the HDL project and the documentation. Reverted the changes used for debugging. Signed-off-by: Cristian Mihai Popa <cristianmihai.popa@analog.com>
1 parent 85aa24d commit 74352a8

File tree

7 files changed

+46
-31
lines changed

7 files changed

+46
-31
lines changed

docs/projects/ad9265_fmc/index.rst

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -58,25 +58,20 @@ Block diagram
5858
Clock scheme
5959
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6060

61-
There are 3 ways to configure the clock source for :adi:`AD9265` (some
62-
modification maybe necessary).
61+
There are 3 ways to configure the clock source for :adi:`AD9265`:
6362

6463
- External passive clock (default)
6564
- Optional active clock path using the :adi:`AD9517`
6665
- Optional oscillator
6766

6867
For more details, check :adi:`AD9265` schematic.
6968

70-
7169
CPU/Memory interconnects addresses
7270
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7371

7472
The addresses are dependent on the architecture of the FPGA, having an offset
7573
added to the base address from HDL (see more at :ref:`architecture`).
7674

77-
Depending on the values of parameters $INTF_CFG, $ADI_PHY_SEL and $TDD_SUPPORT,
78-
some IPs are instatiated and some are not.
79-
8075
Check-out the table below to find out the conditions.
8176

8277
==================== ===============
@@ -89,9 +84,6 @@ axi_ad9265_dma 0x44A30000
8984
SPI connections
9085
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9186

92-
THESE ARE JUST EXAMPLES!!!
93-
USE WHICHEVER FITS BEST YOUR CASE
94-
9587
.. list-table::
9688
:widths: 25 25 25 25
9789
:header-rows: 1
@@ -104,20 +96,12 @@ USE WHICHEVER FITS BEST YOUR CASE
10496
- SPI 0
10597
- AD9517
10698
- 1
107-
* - PS
108-
- SPI 1
109-
- AD0000
110-
- 0
11199

112100
Interrupts
113101
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114102

115103
Below are the Programmable Logic interrupts used in this project.
116104

117-
You have many ways of writing this table: as a list-table or really to draw
118-
it. Take a look in the .rst of this page to see how they're written and
119-
which suits best your case.
120-
121105
.. list-table::
122106
:widths: 30 10 15 15
123107
:header-rows: 1
@@ -141,8 +125,8 @@ the source you must
141125
`clone <https://git-scm.com/book/en/v2/Git-Basics-Getting-a-Git-Repository>`__
142126
the HDL repository.
143127

144-
Then go to the project location(**projects/ad9265_fmc/carrier**) and run the make command by
145-
typing in your command prompt(this example :adi:`ZC706``):
128+
Then go to the project location (**projects/ad9265_fmc/carrier**) and run the make command by
129+
typing in your command prompt(this example :xilinx:`ZC706`):
146130

147131
**Linux/Cygwin/WSL**
148132

@@ -174,7 +158,7 @@ Hardware related
174158
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
175159

176160
- Product datasheets: :adi:`AD9265`
177-
- :dokuwiki:`Evaluating AD9434, user guide <resources/eval/ad9265-fmc-125ebz>`
161+
- :dokuwiki:`Evaluating AD9265, user guide <resources/eval/ad9265-fmc-125ebz>`
178162

179163
HDL related
180164
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -189,7 +173,7 @@ HDL related
189173
- Source code link
190174
- Documentation link
191175
* - AXI_AD9265
192-
- :git-hdl:`library/axi_ad9434 <library/axi_ad9265>`
176+
- :git-hdl:`library/axi_ad9265 <library/axi_ad9265>`
193177
- ---
194178
* - AXI_DMAC
195179
- :git-hdl:`library/axi_dmac <library/axi_dmac>`
@@ -198,7 +182,7 @@ HDL related
198182
- :git-hdl:`library/axi_clkgen <library/axi_clkgen>`
199183
- :dokuwiki:`[Wiki] <resources/fpga/docs/axi_clkgen>`
200184
* - AXI_HDMI_TX
201-
- :git-hdl:`library/axi_hdmi_tx <library/axi_ad9434>`
185+
- :git-hdl:`library/axi_hdmi_tx <library/axi_hdmi_tx>`
202186
- :dokuwiki:`[Wiki] <resources/fpga/docs/axi_hdmi_tx>`
203187
* - AXI_SPDIF_TX
204188
- :git-hdl:`library/axi_spdif_tx <library/axi_spdif_tx>`
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
FMC_pin FMC_port Schematic_name System_top_name IOSTANDARD Termination
2+
3+
# ad9265
4+
5+
H4 CLK0_M2C_P DCO+_GLOBAL adc_clk_in_p LVDS_25 DIFF_TERM TRUE
6+
H5 CLK0_M2C_N DCO-_GLOBAL adc_clk_in_n LVDS_25 DIFF_TERM TRUE
7+
8+
D14 LA09_P D0/1+ adc_data_in_p[0] LVDS_25 DIFF_TERM TRUE
9+
D15 LA09_N D0/1- adc_data_in_n[0] LVDS_25 DIFF_TERM TRUE
10+
C10 LA06_P D2/3+ adc_data_in_p[1] LVDS_25 DIFF_TERM TRUE
11+
C11 LA06_N D2/3- adc_data_in_n[1] LVDS_25 DIFF_TERM TRUE
12+
H13 LA07_P D4/5+ adc_data_in_p[2] LVDS_25 DIFF_TERM TRUE
13+
H14 LA07_N D4/5- adc_data_in_n[2] LVDS_25 DIFF_TERM TRUE
14+
G12 LA08_P D6/7+ adc_data_in_p[3] LVDS_25 DIFF_TERM TRUE
15+
G13 LA08_N D6/7- adc_data_in_n[3] LVDS_25 DIFF_TERM TRUE
16+
H10 LA04_P D8/9+ adc_data_in_p[4] LVDS_25 DIFF_TERM TRUE
17+
H11 LA04_N D8/9- adc_data_in_n[4] LVDS_25 DIFF_TERM TRUE
18+
D11 LA05_P D10/11+ adc_data_in_p[5] LVDS_25 DIFF_TERM TRUE
19+
D12 LA05_N D10/11- adc_data_in_n[5] LVDS_25 DIFF_TERM TRUE
20+
H7 LA02_P D12/13+ adc_data_in_p[6] LVDS_25 DIFF_TERM TRUE
21+
H8 LA02_N D12/13- adc_data_in_n[6] LVDS_25 DIFF_TERM TRUE
22+
G9 LA03_P D14/15+ adc_data_in_p[7] LVDS_25 DIFF_TERM TRUE
23+
G10 LA03_N D14/15- adc_data_in_n[7] LVDS_25 DIFF_TERM TRUE
24+
D8 LA01_CC_P OR+ adc_data_or_p LVDS_25 DIFF_TERM TRUE
25+
D9 LA01_CC_N OR- adc_data_or_n LVDS_25 DIFF_TERM TRUE
26+
27+
# spi
28+
29+
G36 LA33_P AD9517_CSB spi_csn_clk LVCMOS25 #N/A
30+
G37 LA33_N CSB spi_csn_adc LVCMOS25 #N/A
31+
H37 LA32_P SDIO spi_sdio LVCMOS25 #N/A
32+
H38 LA32_N SCLK spi_clk LVCMOS25 #N/A

projects/ad9265_fmc/zed/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
####################################################################################
2-
## Copyright (c) 2018 - 2023 Analog Devices, Inc.
2+
## Copyright (c) 2018 - 2024 Analog Devices, Inc.
33
### SPDX short identifier: BSD-1-Clause
44
## Auto-generated, do not modify!
55
####################################################################################

projects/ad9265_fmc/zed/system_bd.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
###############################################################################
2-
## Copyright (C) 2023 Analog Devices, Inc. All rights reserved.
2+
## Copyright (C) 2023-2024 Analog Devices, Inc. All rights reserved.
33
### SPDX short identifier: ADIBSD
44
###############################################################################
55

projects/ad9265_fmc/zed/system_constr.xdc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
###############################################################################
2-
## Copyright (C) 2014-2023 Analog Devices, Inc. All rights reserved.
2+
## Copyright (C) 2014-2024 Analog Devices, Inc. All rights reserved.
33
### SPDX short identifier: ADIBSD
44
###############################################################################
55

@@ -36,4 +36,4 @@ set_property -dict {PACKAGE_PIN A22 IOSTANDARD LVCMOS25} [get_ports spi_clk]
3636

3737
# clocks
3838

39-
create_clock -name adc_clk -period 3.33 [get_ports adc_clk_in_p]
39+
create_clock -name adc_clk -period 3.33 [get_ports adc_clk_in_p] ;

projects/ad9265_fmc/zed/system_project.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
###############################################################################
2-
## Copyright (C) 2023 Analog Devices, Inc. All rights reserved.
2+
## Copyright (C) 2023-2024 Analog Devices, Inc. All rights reserved.
33
### SPDX short identifier: ADIBSD
44
###############################################################################
55

projects/ad9265_fmc/zed/system_top.v

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ***************************************************************************
22
// ***************************************************************************
3-
// Copyright (C) 2023 Analog Devices, Inc. All rights reserved.
3+
// Copyright (C) 2023-2024 Analog Devices, Inc. All rights reserved.
44
//
55
// In this HDL repository, there are many different and unique modules, consisting
66
// of various HDL (Verilog or VHDL) components. The individual modules are
@@ -98,10 +98,9 @@ module system_top (
9898

9999
// internal signals
100100

101-
wire [ 1:0] spi_csn; // not sure if it's necessearry
102101
wire spi_miso;
103102
wire spi_mosi;
104-
103+
105104
wire [63:0] gpio_i;
106105
wire [63:0] gpio_o;
107106
wire [63:0] gpio_t;
@@ -111,7 +110,7 @@ module system_top (
111110
wire [ 1:0] iic_mux_sda_i_s;
112111
wire [ 1:0] iic_mux_sda_o_s;
113112
wire iic_mux_sda_t_s;
114-
113+
115114
wire [ 2:0] spi0_csn;
116115
wire spi0_clk;
117116
wire spi0_mosi;

0 commit comments

Comments
 (0)