Commit Graph

616 Commits

Author SHA1 Message Date
abejgonzalez efec995820 Testing [ci skip] 2023-05-05 11:06:44 -07:00
abejgonzalez f96f405dce testing [ci skip] 2023-05-05 10:58:51 -07:00
abejgonzalez 678c619953 Doc rework [ci skip] 2023-05-05 00:21:40 -07:00
abejgonzalez f6fc4ccfec Intermediate changes [ci skip] 2023-05-04 23:35:56 -07:00
abejgonzalez c231ca15f4 First attempt at bare Xilinx U250 support
Co-authored-by: Abraham Gonzalez <abe.gonzalez@berkeley.edu>
Co-authored-by: Björn Gottschall <info@gottschall.no>
Co-authored-by: David Metz <david.c.metz@ntnu.no>
2023-05-03 01:07:15 -07:00
Sagar Karandikar d8f94e187d
Fix first-time-user setup docs 2023-05-02 22:15:34 -07:00
Sagar Karandikar 86548885ba fix docs underline 2023-04-27 22:06:53 +00:00
Sagar Karandikar 43ffbc854c fix doc 2023-04-27 21:22:21 +00:00
Sagar Karandikar 5f152c2c73 manager support for custom TARGET_PROJECTs (fasedtests, etc.) up to/including firesim infrasetup and buildbitstream 2023-04-27 21:11:31 +00:00
Sagar Karandikar 823a6abc82 create separate security group for build/run farm instances that is only accessible from within the firesim VPC 2023-04-20 22:42:40 +00:00
abejgonzalez c12936b24f Update docs to not use password 2023-04-14 17:52:13 -07:00
Abraham Gonzalez f59b064b0f
Merge pull request #1478 from firesim/tsondhi/conda-lock-gene-adjustments
Fix conda lockfile docs / make lockfile generation easier
2023-03-29 10:17:48 -07:00
Nikos Ch. Papadopoulos ab54bcb44a Fix typos in Vitis docs 2023-03-23 15:09:32 +02:00
abejgonzalez aa34b44c0c Fix doc review comments 2023-03-22 17:20:14 -07:00
Tushar Sondhi 5b2b7e9aa8 make it easier to adjust lockfile without changing the repo setup 2023-03-22 22:01:17 +00:00
abejgonzalez 4d54d40122 Merge remote-tracking branch 'origin/main' into local-fpga-docs 2023-03-21 23:07:46 -07:00
abejgonzalez aa26abc8dd Update symlinks | Update docs | machine-launch.sh now executable 2023-03-21 23:07:20 -07:00
abejgonzalez afaf76f4c5 Update help output 2023-03-14 17:59:10 -07:00
abejgonzalez 21755c0a4f Move Vitis build recipe into mainstream build/build_recipe.yaml | Update docs 2023-03-11 19:00:03 -08:00
abejgonzalez cbfc9a6430 Merge remote-tracking branch 'origin/main' into local-fpga-docs 2023-03-11 15:49:21 -08:00
Abraham Gonzalez 26bb89d5f5
Merge pull request #1460 from firesim/al2
Support AL2 manager instances
2023-03-11 14:11:39 -08:00
abejgonzalez 0ed7e80f9b Move things back 2023-03-10 14:54:10 -08:00
abejgonzalez 809ff9b67a More caveats added 2023-03-10 13:47:45 -08:00
abejgonzalez 76d24d15f1 Silently support AL2 manager instances 2023-03-10 11:25:30 -08:00
abejgonzalez d5e8637bd9 More docs fixes | Add os to imports 2023-03-08 13:13:36 -08:00
abejgonzalez 2441e0618f Update docs 2023-03-07 16:36:38 -08:00
abejgonzalez 5ba99537a7 Add build_farm_tag for AWS EC2 build farms 2023-03-07 14:35:06 -08:00
abejgonzalez cee6660a89 Add extra checks 2023-03-06 16:56:42 -08:00
abejgonzalez d826776d6c Update docs w/ fixes 2023-03-05 17:40:33 -08:00
abejgonzalez 5ee9b52fa6 Update references in conda / to advanced docs 2023-03-05 14:42:06 -08:00
abejgonzalez f868560d5b Add building xclbin documentation | Add hwdb entry to running section 2023-03-05 14:35:53 -08:00
abejgonzalez b9b2699871 New U250 FPGA tutorial 2023-03-04 17:51:05 -08:00
abejgonzalez 0cb85815a0 Rename doc folders specific to AWS 2023-03-04 16:20:49 -08:00
abejgonzalez 6b72e41d34 Update CI check + docs 2023-03-02 13:27:05 -08:00
Benjamin Morse a63571066f
Add URI support to tarball path and xclbin path (#1432)
* driver_tar and xclbin keys can now be a URI
* non URI paths are also supported, with relative paths being relative to the deploy folder
* adds documentation about URI support
* URI are tried 4 times with a 1 second delay after failure
* run-basic-linux-poweroff CI job is now serialized behind run-parallel-verilator-metasims to improve CI reliability

Co-authored-by: Filip Stamenkovic <92741622+filipstamenkovic-sifive@users.noreply.github.com>
Co-authored-by: Abraham Gonzalez <abe.j.gonza@gmail.com>
Co-authored-by: Tim Snyder <timothy.snyder@sifive.com>
2023-03-01 23:04:48 -08:00
Tim Snyder 39b2711f48
Update doc of always_expand_run_farm for rename (#1427)
* Update doc of always_expand_run_farm for rename

At some point @abejgonzalez renamed the option from `always_expand_runfarm` to `always_expand_run_farm` because that is more "readable".

This just updates the docs so that they align with the code.

* Update docs/Advanced-Usage/Manager/Manager-Configuration-Files.rst
2023-02-25 12:14:15 -06:00
Nandor Licker 30fd72bc7f
Remove `constructor.h` and replace it with a Scala-generated header (#1398) 2023-02-08 00:52:51 +02:00
Abraham Gonzalez 9d3462ed13
Merge pull request #1392 from firesim/scala213
Bump to latest rocket-chip/scala2.13
2023-02-01 14:30:09 -08:00
Nandor Licker 2889818e7d
Removed the compiler-generated runtime config (#1422)
The default arguments to FASED memory models are now passed alongside other FASED bridge arguments.
These defaults can be overriden by other args passed to the bridge driver or disabled when the raw hardware configuration is requested.
The manager can still pass an optional runtime config to the design to override arguments.
2023-02-01 19:19:00 +02:00
abejgonzalez 479242c068 Bump xclbin 2023-01-31 22:05:32 -08:00
Abraham Gonzalez 831d68df6a
Force using 2022.1 Vitis 2023-01-26 17:36:57 -08:00
Abraham Gonzalez 89972c492b
Merge pull request #1397 from firesim/update-vitis-docs
Update Vitis docs | Bump FPGA platform to 2022.1
2023-01-26 11:22:00 -08:00
Benjamin Morse a513c0ef58
Add scalaFix (#1393)
* adding scalaFix to the projecting, using two make targets, `scala-lint` and `scala-lint-check`
* adding documentation

Co-authored-by: David Biancolin <david.biancolin@sifive.com>
2023-01-25 10:34:10 -08:00
Nandor Licker c2204d6593
Added a bridge registry to own all bridge instances (#1369) 2023-01-24 23:08:59 +00:00
Nandor Licker 6bf7c6f3eb
Enable clang-tidy on all C++ sources (#1400)
This PR adds a new make target, `clang-tidy` to run clang-tidy on all C++ sources.
Only a dummy check is enabled, as this patch applies the minimal number of fixes
to compile headers and sources with clang without the header. In a subsequent PR,
more checks will be enabled and the files will be formatted.

`clang-tidy` can be executed using `make -C sim clang-tidy`. It will automatically
apply fixes to known issues.
2023-01-24 18:42:20 +02:00
abejgonzalez 2081529fb6 Update Vitis docs | Bump FPGA platform to 2022.1 2023-01-20 11:06:40 -08:00
Nandor Licker e5fc4cc121
Split project `Makefrag` into multiple components (#1354) 2023-01-18 11:33:41 +00:00
Abraham Gonzalez 15b80ee329
Merge pull request #1260 from firesim/rework-startup
Setup defaults to be single-node
2023-01-17 14:14:29 -08:00
Benjamin Morse 5138411df0
Changed "firesim infrasetup" to deploy using a tarball. (#1299)
* firesim infrasetup now puts the contents into a tarball before deploy
* the supported formats are .tar .tar.gz and the other formats that GNU tar can autodetect
* updated documentation
* `driver_tar` key added to `config_hwdb.yaml` which allows the tarball to be built elsewhere but still deployed in the same manner
2023-01-10 11:06:56 -08:00
Nandor Licker d6cd5113fb
Re-organised library file structure (#1361)
This PR will be followed up by another to package the library into static archives.

* Core utilities and interfaces are now in `core/`
* Base widgets and bridges reside in `bridges/`
* All shared emulator files were moved to `emul`
* Moved systematic_scheduler to core
* Removed the headers of simulation top-level files (containing `main`) as they are not open for extension/re-use
2023-01-09 19:47:39 +00:00
abejgonzalez cd58cfd40b Fix documentation Vitis deploy manager 2022-12-21 12:42:04 -08:00
Nandor Licker 5434084309
UART Bridge test (#1326)
Added a UART test in a new group of tests, 'bridges'.
This test group includes the bridges from firesim-lib, which rely on more external dependencies.
The previous `midasexamples` test suite is limited to simple tests with no dependencies.
2022-12-13 07:07:36 +02:00
Nandor Licker b3c39d171a
Rewrite MIDAS tests (#1327)
In order to set up bridges, introduced a single "constructor.h" header file to instantiate everything in a design.
This de-duplicates logic across multiple tests and the FireSim driver.
Removed the header-based testing logic and introduced `.cc` files for each test instead.
2022-12-12 20:59:15 +02:00
David Biancolin 98fa2f9b25
Remove references to buildafi; replace with buildbitstream (#1287) 2022-12-11 03:40:59 +00:00
David Biancolin cfad244cd7 docs: Remove old config-based freq specification; describe new mechanism 2022-10-30 20:01:36 -07:00
Russell Horvath ec69caaf2c
Merge pull request #1229 from firesim/expose-frequency
Expose frequency and strategy in the build_dcp script, plumb through to bitbuilder.
2022-10-20 21:20:35 -07:00
Abraham Gonzalez ce91e92fbd Address comments 2022-10-19 11:27:30 -07:00
Abraham Gonzalez 24dadf009d Address comments 2022-10-19 11:15:05 -07:00
Abraham Gonzalez 9308bc6d2f Add PyTest docs 2022-10-17 21:57:44 -07:00
David Biancolin 32cf7b7ce8
Update GoldenGate-and-Driver-Development.rst (#1259) 2022-10-14 17:11:55 -04:00
Abraham Gonzalez a6c2c99a85 Update docs gen. file 2022-10-14 11:38:23 -07:00
Russell Horvath 03e3316280 naming and doc changes 2022-10-13 22:30:37 +00:00
Abraham Gonzalez 4205db8e66 Setup defaults to be single-node 2022-10-12 18:29:16 -07:00
Nandor Licker fabb54bdab
Make AutoCounterCoverModule target modules (#1252)
Instead of hard-wiring a module name, now the annotation is placed on a proper module target.
2022-10-07 08:25:49 +00:00
Russell Horvath bdce5ae660
Merge branch 'main' into expose-frequency 2022-10-06 14:33:50 -07:00
Russell Horvath f95b4a9d13 add code formatting 2022-10-06 20:57:15 +00:00
Russell Horvath f96bf7606d update docs, add checks for platform 2022-09-30 20:55:02 +00:00
Abraham Gonzalez e23e1db99d
Clarify exit code for `builtbitstream` 2022-09-28 19:16:44 -07:00
Abraham Gonzalez b516a204c2 Enable forceterminate on buildbitstream 2022-09-19 21:46:45 +00:00
Abraham Gonzalez aaa8747661
Merge pull request #1206 from firesim/refactor_conda_abe
Refactor Conda + Bump Chipyard (which now uses Conda)
2022-09-15 18:20:13 -07:00
abejgonzalez 82fdf66554 Update comments + docs 2022-09-15 18:13:07 -07:00
abejgonzalez abd89ca4d4 Fix doc build 2022-09-15 11:55:01 -07:00
abejgonzalez 62f0fb5e9e Add docs | Remove esp-tools | Use CY build-setup | Add conda-lock CI 2022-09-15 11:38:20 -07:00
Sagar Karandikar 6d3569166f
Merge pull request #1193 from firesim/amifix-for-main
Bump to use AMI 1.12.1 (merge from stable which already has this)
2022-09-14 10:36:47 -07:00
Abraham Gonzalez 4526fb95ce Update docs 2022-09-12 23:24:46 +00:00
David Biancolin f6a1ee309e metasim: remove dramsim2 + move mm in-tree 2022-09-07 20:07:05 -07:00
Sagar Karandikar 9dd5f1b75e Merge remote-tracking branch 'origin/stable' 2022-08-31 18:44:38 +00:00
Sagar Karandikar 5f6e36a7ab update docs tagging for new rtd version names 2022-08-31 15:24:38 +00:00
Sagar Karandikar 5a9d0ff1ac test updating AMI to 1.12.1 2022-08-30 00:16:41 +00:00
Tim Snyder 8cb2325e7e
Revert "add xclbin URI support (#1140)" (#1173)
This reverts commit a517b1992a.
2022-08-16 23:44:35 +00:00
Tim Snyder a517b1992a
add xclbin URI support (#1140)
use fsspec to enable xclbin's to be one of any URI protocol
supported by the library or an installed add-on

Co-authored-by: Tim Snyder <snyder.tim@gmail.com>
Co-authored-by: Filip Stamenkovic <92741622+filipstamenkovic-sifive@users.noreply.github.com>
Co-authored-by: Abraham Gonzalez <abe.j.gonza@gmail.com>
2022-08-10 16:00:19 -05:00
David Biancolin dbd1d3081b
Merge pull request #1151 from firesim/printf-annotator-update
Annotate Printf statements instead of intercepting parameters.
2022-08-04 20:31:53 -07:00
Nandor Licker 2e205dce13
Enabled clang-format on C++ sources (#1139)
* Enabled clang-format on C++ sources

Ran clang-format on sources committed to the repository and added a CI job to ensure sources are properly formatted on each commit.
Clang-format can be installed using Linux package managers and the `git clang-format` command can be used to format all files that change with a commit.

* Update docs/Developer-Docs/GoldenGate-and-Driver-Development.rst

Co-authored-by: Tim Snyder <timothy.snyder@sifive.com>

* Update scripts/machine-launch-script.sh

Co-authored-by: Tim Snyder <timothy.snyder@sifive.com>

Co-authored-by: David Biancolin <david.biancolin@sifive.com>
Co-authored-by: Tim Snyder <timothy.snyder@sifive.com>
2022-08-02 23:12:13 -07:00
David Biancolin 969e2fd093 printf: Annotate printf statements not parameters
Now that printf statements are named, and thus annotatable
remove a long-standing hack that has the PrintfAnnotation label
the parameters to the statement instead of the statement itself
2022-08-02 20:08:58 +00:00
Tim Snyder 0509bf388d
Merge pull request #1126 from firesim/timsnyder-siv-patch-2
correct doc for autocounter_csv_format
2022-07-29 06:41:55 -05:00
David Biancolin 0728a5d4bd
docs: fix aws_setup.py reference (#1125) 2022-07-12 09:27:31 -07:00
Tim Snyder e0316fbe46
Adjust RST formatting for numbered list of PerfCounter modes 2022-07-12 10:50:07 -05:00
Tim Snyder a45e53f74e
Correct label for local_cycle 2022-07-11 11:41:15 -05:00
Tim Snyder 38dab35b4a
Order of header rows was incorrect as well 2022-07-10 19:46:16 -05:00
Tim Snyder f2d2246965
correct doc for autocounter_csv_format
It was roughly correct but had slightly different text in the header rows.  Just correcting it to match what the driver is putting out.
2022-07-10 17:37:12 -05:00
Sagar Karandikar b0a234d883
Merge pull request #1114 from firesim/build-driver-command
add firesim builddriver command; plus a few metasim fixes and doc updates
2022-07-06 16:33:28 -07:00
alexhbot e656779ae5
Update Miscellaneous-Tips.rst 2022-07-06 14:33:25 -07:00
Sagar Karandikar d6beb655c3 more docs 2022-07-06 20:58:35 +00:00
Sagar Karandikar f0f4ffd5c6 more docs 2022-07-06 20:45:22 +00:00
Sagar Karandikar 254695990b docs 2022-07-06 20:19:20 +00:00
Sagar Karandikar ff2760185d
Apply suggestions from code review
Co-authored-by: Tim Snyder <timothy.snyder@sifive.com>
2022-07-06 11:59:11 -07:00
Sagar Karandikar 031a919959 add firesim builddriver command; plus a few metasim fixes and doc updates 2022-06-28 03:34:22 +00:00
Russell Horvath 8e595632b9 fix 404ing link in Targets doc 2022-06-27 10:12:03 -07:00
David Biancolin 2f53367e71 docs: fix example config runtime to match generated one 2022-06-23 22:52:59 +00:00
David Biancolin 68d60c8ec3 docs: fix underlining in metasimulation configuration section 2022-06-23 12:35:09 -07:00