Commit Graph

1414 Commits

Author SHA1 Message Date
Alessandro Comodi 8f199132c9 fuzzer: add 062-pcie-int-pips to Makefile
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-02-05 19:18:35 +01:00
Alessandro Comodi 711895765f 062-pcie-int-pips: add fuzzer to document PCIE_INT_INTERFACE DELAY PIPs
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-02-05 19:18:35 +01:00
litghost 06540c1a5d
Merge pull request #1577 from antmicro/065-increase-specimens
065-gtp-common-pips: increase specimens count
2021-02-05 09:03:31 -08:00
litghost ab542f713b
Merge pull request #1574 from antmicro/add-pcie-int-interface-tilegrid
005-tilegrid: add pcie_int_interface tile baseaddrs
2021-02-05 09:00:23 -08:00
Alessandro Comodi 940dd62c3c 065-gtp-common-pips: increase specimens count
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-02-04 13:10:31 +01:00
Alessandro Comodi 67b04455d1 005-tilegrid: pcie-int-interface: address review comments
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-02-04 12:35:36 +01:00
Alessandro Comodi cb272206a2 005-tilegrid: add pcie_int_interface tile baseaddrs
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-02-04 12:35:36 +01:00
Alessandro Comodi 5137498bcb 066-gtp-int-pips: add fuzzer for GTP_INT_INTERFACE DELAY PIPs
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-02-04 12:35:00 +01:00
Alessandro Comodi 53e1678dab
Merge pull request #1566 from antmicro/improve-063-gtp-fuzzer
063-gtp-common-conf: get features corresponding to IBUFDS -> GTP
2021-02-04 12:34:14 +01:00
litghost 42429e783a
Merge pull request #1572 from antmicro/add-gtp-int-interface-tilegrid
005-tilegrid: add gtp_int_interface tile baseaddress
2021-02-03 15:44:05 -08:00
Alessandro Comodi 8495f46d15 063-gtp-common-conf: fix naming of GTREFCLK features
- Also adds a README for the fuzzer

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-02-03 20:54:27 +01:00
Alessandro Comodi cb9e308f7a 063-gtp-common-conf: get features corresponding to IBUFDS -> GTP
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-02-03 20:54:27 +01:00
Alessandro Comodi f1bc93089e 005-tilegrid: add gtp_int_interface tile baseaddress
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-02-03 15:57:57 +01:00
Alessandro Comodi 6ad64bc4fa 065-gtp-common-pips: add comments
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-02-02 20:00:34 +01:00
Alessandro Comodi f48608dd1c 064-gtp-channel-conf: fix pushdb race condition issue
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-02-02 19:35:23 +01:00
Alessandro Comodi 9d89c64913 065-gtp-common-pips: assorted fixes to correctly solve all the PIPs
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-02-02 19:35:23 +01:00
Alessandro Comodi 618e170875 065-gtp-common-pips: enable fuzzer in makefile
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-02-02 19:35:23 +01:00
Alessandro Comodi 913a6ece40 pip fuzzers: enable part specific builds
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-02-02 19:35:23 +01:00
Alessandro Comodi 6e95748068 065-gtp-common-pips: add fuzzer to document GTP_COMMON_MID pips
Problems found:

- for some PIPs configurations, no bit is generated. For instance if
there are only connections with RX/TX from the GTP channel
- some missing PIPs with one bit only
- re-routing now correctly runs for every PIP

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-02-02 19:35:23 +01:00
Alessandro Comodi b81df3fe0d 064-gtp-channel-conf: add minor fixes to document missing features
Features enabled with these fixes:

- IN_USE (this seems to have 9 bits, so -c has been set to 9)
- RXLPM_LF_CFG: this had wrong settings in the automatically generated
		attrs.json file, which resulted in many bits to be
		absent
