Commit Graph

1257 Commits

Author SHA1 Message Date
Keith Rothman 222eefcece Use extract_numbers for sort keys to preserve previous DB output.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-18 10:45:22 -08:00
litghost 66916fb787
Merge pull request #1245 from antmicro/fix_1234
Fix for the lost IOB bits
2020-02-18 09:58:46 -08:00
litghost c0289c5948
Merge pull request #1186 from antmicro/in_term_group
Grouping of IN_TERM features
2020-02-18 09:20:31 -08:00
Keith Rothman 89761c1102 Add some sorting to JSON outputs.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-18 06:39:20 -08:00
Maciej Kurc 9183126bdd Fixed the 030 fuzzer to automatically detect where the PUDC_B site is.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-02-18 12:01:02 +01:00
litghost 541d88c999
Merge pull request #1229 from litghost/serdes_timing
I/OSERDES BEL timing
2020-02-13 07:41:43 -08:00
Maciej Kurc 014462de26 Ported tag grouping to dbfixup.py
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-02-13 13:47:32 +01:00
Tim Ansell db14b30fdb
Merge pull request #1230 from litghost/sorting-fix
Copy of #1226, remove use of xjson from `074`

>  - Rework how the `json` files are sorted (numbers are treated as numerics).
>  - Sort `csv` and `txt` files.
>  - Sort `segbits.*origin_info.db` files.
>  - Sort the grid file.
> 
> How this changes the output can be seen in https://github.com/SymbiFlow/prjxray-db/pull/11/files
2020-02-12 19:26:08 -08:00
Keith Rothman 7dfd4adaa8 Remove xjson from 074.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-12 14:43:15 -08:00
Keith Rothman 49b5a8cde6 Handle weird bel pins that aren't really clocks.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-12 12:59:14 -08:00
Keith Rothman 2f388235e4 Update doctests.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-11 20:55:07 -08:00
Keith Rothman ec69db772d Remove progressbar
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-11 20:50:50 -08:00
Keith Rothman 0c1a404ab1 Run make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-11 20:49:09 -08:00
Keith Rothman 564863ccad Refactor remaining function in tim2json.py
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-11 20:38:34 -08:00
Keith Rothman e17f9e8140 Refactor routines to read pins, props, and site pins.
Also fix Makefile intermediate.

Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-11 20:38:27 -08:00
Keith Rothman b9f8f962f1 Start of SERDES timing.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-11 16:52:12 -08:00
Maciej Kurc 1196f67f71 Moved the group.py script to the utils dir.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-02-11 12:24:34 +01:00
Maciej Kurc b20bae5341 Added grouping of IN_TERM features so they can be decoded unambigosly.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-02-11 12:24:34 +01:00
Keith Rothman 2678e7a3a7 Handle both jobserver-fds and jobserver-auth flags.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-10 14:50:46 -08:00
Tomasz Michalak de763a309c fuzzers: Add support for KiB, MiB and GiB units
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2020-01-29 12:33:13 +01:00
Maciej Kurc 45338f1af4 Reworked the PS7 port def. extractor so instead of a minitest its now a fuzzer.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-01-28 12:17:16 +01:00
litghost 3f0804a417
Merge pull request #1162 from antmicro/zynq_7020_tilegrid
Tilegrid generation for Zynq 7020
2020-01-27 19:24:07 -08:00
litghost e7667a8daf
Merge pull request #1212 from daveshah1/dspimprove
fuzzers: Improve DSP fuzzer
2020-01-27 07:18:21 -08:00
Alessandro Comodi 31cfa88344 generate both xc7010 and xc7020 parts
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-27 11:26:55 +01:00
Alessandro Comodi 5a8e10bba6 zynq: sorted and renamed ignored_wires in 074-dump_all fuzzer
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-27 11:26:55 +01:00
Tomasz Michalak ecab15cd39 zynq: 034-cmt-pll-pips: Remove Zynq specific workarounds
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2020-01-27 11:26:55 +01:00
David Shah 22213404a5 fuzzers: Improve DSP fuzzer
Signed-off-by: David Shah <dave@ds0.me>
2020-01-27 09:27:46 +00:00
Alessandro Comodi 895612c264 zynq: Add ignored wires for Zynq
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-27 10:21:38 +01:00
Alessandro Comodi b211908e26 zynq: fuzzers: Remove Zynq specific workarounds
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-27 10:21:38 +01:00
Alessandro Comodi fb26896dcb zynq: Allow LIOB baseaddr
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-27 10:21:38 +01:00
Tomasz Michalak 13ba74194a zynq: Add BRKH_INT_PSS tile type to fix assertion
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2020-01-27 10:20:22 +01:00
Alessandro Comodi 0b623982e5 divided harness and extra parts creation
There is an issue with the roi_harness creation, for which the
multi-process make does not correctly works for roi_harness target

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi 5ae155fd9c copy tileconn.json in the correct diretory
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi 117f3e51b2 revert 074 and 072 to use previous Makefile configuration
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi 4a0ca41077 roi_only: copy tilegrid and tileconn from equivalent part
005-tilegrid fuzzer cannot run for some parts as some of the IOBs are
not available, therefore the fuzzer exits with errors.

