Commit Graph

6403 Commits (468d02ea509d3bb7b32e218b1d451c128927e8b8)

Author SHA1 Message Date
Jorge Marques 468d02ea50 docs: update link roles, .gitignore
Update link roles to use the "text <link>" standard sphinx syntax.
Add __pycache__ and _build to .gitignore

Signed-off-by: Jorge Marques <jorge.marques@analog.com>
2023-09-27 14:36:34 -03:00
Jorge Marques 0597373d62 docs: review fixes
Signed-off-by: Jorge Marques <jorge.marques@analog.com>
2023-09-27 14:36:34 -03:00
Jorge Marques cf056cf81c docs: add regmap directive
Automate table generation for register maps.
Based on tfcollins' vger python scripts.
There are docs/adi_regmap_*.txt with more than one regmap per file,
so the logic changed to allow that.
Using title tool as the unique identifier now.
It has a global option to set the default state (hidden or visible)
for the collpasible tables.
Also remove CSVs.

Signed-off-by: Jorge Marques <jorge.marques@analog.com>
2023-09-27 14:36:34 -03:00
Jorge Marques 83d2bf9603 docs: automate parameters and interfaces tables
Uses Vivado generated components.xml files.
If the file is not found/generated, there is a fallback method.
Also, define bibliography per project, not globally.

Signed-off-by: Jorge Marques <jorge.marques@analog.com>
2023-09-27 14:36:34 -03:00
Jorge Marques ef9c98f9b9 docs: Include sphinx documentation
The parameters directive allows to almost automatically generate the
parameters table.
It allows to add rich descriptions to the parameters, such as references,
while checking if they exist in the *_hw.tcl file a obtaining the types
and default values.
However, it cannot obtain parameters generated from a foreach loop yet,
making it incompatible with the axi_dmac_hw.tcl file for example.
This commit also joins the other extensions into a single adi_links
extension.

Signed-off-by: Jorge Marques <jorge.marques@analog.com>
2023-09-27 14:36:34 -03:00
AndreiGrozav 9f824554aa up_dac_channel: Cosmetic additions 2023-09-26 18:39:28 +03:00
AndreiGrozav a4add963d4 ad9361: Add support for config DDS phase resolution 2023-09-26 18:39:28 +03:00
AndreiGrozav 92be583369 ad_ip_jesd204_tpl_dac: Increase DDS phase DW support
Allow upto 32 bit phase data width support.
2023-09-26 18:39:28 +03:00
AndreiGrozav 782b27e894 DAC DDS: Add support for DDS phase width > 16
Add support for DDS phase width greather than 16.
The software should read the DDS phase data width register and configure
the DDS init and increment registers accordingly, otherwise the obtained
DDS output frequency will not be the desired one for DDS phase width
different than 16.

DDS_incr = (f_out * 2^(phase_width) * clkratio)/f_if
2023-09-26 18:39:28 +03:00
PopPaul2021 f5184b4e14 projects/cn0501: Removed CN0501 project.
The CN0501 project was removed because the board development was
canceled.