- RXSLIDE_MODE: this behaves as a tag group

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-01-22 14:06:16 +01:00
Jan Kowalewski 96d3b3de69 064-gtp-channel: add gtp_channel_mid support
Signed-off-by: Jan Kowalewski <jkowalewski@antmicro.com>
2021-01-22 10:40:04 +01:00
Jan Kowalewski 701433096b 064-gtp-channel: add gtp_channel fuzzer to Makefile
Signed-off-by: Jan Kowalewski <jkowalewski@antmicro.com>
2021-01-22 10:40:04 +01:00
Jan Kowalewski 777d8ea42d 064-gtp-channel: add gtp_channel fuzzer
Signed-off-by: Jan Kowalewski <jkowalewski@antmicro.com>
2021-01-22 10:40:04 +01:00
Alessandro Comodi e7995c74ee 005-tilegrid: allow auto-alignment of frame
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-01-21 19:02:39 +01:00
Tomasz Michalak f1cbbc38a6 005-tilegrid: Add GTP_CHANNEL tilegrid fuzzer
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2021-01-21 19:02:39 +01:00
Alessandro Comodi f8ae373dd5 063-gtp-common-conf: add IBUFDS_GTE2 primitive as well
This commit also solves an issue in the bitfilter function.
Given that the GTP_COMMON and GTP_COMMON_MID_[LEFT|RIGHT] have the same
bits, but in different frames, we need to add all of the possible frames
to the bitfilter callback.