Instead, the tilegrid is copied from the specified equivalent part.

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi dfb0717f2c fix makefile part_only dependencies
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi 4849f49724 005-tilegrid: added comment on EXCLUDE_ROI env variable
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi 5db213293c 072-ordered_wires: better handling of Lock
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi 15d914f2c5 074-dump_all: changed ignored_wires location
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi 90d88bc7a2 fix roi_only parts
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi 88f7830456 addressed review comments
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi 9a88b77620 run make format
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi e464172e03 074-dump_all: exclude tiles and node that are in the excluded roi
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi cb9944d392 005-tilegrid: use variable for dependencies
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi 070931ec6e 074-dump_all: fix tilegrid location
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi 61cd47dc36 043-clk-rebuf-pips: fixed missing argument
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi 127412b5b9 fix wrong location of tilegrid and yaml
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi e84a1d63df 075-pins: create destination directory
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi e44027bcaf Move all part-specific files to dedicated directory
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi 3865c726f2 074-dump_all: increase jobs and tiles per job
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi 63bb8337f8 072-ordered_wires: increased parallel jobs.
This changes also the way the ordered wires final files are generated.
In fact, now, with the help of a Lock, all the suprocesses directly
access the final files, updating them. Once the write completes, the
temporary file is deleted.

This saves up disk space.

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi c5a33cb161 005-tilegrid: further increasing to 6 number of specimens for mmcm
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi e8a2777a17 005-tilegrid: reduce number of specimens
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi 5c829daa8c 005-tilegrid: fixed some over-specific settings in generate_full
Also added specimens to make some rquired fuzzers find all necessary
features

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi 93d1ae82f7 Enable the generation of extra part-dependents files
This change affects the extra-db target, by adding also the generation
of other part-dependent files, such as tilegrid, tileconn, and others.

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Keith Rothman cce638930c Add clock_region to tilegrid.json for constructing clock networks.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-12-14 22:28:22 -08:00
litghost cc9e00da8f
Merge pull request #1174 from antmicro/zynq_ps7_clocks
Zynq PS7 clocks
2019-12-12 13:05:29 -08:00
litghost 0d0a38cf52
Merge pull request #1175 from antmicro/zynq_ps7_ppips
Dumping PPIPs for Zynq PS7
2019-12-12 08:50:12 -08:00
Maciej Kurc 810473ef46 Disabled initialization of LIOB3/LIOI33 segbit files for Zynq7
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-12-12 17:20:53 +01:00
Maciej Kurc ef8d405bdb Added dumping of PPIPs for Zynq PS7 tiles and interconnects.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-12-12 09:57:41 +01:00
Maciej Kurc 0507f92345 Ran make format
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-12-12 09:31:59 +01:00
Maciej Kurc 24ccfb3bb5 Automatic inference of CLK_HROW with PS7 clocks, use of todo list for PS7 clock sources.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-12-11 22:39:04 +01:00
Maciej Kurc fb65464c42 A little hacky but working version.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-12-11 19:05:04 +01:00
Maciej Kurc d84c28b38c Modified fuzzer 075 to dump IO bank number for each pin.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-12-11 17:10:41 +01:00
Maciej Kurc 6086e6d6f5 Modified fuzzer 041 to solve Zynq PS7 FCLK clocks.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-12-11 16:25:45 +01:00
Maciej Kurc 7bd13efdcb WIP
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-12-10 15:21:28 +01:00
Maciej Kurc a4a033226f Modified fuzzer 001 to include required features for Zynq parts.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-12-10 14:38:24 +01:00
Alessandro Comodi 9401d1c730 071-ppips: fix wrong ppip in ioi tiles
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-12-05 16:40:33 +01:00
Tomasz Michalak 24070da931 001-part-yaml: Add iobanks information to part's json
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-12-02 21:39:32 +01:00
Maciej Kurc cc7ba29c6b Added forcing of manual routing through "BB" pips to toggle more bits.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-11-15 12:14:06 +01:00
Maciej Kurc 03b0b9cefc Added separate clock inputs for PLLs.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-11-15 12:13:49 +01:00
Maciej Kurc 6fd00834b2 Fixed bit names formatting.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-11-14 16:09:44 +01:00
Alessandro Comodi 99d31d2e67 071-ppips: skip HCLK_IOI_CK_IGCLK0 ppips addition
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-11-07 15:03:44 +01:00
litghost 4cec0817ab
Merge pull request #1080 from JakeMercer/dsp
DSP - Add Attribute Fuzzing
2019-11-04 08:16:53 -08:00
Alessandro Comodi 827081b3b5 hlck-ioi: fix empty list bug in generate.tcl
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-11-04 11:02:52 +01:00
Jake Mercer 6a3db24da1 FUZZER - DSP - Fixes Following Review
Signed-off-by: Jake Mercer <jake.mercer@civica.co.uk>
2019-11-02 11:43:12 +00:00
Jake Mercer 15cfb5bd46 FUZZER - DSP - Add Ports & ROI Module
Added code for ports to the DSP48E1 instances.  Moved DSP instances
inside an ROI module and using the verilog top harness as in other
fuzzers.

