Commit Graph

1156 Commits

Author SHA1 Message Date
Tim Snyder 6bd99b2b8c Merge remote-tracking branch 'origin/main' into use_conda 2022-04-13 00:22:58 +00:00
Tim Snyder bd38d6f164 copy local libs for switch also
* moves get_local_shared_librares into runtools.utils so that same helper
  can be used for switch and driver
* stop setting LD_LIBRARY_PATH for FireSim-f1 when running, instead
  add $ORIGIN to the beginning of RPATH for both driver and switch
* cleaned up a TODO that was TODONE by Sagar a long time ago
* switch makefile updated to use standard env vars (so that it is easier
  to tweak the build in standard ways). The only actual change is addition
  of $ORIGIN at front of rpath
2022-04-06 15:40:37 +00:00
abejgonzalez c107b35090 Fix target-agnostic.mk 2022-04-05 23:54:09 +00:00
Abraham Gonzalez 12df0cb741 Apply suggestions from code review 2022-04-04 16:50:32 -07:00
Tim Snyder d53f8a0357 include <string> if you use it bro 2022-04-04 20:31:19 +00:00
abejgonzalez b53422702d Merge remote-tracking branch 'origin/local-fpga' 2022-04-02 22:29:06 -07:00
Tim Snyder 5eed280437 Merge remote-tracking branch 'origin/main' into use_conda 2022-03-31 03:18:05 +00:00
David Biancolin 6ac0329a7a
Hoist enables out of printfs and stops (#999) 2022-03-29 15:57:49 -07:00
David Biancolin a1e139c64c Force SV emitter to run last in a separate compiler 2022-03-23 22:37:55 +00:00
Albert Magyar b72089e99e Use FIRRTL 'FPGA backend' passes in the GG compiler for better BRAM use
(cherry picked from commit 38d6c19ef93826a6d7b398d01a1782a193557ec6)
2022-03-23 22:37:43 +00:00
Tim Snyder c94e838172 consistently use CXXFLAGS for FireSim C++
There was a mixture of using CXXFLAGS and CFLAGS in the FireSim driver makefiles
this led to needing to pass both of them to VCS and Verilator.  However, everything
we're building is C++ and so is Verilator, so we should only need to use CXXFLAGS.

This cuts down on the size of the compile commandlines and makes them much easier to reason about.
2022-03-22 04:51:10 +00:00
Tim Snyder 39fc66d0f4 fix some makefile typos 2022-03-22 04:48:11 +00:00
abejgonzalez e87cd4ac56 Test and fix build dir errors | Address PR issues 2022-03-08 08:29:34 +00:00
abejgonzalez a77a1ed965 Fix non-Vitis builds 2022-02-24 00:27:21 +00:00
abejgonzalez a0b3667ce7 Merge remote-tracking branch 'origin/local-fpga' into where-to-build 2022-02-22 13:53:59 -08:00
abejgonzalez 4face87d79 Merge remote-tracking branch 'origin/main' into local-fpga-w-main 2022-02-19 14:13:17 -08:00
David Biancolin ddbf6e9685 Call fpga_mgmt_init inplace of fpga_pci_init 2022-02-17 17:38:58 +00:00
abejgonzalez ab1df7a293 Change references to dev/master [ci skip] 2022-02-15 11:07:37 -08:00
Abraham Gonzalez 72b51474ea
Merge dev into local-fpga (#933) 2022-02-14 10:50:32 -08:00
abejgonzalez f48ca77bac Merge remote-tracking branch 'origin/local-fpga' into where-to-build 2022-02-12 00:22:47 +00:00
Abraham Gonzalez d0ec8ea544
Merge `dev` into `local-fpga` (#930)
* Implement PerfCounter.identity + CSV Output Format (#876)

* [autocounter] Implement PerfCounter.Identity + CSV format + improved testing

* [midasexamples] Make sure to always wait on unstable peeks

* [midasexamples] Always enable log

* Workaround `rsync_project` `exclude` flag issue (#921)

* Workaround rsync_project exclude issue

* Use `rsync_project` `exclude` option

Co-authored-by: David Biancolin <david.biancolin@gmail.com>
Co-authored-by: David Biancolin <biancolin@berkeley.edu>
2022-02-10 19:05:50 -08:00
Abraham Gonzalez 382ba4eb34
Initial sim/ support for Vitis platform (#918)
* Initial sim/ support for Vitis platform

* Try to make CI work nicely with local-fpga testing

* Fix MIDAS compile | Bump CY

* Remove extra pci_init | Remove extra import
2022-02-10 09:51:48 -08:00
David Biancolin f7980ed076 Merge remote-tracking branch 'origin/dev' into chisel-3.5-published 2022-02-09 22:41:04 +00:00
David Biancolin e89532fb37 [midasexamples] Always enable log 2022-02-09 18:53:33 +00:00
David Biancolin 7243b94301 [midasexamples] Make sure to always wait on unstable peeks 2022-02-09 18:18:43 +00:00
abejgonzalez 792940a0a7 Merge remote-tracking branch 'origin/local-fpga' into where-to-build 2022-02-08 17:28:42 +00:00
abejgonzalez e3fb3b6b28 Bump to Chisel 3.5.1 2022-02-08 09:18:17 -08:00
Abraham Gonzalez 3ed01c35e8
Implement PerfCounter.identity + CSV Output Format (#876) (#925)
* [autocounter] Implement PerfCounter.Identity + CSV format + improved testing

Co-authored-by: David Biancolin <david.biancolin@gmail.com>
2022-02-08 08:22:17 -08:00
abejgonzalez 696568d981 Switch pci_init to mgmt_init 2022-02-08 00:34:41 +00:00
David Biancolin de2ea34bea Merge remote-tracking branch 'origin/dev' into chisel-3.5-published 2022-02-08 00:29:35 +00:00
David Biancolin 5b62907400 Merge remote-tracking branch 'origin/dev' into chisel-3.5-published 2022-02-08 00:23:30 +00:00
David Biancolin a22ba50d69
Implement PerfCounter.identity + CSV Output Format (#876)
* [autocounter] Implement PerfCounter.Identity + CSV format + improved testing
2022-02-04 17:42:28 -08:00
abejgonzalez f7815452db Merge remote-tracking branch 'origin/local-fpga' into where-to-build 2022-02-04 10:54:14 -08:00
David Biancolin a573288f25 [sbt] Use slash syntax for scoping 2022-02-03 04:39:10 +00:00
David Biancolin 934cfbdeaa
Merge pull request #910 from firesim/fix-driver-rc
Fix Driver Return Code
2022-01-26 13:37:38 -08:00
David Biancolin 35e45c9b76 [asserts] Convert assert nodes to stop + print early 2022-01-25 20:46:37 +00:00
David Biancolin bdec8d667d Catch new assertion nodes that would present to Synthesis and fail 2022-01-25 20:45:30 +00:00
David Biancolin 56e853dadd Remove WithAutoILA from default recipes
Users should explicitly mix this in like other debug features
2022-01-25 00:50:58 +00:00
David Biancolin 351054c971 Fix Driver Return Code 2022-01-25 00:29:32 +00:00
David Biancolin d2aad96215
Merge pull request #889 from firesim/fased-reset-intialized-config
Bake-in FASED default runtime configuration into hardware
2022-01-21 16:59:16 -08:00
Abraham Gonzalez 9c778b6cd7 Re-add cloneType to more record types 2022-01-21 16:06:36 -08:00
abejgonzalez 1bf9ece693 Fix warnings and some errors 2022-01-21 14:20:45 -08:00
abejgonzalez beba926290 Merge branch 'chisel-3.5-fixes' into chisel-3.5-published 2022-01-20 20:29:20 -08:00
abejgonzalez 4d36e5ba44 Bump build.sbt for Chisel fix 2022-01-20 20:28:20 -08:00
Abraham Gonzalez 0ed1e42df8
Port to Python3 + Switch to GH-A CI (#878)
* First pass at porting to python3

* Fix import errors | Setup user argcomplete

* Update awstools CLI with user data file | Bump CI to use it

* Wait until launch is complete

* Add userdata as string | Use sudo for machine-launch-script

* Remove execute permissions on machine-launch-script

* Better match on machine-launch-script complete

* Revert python-devel removal

* Use python3 for pytests

* Update more python3 items

* Remove extra shebang

* Port docs to python3 and add to CI

* Add ISCA experiments to CI build check

* Use yum not apt-get

* Add make to doc section

* Bump multilate-loadgen for sysroot fix

* For BW test build don't use shebang

* Fix docs Makefile options

* Fix more doc warnings

* Add first set of regression tests

* Fix raw_input

* Regression bump | Run workload fix

* Add functools to topology

* Fix linux poweroff test (nic still has issues)

* Update regression scripts

* Ignore machine-launch-script.sh in regression area

* Fix map python3 issues

* Get rid of shebangs

* Fix more regressions

* Print machine-launch.log on fail | More clarification on user_data

* Transfer to CI some shorter regressions

* Add a manual approval to fpga based tests

* Fix indentation in config.yml

* Fix test symlink

* Use spot for CI manager instance | Try to use python3 for aws CI container | Version all pip packages

* Make run-ini-api-tests an executable

* Fix CI terminaterunfarm arg

* Add firesim.pem file to manager

* Bump python in CI instance

* Bump pip in CI container

* Remove pip sudo in CI container

* Fix launch script pip version equals

* Ini converted into strings

* Properly pass test_dir to opts in CI

* First pass at GH-A

* Round 2 CI fixes

* Try changes

* Remove CircleCI | Switch to fancy GH-A

* Rename self-host setup script

* Update chmod

* Use - instead of _ for env. vars

* Rename some defs | Remove extra imports

* Small comment updates

* Forgot to import in ini-api tests | Small comment on Fabric timeouts

* Add sys to linux poweroff

* Update linux timeout, fix small imports

* Update comment

* Fix-up workflow-monitor.py

* Avoid excessive logging in run-linux | Terminate spot instances after max-runtime

* Add more workflow-monitor states | Add pty=False to running workloads

* Update CI documentation | Add CI badge [ci skip]

* Don't use spot instances

* Update CI readme

* Determine runner version from remote repo and check for runner setup

* Address PR comments

* Update CI_README location of where to find IPs | Forgot ret_code

* Only run CI on prs/pushes to dev/main/master

* Fix terminate_workflow_instances in init-manager.py

* Cleanup FireSim repo cloning | Only run CI on PRs (since its runs on merge commit)
2022-01-20 11:03:37 -08:00
abejgonzalez 5f27114ade Remove deprecated cloneTypes 2022-01-17 21:43:09 -08:00
abejgonzalez 0a68c1b24a Bump to Chisel 3.5.0 2022-01-17 15:52:09 -08:00
James Dunn 82c5a87c27
Merge pull request #900 from firesim/james-dev
WithAutoILA by default
2021-12-17 12:30:32 -08:00
David Biancolin 111e47a96f Pare down sbt plugins 2021-12-14 23:53:50 +00:00
David Biancolin 09aba77d8b Bump to SBT 1.5.5 2021-12-14 23:53:30 +00:00