Commit Graph

1020 Commits

Author SHA1 Message Date
Sagar Karandikar 84bf370c87 Merge remote-tracking branch 'origin/ntnu-integration' into vcu118 2023-05-08 13:48:17 -07:00
abejgonzalez 49c110480b Fix metasims | More fixes/debug 2023-05-07 17:49:46 -07:00
Sagar Karandikar 8c0418d559 fixes 2023-05-07 17:00:31 -07:00
Sagar Karandikar 784e01a50b Merge remote-tracking branch 'origin/ntnu-integration' into vcu118 2023-05-07 16:59:40 -07:00
Sagar Karandikar 6d53e3ca62 Merge remote-tracking branch 'origin/ntnu-integration' into vcu118 2023-05-07 16:54:51 -07:00
Sagar Karandikar 55d659be3d separate the notions of PCIe addrs and slot numbers 2023-05-07 16:42:39 -07:00
Sagar Karandikar 2f9d3225ba configs 2023-05-07 15:04:22 -07:00
Sagar Karandikar e2eebfd899 firesim buildbitstream working 2023-05-07 11:47:58 -07:00
abejgonzalez 2b94ac1560 Fix some CI errors 2023-05-06 22:56:49 -07:00
Sagar Karandikar a4a7811298 Merge remote-tracking branch 'origin/ntnu-integration' into vcu118 2023-05-06 18:39:04 -07:00
Sagar Karandikar 4646a90832 fixes 2023-05-06 18:38:47 -07:00
abejgonzalez fa882bc8ad Fix Makefile paths 2023-05-06 17:30:34 -07:00
Sagar Karandikar bcbd1c0393 Merge remote-tracking branch 'origin/ntnu-integration' into vcu118 2023-05-06 17:23:33 -07:00
Sagar Karandikar d6de4ab565 vcu118 support throughout firesim 2023-05-06 17:09:18 -07:00
abejgonzalez 5fb2a23de6 Small cleanup 2023-05-06 16:58:49 -07:00
abejgonzalez b0f60df9d6 Fix py typecheck 2023-05-06 16:28:18 -07:00
abejgonzalez 24429ad623 Address review comments 2023-05-06 16:19:34 -07:00
abejgonzalez 3eb4a88776 Doc. Rework [ci skip] 2023-05-06 15:49:29 -07:00
abejgonzalez 27a814a24a Testing [ci skip] 2023-05-05 14:55:11 -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 b212533b56 Merge remote-tracking branch 'origin/main' into manager-custom-targets 2023-04-27 22:01:04 +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
Abraham Gonzalez 16d6763f9f
Merge pull request #1492 from firesim/group-fixes
Create separate security group for build/run farm instances that is only accessible from within the firesim VPC
2023-04-21 17:51:42 -07:00
Sagar Karandikar 018f4df851 partially fix pytests 2023-04-21 18:44:20 +00:00
Sagar Karandikar 99479c355f fix mismatched arguments 2023-04-21 00:36:13 +00:00
Sagar Karandikar 06e168eeac PR comments 2023-04-21 00:06:47 +00:00
Sagar Karandikar d50a3ac9b5 fix CI 2023-04-20 23:56:12 +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
Abraham Gonzalez 9b1dc3198d
Update sample_config_hwdb.yaml for Gemmini build 2023-04-20 14:30:51 -07:00
abejgonzalez 1ea5c49fc2 Add Vitis bitstream | Parse files as text | Update text check 2023-04-19 15:27:17 -07:00
Abraham Gonzalez 47c4607a2f Bump AGFIs | Bump Chipyard 2023-04-14 17:52:13 -07:00
Abraham Gonzalez feb842112e Bump AGFIs | Add tutorial AGFIs 2023-03-23 17:07:37 +00:00
Abraham Gonzalez 27de960c33
Update deploy/sample-backup-configs/sample_config_hwdb.yaml 2023-03-22 20:26:34 -07:00
Sagar Karandikar 6da85021d2 firesim gemmini tutorial configs 2023-03-23 02:23:47 +00:00
abejgonzalez b7466b7b7e Update more FireMarshal paths 2023-03-22 00:05:46 -07: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
Abraham Gonzalez ddae1bf820 Add ToPort for 8443 security group settings 2023-03-12 07:08:27 +00:00
abejgonzalez 21755c0a4f Move Vitis build recipe into mainstream build/build_recipe.yaml | Update docs 2023-03-11 19:00:03 -08:00
abejgonzalez b40835ca12 Enable 8443 ingress in security group for nice dcv 2023-03-11 17:08:52 -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 a8c90f51f4 Inline call to os.environ 2023-03-10 14:48:48 -08:00
abejgonzalez 969c31cd06 Use os.environ instead of whoami 2023-03-10 14:45:21 -08:00
abejgonzalez 4c302560de Default to AWS AMI if on non-EC2 machine 2023-03-10 14:01:44 -08:00
abejgonzalez 76d24d15f1 Silently support AL2 manager instances 2023-03-10 11:25:30 -08:00
abejgonzalez 4b2c1b39b9 Bump Xclbin 2023-03-10 11:03:04 -08:00
Abraham Gonzalez 7c04681078 Bump AGFIs 2023-03-10 19:02:19 +00:00
Abraham Gonzalez 159e949e6d Fix forward progress in driver | Add more checks for correct profile-interval 2023-03-10 18:50:51 +00:00
abejgonzalez 4283b96ad2 Merge remote-tracking branch 'origin/buildfarm-prefix-fix' into buildbitstream-cis 2023-03-09 00:08:38 -08:00
abejgonzalez 5f01fc5ef0 Add buildbitstream CI 2023-03-09 00:08:04 -08:00
abejgonzalez 829ea89847 Add aws resource for buildfarmprefix 2023-03-08 17:33:07 -08:00
Abraham Gonzalez 0b692dc019
Merge pull request #1457 from firesim/buildfarm-prefix
Add `build_farm_tag` field to AWS EC2 build farm recipe
2023-03-08 16:15:32 -08:00
abejgonzalez d5e8637bd9 More docs fixes | Add os to imports 2023-03-08 13:13:36 -08:00
abejgonzalez 5ba99537a7 Add build_farm_tag for AWS EC2 build farms 2023-03-07 14:35:06 -08:00
abejgonzalez f2ccba5879 Specify guestmount screen session 2023-03-04 16:11:04 -08:00
abejgonzalez 76a3479ea6 Fix typechecking with bump in mypy 2023-03-03 09:43:42 -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
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
Jerry Zhao d148b7380b Bump agfis 2023-01-31 18:28:15 +00:00
abejgonzalez 4f1edb5e93 Fix FireMarshal workload paths 2023-01-27 17:05:20 -08:00
Zixian Cai bf6825e4fd
Use the new config filename in bitbuilder logging 2023-01-27 17:46:51 +11: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
Abraham Gonzalez 56790ead95
Merge pull request #1396 from firesim/add-vcs-metasims
Add VCS metasimulation to CI
2023-01-25 11:14:52 -08:00
Nandor Licker cdb46619d9
Moved simulation step control to the PeekPoke bridge (#1399)
The STEP and DONE fields of the simulation master were fully determined by the behaviour of the peek poke bridge.
Since that stepping logic is closely tied to peek-poke logic, this PR moves it into that bridge.
Temporarily, the `firesim_top` harness now uses PeekPoke to drive the simulation. This will be removed in a future PR.
2023-01-25 19:12:44 +02:00
abejgonzalez cce21793fb Move testing configs to deploy/workloads/ci 2023-01-24 18:19:24 -08:00
abejgonzalez 6d94c9414f Change simulation dir on local FPGA machine 2023-01-23 11:45:52 -08:00
abejgonzalez c43df3f3ab Add VCS metasimulation to CI 2023-01-23 01:26:54 +00:00
abejgonzalez 2081529fb6 Update Vitis docs | Bump FPGA platform to 2022.1 2023-01-20 11:06:40 -08:00
Abraham Gonzalez b8c38b282e
Merge pull request #1387 from firesim/fix-metasim-plus-ci
Fix metasim due to tarball deployment and add CI
2023-01-19 11:57:42 -08:00
Russell Horvath 614b5326db
bump aws-fpga w/ Route 35-1 and Synth-8-6340 warning promotion (#1391) 2023-01-18 14:30:03 -08:00
abejgonzalez c988f3c32e Create output folder if it doesn't exist before tar'ing 2023-01-17 15:01:06 -08:00
abejgonzalez 3af6d553ed Add CI for metasims 2023-01-17 15:00:11 -08: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
David Biancolin 3cbd710a72
manager: update paramiko date threshold (#1357) 2023-01-03 20:13:19 +00:00
abejgonzalez 964ab8ca0b Terminate outside inst. deploy manager | Fix monitor loop 2022-12-12 04:00:37 +00:00
David Biancolin 98fa2f9b25
Remove references to buildafi; replace with buildbitstream (#1287) 2022-12-11 03:40:59 +00:00
David Biancolin 7bd39d0982 Regenerate AGFIs 2022-11-17 16:40:53 +00:00
David Biancolin 087f340a6d
Manager: Add back InfoStreamLoggers to buildbitstream related tasks (#1292) 2022-11-09 05:57:11 +00:00
David Biancolin 53f17df788
manager: fix string interpolation in buildconfigfile 2022-11-01 05:32:59 +00:00
David Biancolin 3ec6891b38 configs: Remove the DesiredHostFrequency ield 2022-10-30 20:01:36 -07:00
David Biancolin c05951afd3 manager: better error message on misconfigured build recipes 2022-10-30 20:01:36 -07:00
abejgonzalez e83c4bb82a Clean build-bitstream.sh's | Harmonize build arguments
(cherry picked from commit f8479e6017b1d9cf0c26b4a4a3541d1493da4700)
2022-10-30 20:01:36 -07:00
Sagar Karandikar 5b4d0aa618
Merge pull request #1280 from firesim/fix-vcs-metasim
fix vcs metasims
2022-10-21 15:35:01 -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
Sagar Karandikar 1323c70dcd fix vcs metasims 2022-10-20 16:11:25 -07:00
Abraham Gonzalez ce91e92fbd Address comments 2022-10-19 11:27:30 -07:00
Sagar Karandikar abf37e354d Merge branch 'main' into various-qol-fixes 2022-10-18 11:58:45 -07:00
Sagar Karandikar a5b1b537cf add back InfoStreamLogger on driver build run call to show live build output 2022-10-18 10:36:18 -07:00
Sagar Karandikar e43bef5259 fix missing with 2022-10-17 21:48:11 -07:00
Sagar Karandikar 79ad3b9a98 add comments about why we need to check shells 2022-10-17 21:30:23 -07:00
Sagar Karandikar cd672cd992 various fixes 2022-10-17 21:12:18 -07:00
Russell Horvath f0e5691809 more consistent naming in the manager
fix test
2022-10-17 18:04:33 +00:00
Sagar Karandikar 3e94f6ae9b write, copy, and execute a script to start sims instead of directly passing a huge command 2022-10-15 20:47:21 -07:00
Sagar Karandikar c55dcc9836 hide sudo warning from user 2022-10-15 20:45:48 -07:00
Sagar Karandikar 186fb02cf9 don't do qcow2 setup if no sims require it 2022-10-15 20:44:22 -07:00
Sagar Karandikar 1de354f527 driver build on runs with run() instead of local() 2022-10-15 20:40:11 -07:00
Sagar Karandikar bd6d294c70 allow skipping ssh setup in sourcemes 2022-10-15 20:37:11 -07:00
Sagar Karandikar fd99b5739a instance liveness check now checks for compatible login shell 2022-10-15 20:35:06 -07:00
Sagar Karandikar a6923c6aca fix metasims: add missing field 2022-10-15 20:33:52 -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
Russell Horvath 6c26096dbc fix breaking pytests 2022-10-06 22:43:29 +00:00
Russell Horvath bdce5ae660
Merge branch 'main' into expose-frequency 2022-10-06 14:33:50 -07:00
Russell Horvath f96bf7606d update docs, add checks for platform 2022-09-30 20:55:02 +00:00
Jerry Zhao 8867db4009 Update AGFIs, add tutorial AGFIs for release 2022-09-30 00:18:17 +00:00
David Biancolin d3c45e005d
Merge pull request #1191 from firesim/fpga-managed-axi4-in-metasim
Support FPGA-managed AXI4/DMA in metasimulation
2022-09-26 22:13:29 -07:00
Russell Horvath 0283f95bcd remove env script + plumb through bitbuilder 2022-09-27 03:20:34 +00:00
David Biancolin 5681d47dc9 Regenerate AGFIs 2022-09-26 20:07:54 -07:00
David Biancolin b7f63b7101
manager: Cast AWS IDs to string in shareagfi (#1227) 2022-09-26 19:58:33 -07:00
Abraham Gonzalez 9394a18489
Merge pull request #1130 from firesim/fix-buildafi-no-email-on-fail
Add warn_only to vivado builds + Postpone error until all builds complete
2022-09-26 14:00:36 -07:00
Abraham Gonzalez 3caa1bc456
Merge pull request #1187 from firesim/terminate_on_complete_fix
Fix EC2InstanceResource import
2022-09-26 13:39:28 -07:00
Abraham Gonzalez 14d847980e
Merge pull request #923 from firesim/buildafi-term-on-term
Bypass manual input on `buildbitstream` cancellation
2022-09-22 13:25:36 -07:00
Abraham Gonzalez b516a204c2 Enable forceterminate on buildbitstream 2022-09-19 21:46:45 +00:00
Jerry Zhao 2fca0537ce Bump Rocketchip/chipyard/chisel/bloop 2022-09-19 16:45:47 +00:00
Russell Horvath b9b4485ddc
Merge pull request #1203 from firesim/remove-artifacts-bump
bump aws-fpga to remove mmcm artifacts
2022-09-15 13:47:39 -07:00
Russell Horvath 0eff468346 regen agfis 2022-09-15 18:29:26 +00: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
David Biancolin f6a1ee309e metasim: remove dramsim2 + move mm in-tree 2022-09-07 20:07:05 -07:00
Abraham Gonzalez 049a349675
Merge branch 'main' into amifix-for-main 2022-09-01 10:51:17 -07:00
David Biancolin 40dd951a03
Extend paramiko warning waiver until 01/01/2023 (#1195) 2022-08-31 19:37:38 -07:00
Sagar Karandikar 9dd5f1b75e Merge remote-tracking branch 'origin/stable' 2022-08-31 18:44:38 +00:00
Sagar Karandikar 04f9927986 punt forward deprecation warnings 2022-08-31 15:22:46 +00:00
Sagar Karandikar e39d8bfae4 new agfis 2022-08-30 19:54:44 +00:00
Sagar Karandikar 60dadd8df6 revert to stable agfis 2022-08-30 00:21:30 +00:00
Sagar Karandikar 021cd31eca bump aws-fpga with upstream bump + fixes for build. add agfis 2022-08-30 00:18:09 +00:00
Sagar Karandikar 5a9d0ff1ac test updating AMI to 1.12.1 2022-08-30 00:16:41 +00:00
Abraham Gonzalez 49719fe694 Fix EC2InstanceResource import 2022-08-29 17:13:41 +00:00
David Biancolin d725a6eb96
Resolve some common spelling mistakes (#1186) 2022-08-28 17:25:13 -07:00
Tim Snyder f9b0f1cf40
obey umask and default group in results-workload firesim/firesim#1150 (#1163)
Co-authored-by: Tim Snyder <snyder.tim@gmail.com>
2022-08-16 23:10:30 -05: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
Abraham Gonzalez 8e23e1f634 Aggregate bitstream failures after all completions 2022-08-10 19:26:09 +00:00
mergify[bot] 83e8083085
Improve fabric logging (#1159)
Co-authored-by: Filip Stamenkovic <filip.stamenkovic@sifive.com>
Co-authored-by: Tim Snyder <timothy.snyder@sifive.com>
2022-08-09 11:03:53 -05:00
Tim Snyder 3a0ff08122
Merge pull request #1145 from firesim/ci-remove-python-filter
ci: don't filter out python tests
2022-07-26 09:48:21 +00:00
Tim Snyder 6170f835df
add config_build_recipes.yaml to run_yamls fixture for #1142 (#1143)
Addition of config_build_recipes.yaml use by RuntimeConfig in #1076 broke
the pytests for config checking but somehow, it passed in the PR check.

Co-authored-by: Tim Snyder <snyder.tim@gmail.com>
2022-07-25 14:44:10 -07:00
Tim Snyder eb55afb76e fixup! pytest: pass all config files during test_yaml_api.py 2022-07-25 20:26:35 +00:00
Tim Snyder 2f38699c41 pytest: pass all config files during test_yaml_api.py
so that the tests pass or fail regardless of whether firesim managerinit
has been run
2022-07-25 19:53:18 +00:00
abejgonzalez b0e6948b5a Fix mount file ownership 2022-07-17 16:37:17 -07:00
Sagar Karandikar 9eab39c916
Update afitools.py 2022-07-07 19:00:26 -07:00
Sagar Karandikar bd5bb37737
Merge pull request #1122 from firesim/sagark-patch-2
Update CHANGELOG.md for 1.14.1 release
2022-07-07 18:53:19 -07:00
Sagar Karandikar ca08a2885a
Trigger FPGA CI. 2022-07-07 11:41:13 -07: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
Sagar Karandikar 97325f9af5 better KeyError that indicates where hw configuration needs to specified for fpga sim vs metasim 2022-07-06 20:10:51 +00:00
David Biancolin 7db485f8ce
manager: Add an ec2 region in the Asia-Pacific area. (#1111) 2022-07-05 14:32:00 -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
Abraham Gonzalez 29aac588a7 Update documentation 2022-06-18 08:13:22 +00:00