Signed-off-by: PopPaul2021 <Paul.Pop@analog.com>
2023-09-21 09:00:57 +03:00
Jem Geronimo 91ec36f417
projects/scripts/project-intel.mk: change 'system_top.v' to '$(wildcard system_top*.v)' (#1169)
Change necessary to build intel projects with different system_top verilog files.
This was patterned to ae09b8a1bb/projects/scripts/project-xilinx.mk (L70)

Signed-off-by: Jem Geronimo <Johnerasmusmari.Geronimo@analog.com>
2023-09-07 15:52:04 +08:00
Iulia Moldovan 8668c52fe7 LICENSE_ADIBSD: Add short identifier
Signed-off-by: Iulia Moldovan <Iulia.Moldovan@analog.com>
2023-09-07 10:45:49 +03:00
Iulia Moldovan ff7b8ef6ae Add LICENSE_ADIJESD204. Delete jesd204/README.md
Signed-off-by: Iulia Moldovan <Iulia.Moldovan@analog.com>
2023-09-07 10:45:49 +03:00
Iulia Moldovan 860010e050 library/common/tb/tb_base.v: Update license header
* Removed the commercial JESD license and put the ADIBSD or GPL v2 like
   for other Verilog files

Signed-off-by: Iulia Moldovan <Iulia.Moldovan@analog.com>
2023-09-07 10:45:49 +03:00
Iulia Moldovan 0590a4046c Add copyright & license for all files needing ADI JESD specific license
* Added every year when the file was edited, with comma
 * Range if it's consecutive years

Signed-off-by: Iulia Moldovan <Iulia.Moldovan@analog.com>
2023-09-07 10:45:49 +03:00
AndreiGrozav 49cf0f7ae3 project-xilinx: Update the generic dependency list
The generic project dependency list contains:
system_top*.v
system_bd.tcl
system_project.tcl
system_constr.xdc
This items will not be included in the auto generated makefiles. But
used as generic dependency.

This commit adds:
-wildcard check of system_constr*.xdc.
-wildcard check of system_constr*.tcl.
2023-09-07 10:44:10 +03:00
AndreiGrozav aa11f4311c xilinx/ad_data_in.v: Add SDR support 2023-09-07 10:43:29 +03:00
alin724 c8a131ec0a ad7606x: Add dynamic configuration for AD7606X operation modes
AD7606x operation mode configuration:
REG_CNTRL_3
bit 8 - 'b1 - set operation mode indicated in bits [7:0];
bit [7:0] - set desired operation mode: 0 - SIMPLE, 1 - CRC, 2 - STATUS_HEADER, 3 - CRC_STATUS
2023-09-06 17:09:22 +03:00
ladace ae09b8a1bb
cn0561: Fixed critical warning during make (#1159)
The busy_sync pulse was replaced by an axi pwm generator IP, so the
constraint in xdc file is no longer needed.
2023-08-22 12:17:17 +03:00
AndrDragomir e42877d337 scripts/adi_fmc_constr_generator: Fix intel constr generation
Signed-off-by: AndrDragomir <andrei.dragomir@analog.com>
2023-08-14 18:05:02 +03:00
AndrDragomir fa2d520bf0 ad9213_evb: Add design
Signed-off-by: AndrDragomir <andrei.dragomir@analog.com>
2023-08-14 17:58:37 +03:00
Filip Gherman fc2437a83a ad9213_evb: Initial commit
Signed-off-by: AndrDragomir <andrei.dragomir@analog.com>
2023-08-14 17:58:37 +03:00
Iulia Moldovan cfb795f5f5 .gitignore: Ignore CODEOWNERS and PR template
Signed-off-by: Iulia Moldovan <Iulia.Moldovan@analog.com>
2023-08-11 11:57:20 +03:00
Stefan Raus 9c446a16d0 Add CODEOWNERS and PULL_REQUEST_TEMPLATE files
Add files CODEOWNERS, filled with owners per each hdl project and some IPs.
Specific code owners will be automatically added as reviewers, whenever new
PRs are opened, depending on affected folders/files from repo.
CODEOWNERS file can be different on each branch.

PULL_REQUEST_TEMPLATE.md content will populate all new PR description field.
Beside PR description, it contains a list of checkboxes, ensuring all
team members follow the same guidelines and enforce best practices.
PR Template applies for PRs against repository's default branch.

Both files were added in .github

Signed-off-by: Stefan Raus <Stefan.Raus@analog.com>
2023-08-09 18:08:24 +03:00
Iulia Moldovan 5c9b271f3a Fix error regarding hierarchy that Vivado misses
* Solution from here: https://support.xilinx.com/s/article/69320?language=en_US
 * Added in:
  * util_cdc
  * util_cic
  * jesd204_rx/tx
  * util_upack2
  * axi_jesd204_common: used in axi_jesd204_rx/tx
  * axi_jesd204_rx/tx
  * jesd_common

Signed-off-by: Iulia Moldovan <Iulia.Moldovan@analog.com>
2023-08-01 18:12:40 +03:00
laurentiu_popa 8d0b6ba486 projects: Update incomplete/inaccurate readmes
Signed-off-by: laurentiu_popa <Laurentiu.Popa@analog.com>
2023-07-31 09:35:39 +03:00
laurent-19 b03d985e9d projects: Update readmes all projects initial version
Signed-off-by: laurent-19 <laurentiu.popa@analog.com>
2023-07-31 09:35:39 +03:00
laurentiu_popa e8b583802a projects: Update readmes initial commit
Signed-off-by: laurentiu_popa <Laurentiu.Popa@analog.com>
2023-07-31 09:35:39 +03:00
Alin-Tudor Sferle ea29a37eae adi_xilinx_device_info: Update speed_grade_list 2023-07-25 19:49:33 +03:00
Iulia Moldovan c9a7d4d927 Add copyright and license to .tcl, .ttcl files
Signed-off-by: Iulia Moldovan <Iulia.Moldovan@analog.com>
2023-07-25 15:22:26 +03:00
Iulia Moldovan 1cac2d82e1 Add copyright and license to .xdc files
Signed-off-by: Iulia Moldovan <Iulia.Moldovan@analog.com>
2023-07-25 11:03:02 +03:00
Iulia Moldovan 27bb69b44c Add copyright and license to .sdc files
Signed-off-by: Iulia Moldovan <Iulia.Moldovan@analog.com>
2023-07-25 10:41:40 +03:00
Alin-Tudor Sferle a031cba1d5 project_xilinx.tcl: Fix the regex expression for Kria KV260 evaluation board 2023-07-19 11:32:10 +03:00
Iulia Moldovan 86c9847c5f Add copyright & license to .sh, .yml, .pl files. Edit Makefile for KV260
* Updated the Makefile for KV260 template as the copyright was not generated
   properly

Signed-off-by: Iulia Moldovan <Iulia.Moldovan@analog.com>
2023-07-11 18:39:55 +03:00
Iulia Moldovan 28c06d505f Add/edit copyright and license for .v, .sv files
Signed-off-by: Iulia Moldovan <Iulia.Moldovan@analog.com>
2023-07-11 15:17:41 +03:00
Iulia Moldovan 2f35ce8a51 check_guideline.py: Change copyright format checker
* Added copyright and license header
 * Updated files on which it runs on
 * SystemVerilog not to be supported, since now there are some pkg files
 that do not have the format of a Verilog file, thus making the
 checker to fail all the time -- which is not good
 * Now it can run on files which contain JESD in their paths, because
   now all of them have the copyright on the same line (but the
 copyright inside the JESD license can't be checked yet by the script)

Signed-off-by: Iulia Moldovan <Iulia.Moldovan@analog.com>
2023-07-11 15:12:28 +03:00
Iulia Moldovan d6ff3a35ab LICENSE_*: Update the year and format of the copyright
* It should be "Copyright (C) year-year Analog Devices, Inc. All rights reserved."

Signed-off-by: Iulia Moldovan <Iulia.Moldovan@analog.com>
2023-07-11 15:12:28 +03:00
Jorge Marques 15250232f9
axi_dmac: Fix constraints coverage and empty to list warnings
Due to nets being optimized at IP-level during the no-OOC synthesis flow,
constraints related to req_clk (request clock) were not being applied,
causing the design to not meet timing.
The fix considers the synchronous modes, appending the possible resulting
req_clk's names after the synthesis flow.

Due to grounded signals in the DMA_TYPE_SRC != DMA_TYPE_STREAM_AXI config.,
sync_rewind is removed during synthesis, even so, constraints were
trying to be applied to those nets.
To resolve this, sync_rewind block was moved to inside the generate.
Vivado seems to properly suppress "Empty list" warnings when the circuit does not exist because of a generate rule.

Signed-off-by: Jorge Marques <jorge.marques@analog.com>
Signed-off-by: Ionut Podgoreanu <ionut.podgoreanu@analog.com>
2023-07-10 12:28:59 +00:00
AndreiGrozav 8b15d66302 Rename pluto_ng to jupiter_sdr plus RevB updates
Update license according to the latest format
2023-06-30 09:14:07 +03:00
Iulia Moldovan c5cbbfe022 docs: Add HDL PR process documentation
Signed-off-by: Iulia Moldovan <Iulia.Moldovan@analog.com>
2023-05-30 13:13:15 +03:00
Bogdan Luncan 3f0a487b2e ad9082/vck190: Add initial design
ADC Mode 27: L=8, M=4, S=4, NP=12, LaneRate=24.75 GSPS
DAC Mode 35: L=8, M=4, S=4, NP=12, LaneRate=24.75 GSPS

Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
2023-05-16 12:13:55 +03:00
Bogdan Luncan 80fe536863 ad9081/vck190/system_project: Change the default profile
ADC Mode 26: L=8, M=8, S=2, NP=12, LaneRate=24.75 GSPS
DAC Mode 24: L=8, M=8, S=2, NP=12, LaneRate=24.75 GSPS

Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
2023-05-16 12:13:55 +03:00
Bogdan Luncan 294b681196 ad9081: Proper reset sequence for versal transceivers
- Removes the reset_tx_pll_and_datapath_in reset
- Connects gtreset_in to make use of the master reset found inside
the Transceiver Bridge IP
- Connects the necessary signals for the master reset between the
Transceiver Wizard and Transceiver Bridge

ad9209/vck190/system_top: Connect versal transceiver reset

Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
2023-05-16 12:13:55 +03:00
alin724 e530b3feec adrv9001_zcu102: Reduce allowed clock skew for rx*_dclkout in lvds_constr.xdc 2023-05-15 11:41:56 +03:00
Iulia Moldovan d18ea43bb6 m2k: Fix CW for slave segments without an address space
The following CWs appeared (even in Vivado version 2021.2):
 * CRITICAL WARNING: [BD 41-1356] Slave segment </sys_ps7/S_AXI_HP1/HP1_DDR_LOWOCM> is not assigned into address space </axi_rd_wr_combiner_logic/m_axi>. Please use Address Editor to either assign or exclude it.
 * CRITICAL WARNING: [BD 41-1356] Slave segment </sys_ps7/S_AXI_HP2/HP2_DDR_LOWOCM> is not assigned into address space </axi_rd_wr_combiner_converter/m_axi>. Please use Address Editor to either assign or exclude it.

Signed-off-by: Iulia Moldovan <Iulia.Moldovan@analog.com>
2023-05-15 10:40:27 +03:00
alin724 0f3462c83b template_kv260: Add template design for kv260 evaluation board 2023-05-12 16:06:19 +03:00
LIacob106 830b5aecb6 projects: 9009: system_project.tcl: List configs as comments
Add a list with make commands with the proper parameters for each devicetree
availible at the moment.

Signed-off-by: LIacob106 <liviu.iacob@analog.com>
2023-05-12 14:17:05 +03:00
Bogdan Luncan b03fac4b37 ad9209: Initial vck190 design
Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
2023-05-10 12:59:58 +03:00
Bogdan Luncan e1af7837da ad9081: Parameters and header update
Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
2023-05-10 12:59:58 +03:00
Bogdan Luncan b21fb3a0e0 ad9081/common: Added ad9081_fmc.txt
Signed-off-by: Bogdan Luncan <bogdan.luncan@analog.com>
2023-05-10 12:59:58 +03:00