Commit Graph

64 Commits

Author SHA1 Message Date
Sagar Karandikar 5998737cba rename sourceme-f1-manager.sh to sourceme-manager.sh 2023-06-05 13:59:35 -07:00
abejgonzalez 938351f426 Rework GG comp. to support Vlog top + Xcelium 2023-05-26 01:16:22 -07:00
Abraham Gonzalez 6fb10976ab
Update Makefile to be non-parallel 2023-03-30 05:39:53 -07:00
Nandor Licker fc759f29f1
VCS post-synthesis RTL simulators (#1438)
This PR adds make rules to get the post-synth RTL out of vivado and build a VCS simulator out of it.
On VCS, a 150ns startup delay is hard-wired on all simulation modes to yield identical waveforms.
The delay is required to initialize vivado gate-level libraries.

Co-authored-by: Nandor Licker <nandorl@sifive.com>
2023-02-24 08:06:50 +02: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
Nandor Licker 43b09980e5
Cache the classpath between SBT runs (#1390)
The build system includes 3 targets caching the classpath containing compiled jars to be used by subsequent java invocations, fully bypassing the slow sbt setup on repeated invocations to SBT.
2023-01-19 22:12:49 +00:00
Nandor Licker e5fc4cc121
Split project `Makefrag` into multiple components (#1354) 2023-01-18 11:33:41 +00:00
Nandor Licker 7bda166476
Separate XSIM from f1 into simif_xsim (#1374)
The XSIM implementation is largely disjoint from the F1 one. Separate it.
2023-01-12 21:09:13 +00:00
Nandor Licker 7ccc6cd37f
Split `target-agnostic.mk` into multiple files (#1353)
The `target-agnostic.mk` file is a monolith that performs too many tasks at once.
This PR splits it into multiple independent files to delimit the different tasks.
Also moves definitions closer together for clarity.  Existing external users of
`target-agnostic.mk` can include the individual splits they are interested in.
2023-01-06 15:54:34 +02:00
Abraham Gonzalez 9151faaa63
Use SBT launch jar 2022-10-12 18:09:28 -07:00
Abraham Gonzalez 99169182a1
Localize java tmpdir 2022-10-08 16:47:20 -07:00
Abraham Gonzalez 2f88d24206 Use conda sbt | Source CY env.sh when lib 2022-09-12 18:38:21 +00:00
abejgonzalez c0d346aa8a Add Vitis CI 2022-06-15 21:35:37 -07:00
David Biancolin 95cbbf94c9 Merge remote-tracking branch 'origin/main' into vitis-integration 2022-05-17 23:19:21 +00:00
David Biancolin 61a329b4e8 Remove Sriracha 2021-12-08 06:48:11 +00:00
David Biancolin 335a9cc217 Revert "Workaround treadle firrtl-dependency management using sys.prop (#887)"
This reverts commit 626c8e9fc6.
2021-12-02 00:23:55 +00:00
David Biancolin 626c8e9fc6
Workaround treadle firrtl-dependency management using sys.prop (#887) 2021-12-01 09:39:11 -08:00
David Biancolin 93d73a1a2b Change default platform to vitis 2021-11-14 09:36:34 -08:00
David Biancolin 2e30100d35 Use new file emission trait + makefile naming cleanup 2021-07-29 22:40:49 +00:00
abejgonzalez 52a9d0fd2f Align sbt-server make targets with Chipyard 2020-12-11 14:15:28 -08:00
abejgonzalez 6dc98f6cff Fix server start bug 2020-12-03 14:23:14 -08:00
abejgonzalez e6b3713f98 Fix active.json path for timestamp 2020-12-03 14:12:21 -08:00
abejgonzalez 1961f0a096 Use project/active.json instead of new TIMESTAMP for thin client 2020-12-03 14:04:50 -08:00
David Biancolin 3b96b3770a Prune out --client using subst instead of shell 2020-12-03 14:02:49 -08:00
abejgonzalez 515ac12059 Tentative support for SBT helper targets with thin client 2020-12-03 12:00:19 -08:00
abejgonzalez f9ca2f49f9 Fix LFSR | Small cleanup for thin client 2020-12-02 20:57:02 -08:00
abejgonzalez 593596c5a8 Need tabs not spaces in Makefile 2020-12-02 16:42:03 -08:00
abejgonzalez 10f9e7efe0 Support SBT thin client in FireSim standalone | Split JAVA/SBT options 2020-12-02 16:10:17 -08:00
David Biancolin 3521e99963 [SBT] Disable the supershell 2020-07-01 13:45:27 -07:00
David Biancolin 03e82779f7 [make] Add Scala build tool deps to target elaboration recipes 2020-06-26 22:50:13 -07:00
David Biancolin 744343ed70 [make] Specify a custom bloop server port w/ BLOOP_NAILGUN_PORT 2020-06-25 15:27:21 -07:00
David Biancolin 2130716105 [make] Move firesim-as-top handling of bloop into Makefile 2020-06-21 23:20:43 +00:00
David Biancolin f6fe209f6e [WIP] Bloop support 2020-06-21 19:53:09 +00:00
David Biancolin ef9305580b [make] let user pass arbitrary comamnd to sbt 2020-05-25 12:06:58 -07:00
Albert Magyar e56aad4bed
Don't include hidden files in make source file lists (#568) 2020-05-21 00:03:32 -07:00
David Biancolin 4ec7325ac6 Move .PHONY declarations beside their recipes 2020-05-14 19:24:08 +00:00
David Biancolin e5598dfd1c Pull test sources from firrtl-test.jar. Delete copies 2020-05-14 03:21:26 +00:00
David Biancolin aea3f70e42 [make] add a phony target for running scala tests 2020-04-24 11:35:58 -07:00
David Biancolin 551bb49427 Remove ++<scala-version> from SBT invocations 2020-04-24 11:35:58 -07:00
David Biancolin f28c1b1ba0 Merge in dev; bump chipyard; fix FSimAsTop 2019-12-10 22:48:11 +00:00
David Biancolin de472d800f Eschew use of target-rtl symlink 2019-12-10 21:46:51 +00:00
David Biancolin 1f24ae1cfe Add LICENSE header where it is missing 2019-09-30 17:03:21 +00:00
David Biancolin 957db650ab Specify correct SBT project in each target project mk 2019-07-23 15:41:38 -07:00
Howard Mao c3e246a76b fix JAVA_ARGS for standalone mode 2019-07-19 09:53:47 -07:00
Howard Mao 90bf465a83 fix fasedtests and midasexamples C++ test harness and makefrags 2019-07-12 17:36:22 -07:00
Howard Mao 01edf13337 rename SBT_FLAGS to JAVA_ARGS 2019-07-10 17:00:35 -07:00
Howard Mao c3c8856387 invoke rocket-chip SBT jar file like chipyard does 2019-07-10 15:56:18 -07:00
Howard Mao 2d49250ecb fix redundant SBT_FLAGS adding 2019-07-10 11:39:36 -07:00
David Biancolin 71785a6039 firechip renamed to chipyard 2019-06-28 05:33:04 +00:00
David Biancolin 0205a85d18 Major reorganization to enable FireSim-as-a-library 2019-05-29 00:48:03 +00:00