This causes issues in determining the IN_USE feature, therefore, there
must be two different bitfilter callbacks, one for GTP_COMMON, and one
for GTP_COMMON_MID_[LEFT|RIGHT]

Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-01-20 18:23:24 +01:00
Alessandro Comodi 50553b0c17 063-gtp-common-conf: fix Makefile to clean only current part
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-01-20 18:23:24 +01:00
Alessandro Comodi 5245999dc4 063-gtp-common-conf: add license to pushdb.sh
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-01-20 18:23:24 +01:00
Alessandro Comodi fb78c37356 063-gtp-common-conf: add to fuzzer Makefile
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-01-20 18:23:24 +01:00
Alessandro Comodi 10f4ea1de5 063-gtp-common: handle both gtp_common and gtp_common_mid
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-01-20 18:23:24 +01:00
Alessandro Comodi 7036884784 063-gtp-common: add inverted and in_use features
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-01-20 18:23:24 +01:00
Alessandro Comodi ccccd20ed8 063-gtp-common: add gtp_common fuzzer
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-01-20 18:23:24 +01:00
litghost 64858d6437
Merge pull request #1547 from antmicro/add-gtp-common-tilegrid
gtp_common: add to tilegrid
2021-01-20 09:21:41 -08:00
Alessandro Comodi 3d4c9addf0 environment: fix environment set up
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-01-20 11:28:56 +01:00
Alessandro Comodi 9be8df1756 005-tilegrid: add clean_all target
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-01-19 22:43:29 +01:00
Alessandro Comodi 0ec1aa277b 005-tilegrid: fix make run
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-01-19 19:53:46 +01:00
Alessandro Comodi bed5106efc 005-tilegrid: allow auto-alignment of frame
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-01-19 19:53:42 +01:00
Alessandro Comodi a7b2d9752e gtp_common: add to tilegrid
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-01-18 15:41:11 +01:00
Alessandro Comodi 1be5c159ac 061-pcie-conf: add to Makefile to run correctly
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-01-14 17:17:13 +01:00
Alessandro Comodi 2e2aa36d84 061-pcie-conf: fix number of digits
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-01-14 17:17:13 +01:00
Alessandro Comodi 47f4ca909f pcie: add fuzzer for configuration attributes
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-01-14 17:17:13 +01:00
litghost 30890e0e04
Merge pull request #1539 from dnltz/WIP/dnltz/refactory_database
Refactor fabric data in database
2021-01-14 08:16:43 -08:00
Alessandro Comodi 8fe46031bc run make format-py
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-01-13 15:02:42 +01:00
Alessandro Comodi 17d5254adf pcie: add to tilegrid
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
2021-01-13 13:01:45 +01:00
Daniel Schultz e60b0d5875 fuzzers: Deploy fabric data to a separate dir
Fabric data should be deployed to a separate directory inside the database
and all devices with the same fabric should access it.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2021-01-12 22:36:58 +01:00
Daniel Schultz 54808f48fb fuzzers: Set part information to env
Loads the part specific mapping information and stores them in the env.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
2021-01-12 22:36:58 +01:00
Maciej Kurc 3364526d14 Enabled MMCM REBUF PIP solution
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-11-17 15:16:59 +01:00
Maciej Kurc fe82e0f281 Added solution for some MMCM compensation settings
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-11-10 15:57:20 +01:00
Maciej Kurc 40a20bafdf Added forced routing of MMCM.CLKINn signals through HCLK tiles to remove bit aliasing
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-11-03 16:52:23 +01:00
Maciej Kurc af0b0a7657 Added solution for some additional MMCM features
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-11-03 15:30:35 +01:00
Maciej Kurc 6bf585ba72 Fixed manual route failure detection
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-11-03 15:19:20 +01:00
Keith Rothman 88fc1f1b40 Fix new BRAM36 features.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-10-28 13:44:49 -07:00
Keith Rothman 3abb90f2b5 Add comments to new scripts.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-10-26 13:26:26 -07:00
Keith Rothman d117b73b18 Add node names to database.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-10-26 09:32:52 -07:00
Keith Rothman 0deee961eb Add BRAM36_IN_USE feature.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-10-22 17:22:10 -07:00
Keith Rothman 4e4bcae418 Make MMCM pip fuzzer more robust.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-10-13 14:45:18 -07:00
Keith Rothman af6700a692 Limit failure logging to output, but ensure that full logs are available.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-10-09 10:34:44 -07:00
Keith Rothman 0fd5283c12 Correct MMCME_ADV in tcl filter statement.
This likely doesn't affect the output, but it prevented params.json from
being valid.

Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-10-08 17:44:42 -07:00
Keith Rothman 90d420eef3 Add initial MMCM feature and PIP support.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-10-08 17:44:42 -07:00
litghost ac8d30e3fe
Merge pull request #1453 from litghost/add_iff_in_use_feature
Add IFF.IN_USE feature.
2020-10-08 17:37:22 -07:00
Keith Rothman b741467366 Increase 044 filters and reverse order of mergedb for better errors.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-10-08 11:18:27 -07:00
litghost 18488db7e2
Merge pull request #1448 from litghost/fix_oserdes_dup
Fix duplicate feature ZBUF and TDDR.SRUSED.
2020-10-07 11:16:44 -07:00
Keith Rothman 9ecee64d4e Add IFF.IN_USE feature.
This addresses missing features in
https://github.com/SymbiFlow/symbiflow-arch-defs/issues/1536 .

Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-10-06 10:43:39 -07:00
Keith Rothman 7c869b7098 Add missing file segbits to 000-init-db.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-10-05 17:15:05 -07:00
Keith Rothman fc0e78a9da Fix duplicate feature ZBUF and TDDR.SRUSED.
This duplication occured during development, but wasn't caught until
integration testing.

Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-10-02 19:08:36 -07:00
litghost 2e96cd2781
Merge pull request #1446 from litghost/fix_cmt_pips
Add missing FREQ_BB active feature
2020-10-02 07:40:22 -07:00
Keith Rothman a2e275e44c Add missing FREQ_BB active feature.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-10-01 17:31:50 -07:00
Keith Rothman 8957367dd4 Fixup OSERDES features to handle missing bits.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-10-01 17:31:29 -07:00
Keith Rothman 5ad24eb6cd Make 018 more robust by selectively disabling inputs and outputs.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-09-25 12:59:57 -07:00
Keith Rothman f1eabc62b7 Add some determinism to the randomness in 018.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
2020-09-11 10:51:21 -07:00
Maciej Kurc 8780e2e6a1 Fixed tag grouping for ISERDES
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-07-30 10:58:39 +02:00
Maciej Kurc f4778dbfda Changed ISERDES feature names to conform to fasm syntax
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-07-29 16:35:22 +02:00
Maciej Kurc 299e9dddde Cleaned up dbf files.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-07-20 10:12:00 +02:00
Maciej Kurc 144eda40e5 Added licensing and encoding info
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-07-17 13:05:09 +02:00
Maciej Kurc 64b2075485 Fixes 035b feature prefixes, added tag grouping
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-07-17 12:48:34 +02:00
Maciej Kurc 6396c941af Fixed fuzzer dependency.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-07-17 11:58:42 +02:00
Maciej Kurc 3ee95542b8 Enabled 035b in Makefile
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-07-17 11:58:42 +02:00
Maciej Kurc d83a7031e5 Code formatting.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-07-17 11:58:42 +02:00
Maciej Kurc e68b3083d4 Added changing of clock inverters / updated bits.dbf
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-07-17 11:58:42 +02:00
Maciej Kurc ebf88a8430 Disabled renaming ILOGIC to IOB, code formatting.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-07-17 11:58:42 +02:00
Maciej Kurc b02c0f5135 Removed aliasing with some PIP bits.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-07-17 11:58:42 +02:00
Maciej Kurc 01c1b0e23c Added filtering of some overlapping bits (by frame idx). Executing logic put in a function.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-07-17 11:58:42 +02:00
Maciej Kurc 10a6547252 Ran make format-py
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-07-17 11:58:42 +02:00
Maciej Kurc 2b87eec19a Added more bits to dbf, added varying of inverters for ISERDES
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-07-17 11:58:42 +02:00
Maciej Kurc 3ad85e0e49 Fixed solution for ZINV_D
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-07-17 11:58:42 +02:00
Maciej Kurc d3b6566206 Modified dbf file, changed some probabilities.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-07-17 11:58:42 +02:00
Maciej Kurc f6aecf0d88 A lot of modifications and fixups.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-07-17 11:58:42 +02:00
Maciej Kurc 40d3cb5588 Added fuzzing of IDDR along with ISERDES
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-07-17 11:58:42 +02:00
Maciej Kurc 44085d34d4 Moved SDR/DDR out of width setting
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-07-17 11:58:42 +02:00
Maciej Kurc ea0fd9eb8e Added fuzzing for chained ISERDES
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-07-17 11:58:42 +02:00
Maciej Kurc 369aa38c6a Ran make format-py
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-07-17 11:58:42 +02:00
Maciej Kurc a2552bf478 Initial fuzzer for ISERDES only.
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
2020-07-17 11:58:42 +02:00
Robert Winkler 996bcfd7a1 Adjust 032-cmt-pll fuzzer for A100T device
This commit allows the 032-cmt-pll fuzzer to find the bits
that disappeared after changing the main fuzzed device from A50T to A100T.

Signed-off-by: Robert Winkler <rwinkler@antmicro.com>
2020-07-16 00:04:50 +02:00
Andrew Butt 2f03a575e2 Fix SDF generation
Signed-off-by: Andrew Butt <butta@seas.upenn.edu>
2020-07-08 10:55:20 -04:00
Tomasz Michalak c66f4f4aa1 Add license headers to tcl files
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
2020-05-26 07:33:12 -07:00
Tomasz Michalak fbf4dd897d Add or fix license header
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
2020-05-26 07:33:12 -07:00
Tomasz Michalak 0357b3e4b1 Fix formatting after updating license headers
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
2020-05-26 07:33:12 -07:00
Tomasz Michalak 300bc62227 Add licensing header to bash scripts
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
2020-05-26 07:33:12 -07:00
Tomasz Michalak 159d6a8e88 Add licensing header to Makefiles
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
2020-05-26 07:33:12 -07:00
Tomasz Michalak 950d7534ec Add licensing header to fuzzers' python scripts
Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
2020-05-26 07:33:12 -07:00