Commit Graph

330 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
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
Keith Rothman 26d8024402 Use sort key for sets.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-18 06:39:20 -08:00
Keith Rothman 822a61e2f6 Do not sort already ordered data.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-18 06:39:20 -08:00
Keith Rothman 72ad5d0c4d Add wire filtering to create_timing_worksheet_db.py
This is useful to focus on specific nets.

Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-13 13:41:40 -08:00
Keith Rothman d95eefc8de Fix some bugs present timing analysis script.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-02-13 13:19:46 -08:00
Tim 'mithro' Ansell 18cd6aff1c xjson: Support sets + add doctest.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-02-11 08:42:14 -08:00
Tim 'mithro' Ansell 0362854b05 Don't sort the CSV fields.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-02-10 12:04:09 -08:00
Tim 'mithro' Ansell 8b560d0d02 utils: Fix broken sorting of tileconn.json
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-02-10 11:07:56 -08:00
Tim 'mithro' Ansell 3c91c98e03 Fix the sorting stage.
- 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.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
2020-02-10 08:12:16 -08:00
Alessandro Comodi c4faa02c51 fasm2frames: imported correctly util
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2020-01-24 10:13:33 +01:00
Alessandro Comodi d4f3c5ce80 fix checkdb.py
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 93d448e135 fixing tests
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 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
Maciej Kurc 2172b0f797 Added emission of STEPDOWN features for HCLK_IOI3 tile too.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-12-17 10:15:35 +01:00
Maciej Kurc 781dc05479 Fixed another bug in fasm2frames.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-12-16 13:07:48 +01:00
Maciej Kurc f35a52715f Fixed a bug in fasm2frames.py
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-12-16 10:53:17 +01:00
Maciej Kurc 75bea28719 Code formatting.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-12-11 17:20:05 +01:00
Maciej Kurc d8e0bb7b31 Fixed bug with fasm feature splitting.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-12-11 17:12:22 +01:00
Maciej Kurc 2c391890e3 Ran make format
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-12-11 17:12:22 +01:00
Maciej Kurc 906046a3c4 Added unittest for enabling the STEPDOWN feature.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-12-11 17:12:22 +01:00
Maciej Kurc 15032c9943 Added emission of STEPDOWN feature for unused IOBs of a bank in which at least one site has it set.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-12-11 17:11:50 +01:00
Maciej Kurc 4502fc14e6 fasm2frames parameter "--part" made mandatory if XRAY_PART is not set, removed emitting common features for all parts if the part is not given.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-12-10 17:54:54 +01:00
Maciej Kurc 4d3059982d Updated fasm2frames test.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-12-10 14:51:23 +01:00
Maciej Kurc 634593ee06 Changed the way that required features are to be stored in the db.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-12-10 13:49:51 +01:00
Maciej Kurc 726d744fca Changed JSON format for required features.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-12-10 13:20:44 +01:00
Maciej Kurc 6b234bf484 Added support for having a set of required features in the prjxray db.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-12-09 13:40:05 +01:00
Jake Mercer c05b4b0406 MAKE - Format Trailing Whitespace
Add `make format-trailing-ws`.  This recipe finds all _files_ (not
links) known to Git and uses `sed` to remove trailing whitespace.

Signed-off-by: Jake Mercer <jake.mercer@civica.co.uk>
2019-10-26 10:04:52 +01:00
litghost c94cb0224c
Revert "Whitespace" 2019-10-23 14:22:17 -07:00
Jake Mercer bf11f43390 FORMAT - Run `make format`
Changes after running `make format`.  Future commits which add
whitespace should be caught by CI at the PR stage.

Signed-off-by: Jake Mercer <jake.mercer@civica.co.uk>
2019-10-22 19:35:24 +01:00
Keith Rothman 9ff2ed732c Handle case when PUDC_B pin function is not found.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-10-15 13:45:48 -07:00
Keith Rothman c0b8aef3a9 Add pin functions to tilegrid.
- Add support to emit PUDC_B pullup if unused (for A7 and Z7 fabrics).

Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-10-14 16:38:02 -07:00
Tomasz Michalak a9f4399591 utils: sp6_bitstream_analyzer: Fix formatting
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-09-25 08:52:57 +02:00
Tomasz Michalak 8054f88d40 utils: sp6_bitstream_analyzer: Convert f-string to str.format()
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-09-25 07:39:36 +02:00
Tomasz Michalak d59247d9c6 utils: Add Spartan6 bitstream analyzer tool
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-09-25 07:39:36 +02:00
Maciej Kurc eeed1fbfa9 Ran format-py
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-08-05 13:49:41 +02:00
Maciej Kurc 078dda081b Utility scripts for viewing/comparing segbit files (.db and .rdb)
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-08-05 13:48:53 +02:00
Maciej Kurc ba486f8c71 Added pushing xIOI3 bits to the database also for [LR]IOI3_TBYTESRC and [LR]IOI3_TBYTETERM
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-07-23 13:35:21 +02:00
litghost ae526981a2
Merge pull request #946 from antmicro/idelay-fuzzer
Fuzzer for IDELAY
2019-07-22 10:04:36 -07:00
Tomasz Michalak 727d5ca377 fuzzers: Add fuzzer for HCLK_IOI3 PIPs
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-07-19 08:19:00 +02:00
Maciej Kurc c9ce06f688 Fixed mergedb.sh to support IOI3 tiles
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2019-07-18 09:17:24 +02:00
Tomasz Michalak f5ba30a81c 038-cfg: Add fuzzer for the CFG tile
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2019-07-13 07:10:18 +02:00
Keith Rothman 444f214561 Run make format.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-07-08 11:23:33 -07:00
Keith Rothman f92fb52576 Merge branch 'master' into add_pll_interconnect_fuzzer 2019-07-08 11:22:49 -07:00
Keith Rothman 3d1fade706 Change error output to stderr.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-07-08 11:21:43 -07:00
Keith Rothman 68ad409d23 Refactor PLL segbits to leverage known register file.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-07-03 13:18:53 -07:00
Karol Gugala eaa8e50fe1 utils: sdfmerge: use ns timescale
Signed-off-by: Karol Gugala <kgugala@antmicro.com>
2019-06-29 14:12:08 +02:00
Keith Rothman 816c87a393 Do not require zero features to have zero bits, but do ignore them.
During database building, zero features may have other bits.  For now,
ignore the fact that zero features have non-zero bits.

Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2019-06-20 09:38:47 -07:00