Signed-off-by: Jake Mercer <jake.mercer@civica.co.uk>
2019-11-02 11:43:12 +00:00
Jake Mercer e0fb0c0cb1 FUZZER - DSP - Refactor
Refactor the DSP Python scripts to be easier to manage.  Use JSON
instead of CSV.

Signed-off-by: Jake Mercer <jake.mercer@civica.co.uk>
2019-11-02 11:43:12 +00:00
Jake Mercer 596bb27e3b FUZZER - DSP - Add All Attributes
Added the rest of the DSP attributes; there are still some issues with mapping the bits.
AREG/BREG mode 2 will require inputs to be connected.

Signed-off-by: Jake Mercer <jmercer04@qub.ac.uk>
2019-11-02 11:43:12 +00:00
Jake Mercer 8da263c502 FUZZER - DSP - Refactor for Readability & Extensibility
Signed-off-by: Jake Mercer <jmercer04@qub.ac.uk>
2019-11-02 11:43:12 +00:00
Jake Mercer 624de250e8 FUZZER - DSP - Cleared Bits
Changed some tags to be prefixed with 'Z'; these bits are cleared and need the prefix to indicate
the inversion so that they are resolved to the DB correctly.

Signed-off-by: Jake Mercer <jmercer04@qub.ac.uk>
2019-11-02 11:43:12 +00:00
Jake Mercer 78d64f7558 FUZZER - DSP - Add AUTORESET_PATDET Attribute Fuzzing
Added fuzzing for the AUTORESET_PATDET attribute of the DSP48 block.  Values are RESET_MATCH,
NO_RESET, and RESET_NOT_MATCH; so this can be represented by 2 bits.

Signed-off-by: Jake Mercer <jmercer04@qub.ac.uk>
2019-11-02 11:43:12 +00:00
Jake Mercer c575adf8a0 FUZZER - DSP - Add A & B Input Attributes
Adding `A_INPUT` and `B_INPUT` attribute fuzzing for the DSP48 tiles.

Signed-off-by: Jake Mercer <jmercer04@qub.ac.uk>
2019-11-02 11:43:12 +00:00
Alessandro Comodi 13361904ee hclk-ioi: make 047a dependent on 47 to avoid race condition on piplist
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-10-31 17:00:33 +01:00
Alessandro Comodi 949cf722d1 hclk-ioi: re-add IDELAYCTRL to exclude-RE
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-10-31 12:04:43 +01:00
Alessandro Comodi b057e35e73 hclk-ioi: addressed review comments
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-10-31 11:58:11 +01:00
Alessandro Comodi 0cf48f337a hclk-ioi: re-added whole top.py file to avoid having const1
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-10-31 11:58:11 +01:00
Alessandro Comodi 1ad84b2b44 hclk-ioi: reduce probability of using lut output as BUFR clock
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-10-31 11:58:11 +01:00
Alessandro Comodi 2fb40d0232 hclk-ioi: moved IDELAYCTRL to new parallel fuzzer
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-10-31 11:58:11 +01:00
Alessandro Comodi 127022c2a9 hclk-ioi: added IMUX to BEFORE_DIV pips
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2019-10-31 11:58:11 +01:00
litghost 78cf96be0f
Merge pull request #1122 from JakeMercer/whitespace
Whitespace
2019-10-29 15:04:39 -07:00
Maciej Kurc b99bd85fa4 Added handling of routing failure in the TCL script.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-10-29 18:20:50 +01:00
Maciej Kurc 0377b5fb4c Disabled reading PIPs and PPIPs for "R" version of CMT tiles for Zynq7.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-10-29 17:43:10 +01:00
Maciej Kurc 573ee1a38d Fixed bug in tag_groups.txt
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-10-29 11:55:03 +01:00
Maciej Kurc bf380f2bdd PIPs and PPIPs are now not read from the db.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-10-29 11:50:40 +01:00
Maciej Kurc 8267bcdaeb Updated regex for PIP todo list.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-10-28 15:59:38 +01:00
Maciej Kurc 5ab90a604d Inceased N
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-10-28 15:59:38 +01:00
Maciej Kurc 355a571400 Removed the INTERNAL_FEEDBACK tag as it is the same as the PLLE2.COMPENSATION.INTENAL
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-10-28 15:59:38 +01:00
Maciej Kurc 4a6930694f Reworked fuzzer, added README.md
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-10-28 15:59:38 +01:00
Maciej Kurc 73c8652858 Ran make format_py
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-10-28 15:59:38 +01:00