Commit Graph

3698 Commits

Author SHA1 Message Date
David Biancolin b188faa0b8 Use libelf installed at local sysroot when building libdwarf 2021-07-14 22:19:45 +00:00
David Biancolin e7c71f0d70 [makefrag] Change TARGET_ flags to append to existing variables 2021-07-14 00:31:36 +00:00
David Biancolin 20b09215df Stop installing libelf + libdwarf to RISCV 2021-07-14 00:31:36 +00:00
David Biancolin 4c70d0d205 Remove the boost submodule 2021-07-08 00:54:56 +00:00
David Biancolin 78a62a90a5
Merge pull request #803 from firesim/remove-barstools
Remove the now unnecessary barstools dependency
2021-07-06 20:11:45 -07:00
David Biancolin 758512ee50 Remove the now unnecessary barstools dependency 2021-07-06 23:53:55 +00:00
David Biancolin c2ba5e0380
Merge pull request #795 from firesim/fix-driver
Fix Driver to Stage Migration
2021-06-21 15:56:32 -07:00
David Biancolin c5ea43d7a9 Fix a bug in the Driver->Stage change 2021-06-19 00:11:16 +00:00
David Biancolin bbf1acd741
Merge pull request #780 from firesim/bump_chisel3_new
Resolve Chisel Deprecations
2021-06-17 21:32:34 -07:00
David Biancolin 9a4059961c
Merge pull request #788 from firesim/ami-1.10
Bump to AMI 1.10 / AWS FPGA 1.4.19 / Vivado 2020
2021-06-17 15:07:05 -07:00
David Biancolin 92862c0410 Workaround Driver deprecations 2021-06-17 20:51:00 +00:00
David Biancolin d281ab27cc Regenerate AGFIs 2021-06-15 22:16:55 +00:00
David Biancolin 080fa9d79e [manager] Update XOCL removal for 1.10 2021-06-15 21:45:28 +00:00
Abraham Gonzalez c6e1bbc77b Bump AMI 1.10 / aws-fpga 1.4.9 / Vivado 2020 2021-06-15 21:45:28 +00:00
David Biancolin b611551ca5 FireSim 1.12.0 Release (Bump CY to pre-release commit) 2021-06-14 18:13:48 +00:00
David Biancolin c5eb111ac4 Bump AWS-FPGA 2021-06-14 17:26:39 +00:00
David Biancolin cc0b953498 Update changelog for 1.12 2021-06-14 17:25:10 +00:00
David Biancolin 3d1ab1cd6d Update assert-synthesis docs 2021-06-14 05:14:54 +00:00
David Biancolin 045057f696 Merge remote-tracking branch 'origin/master' into dev 2021-06-14 04:21:28 +00:00
David Biancolin 58294cca2e Remove one now unneeded default AGFI & regenerate 2021-06-14 04:20:45 +00:00
David Biancolin a47d409a35 [ini] Update build and build-recipe samples 2021-06-14 04:18:49 +00:00
Jiuyang Liu e0ed987e2c
remove QoRShimGenerator, seems to be dead code, not used anymore. 2021-06-07 17:50:01 +00:00
Jiuyang Liu 4367d0b110
fix driver, but depends on chipsalliance/chisel3#1854 2021-06-07 17:50:01 +00:00
Jiuyang Liu 15dfcc7100
remove reference to chisel3.Driver 2021-06-07 17:50:00 +00:00
Jiuyang Liu 4be8d56e91
remove io
This patch removes `Module.io` reference with
`chisel3.experimental.DataMirror.modulePorts(dut)` which was broken by
chipsalliance/chisel3#1745
2021-06-07 17:50:00 +00:00
Jiuyang Liu 365cce1697
remove deprecations.
This commit remove all reference to chisel3.core, toBool, unless in firesim,
which was broken by chipsalliance/chisel3#1730.
2021-06-07 17:50:00 +00:00
David Biancolin b688aff2a5
Add back RW deploy key to scaladoc publishing (#774) 2021-06-07 10:20:44 -07:00
David Biancolin cf992acf8c
[midaseamples] Fix a reset elaboration bug in VerilogAccumulator (#773) 2021-06-03 17:14:40 -07:00
David Biancolin dd54294f12
Bump pygments from 2.2.0 to 2.7.4 in /docs (#770)
Bumps [pygments](https://github.com/pygments/pygments) from 2.2.0 to 2.7.4.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](https://github.com/pygments/pygments/compare/2.2.0...2.7.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-03 17:13:54 -07:00
David Biancolin 988d4d7ee7
[TracerV] Support Heterogenous Mixes of Cores (#776)
Resolves #729
2021-06-03 14:53:10 -07:00
David Biancolin d7e58c17c7
Merge pull request #672 from firesim/faster-async-mem-models
Add faster async-read mem model for lower FMR penalty
2021-06-03 12:52:16 -07:00
alonamid ee59de85cc
Merge pull request #775 from firesim/alonamid-patch-2
Update AutoCounter cover module example
2021-06-02 18:53:42 -07:00
alonamid f3790dc8cd
Update AutoCounter cover module example 2021-06-02 16:23:58 -07:00
David Biancolin a92f2752dc
Merge pull request #769 from firesim/remove-firemarshal-ported-workloads
Remove Coremark and SPEC2017 from deploy/workloads
2021-06-02 18:32:02 -04:00
David Biancolin 9240220afd
First-pass AWS-hosted CI based off Abe's BOOM FireSim CI (#727) 2021-05-26 19:44:54 -04:00
David Biancolin 739d7431a5 Remove SPEC2017 2021-05-26 21:42:01 +00:00
David Biancolin 9e9ea5119b remove workloads/coremark 2021-05-26 21:27:04 +00:00
Albert Magyar 7bea60c3b4 Add comment about target mask implementation to BankedAsyncMemModel 2021-05-20 18:27:51 +00:00
Albert Magyar 33568d7a20 Add faster async-read mem model for lower FMR penalty 2021-05-20 16:36:36 +00:00
Albert Magyar 9598b7f444
Merge pull request #738 from firesim/new-dedup
Changes to allow limited use of FIRRTL 1.4 dedup to maintain support for composed optimizations
2021-05-19 13:24:44 -07:00
Rahul Bodduna e7e8f2eaf5
Check sns topic permission at start of buildafi and warn user (#754)
Rather than exiting with a unhandled exception when SNS-related permissions failures happen at the end of buildafi, check whether the topic exists (or can be created) early in buildafi and warn the user that the script will be unable to send email (and log the details of the exception) but continue to finish buildafi because failure in sending the notification probably should not be a fatal error for the manager.

This PR also introduces pytest driven unit tests for the firesim manager. The tests make use of moto to mock the backend of boto and prevent tests from actually calling out to AWS API's. They also utilize unittest.mock and botocore.stub.Stubber to inject desired testing stimulus to the code under test.

Adding two tests for the new awstools.get_snsname_arn() function.

To run them:
* make sure you have the new deps in machine-launch-script.sh
* cd deploy
* pytest

Useful primers on pytest & testing AWS:
* https://tensoriot.medium.com/unit-testing-with-pytest-and-moto-e94fc2eefe7a
* https://github.com/boto/boto3/issues/2485

Useful primer on unittest.mock (fka py-mock, not to be confused with pymock):
* https://www.fugue.co/blog/2016-02-11-python-mocking-101

'mock' became part of the stdlib in python 3.3 and was backported to 2.7
as 'py-mock'.  Of course, python being python, there is also a pymock
and that's totally different.

Detailed walkthrough of credential protection while using moto:
* https://blog.codecentric.de/en/2020/01/testing-aws-python-code-with-moto/


* [ci] Add manager pytests

* [ci] Provide aws credentials for pytest

* [ci] Remove AWS creds registration, andt push  use conftest to provide a region


Co-authored-by: Tim Snyder <snyder.tim@gmail.com>
Co-authored-by: Tim Snyder <timothy.snyder@sifive.com>
Co-authored-by: David Biancolin <david.biancolin@gmail.com>
2021-05-12 18:05:42 -05:00
David Biancolin 1cfd153a57
Merge pull request #767 from firesim/regen-agfis
Bump CY for SN fix; Bump AWS-FPGA; Regenerate AGFIs
2021-05-10 12:44:33 -07:00
David Biancolin d22301f4ad Regenerate AGFIs 2021-05-08 01:25:55 +00:00
David Biancolin c15d9ffd76 [workloads] Add a poweroff workload for testing a networked target 2021-05-08 01:24:00 +00:00
David Biancolin 5866208e25 Bump aws-fpga 2021-05-08 01:23:02 +00:00
David Biancolin f86a427d49 Bump CY 2021-05-08 01:21:42 +00:00
David Biancolin a65961e2a0 [manager] Minor buildafi bug fixes 2021-05-08 00:33:33 +00:00
David Biancolin d75be2dd96
Merge pull request #765 from firesim/autocounter-ci
[ci] Add autocounter tests to CI
2021-05-07 16:30:07 -07:00
David Biancolin 9c667870d2
Merge pull request #761 from sequencer/seq_patch2
Fix compile and remove unused.
2021-05-07 16:02:48 -07:00
David Biancolin 8055d92e27 [midasexamples] add AutoCounterModule scaladoc 2021-05-07 18:30:44 +00:00