Commit Graph

8 Commits

Author SHA1 Message Date
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 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 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 32cf7b7ce8
Update GoldenGate-and-Driver-Development.rst (#1259) 2022-10-14 17:11:55 -04: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
Abraham Gonzalez 29aac588a7 Update documentation 2022-06-18 08:13:22 +00:00
David Biancolin b188cf5522 [docs] Port docs to use new gh-file-ref role 2022-04-04 19:05:39 -07:00
David Biancolin 7dcd606308
Add a Developer Section to docs.fires.im (#1004)
This includes: 
* An FPGA-level metasimulation section
* A description of available tests for Driver and Scala dev
2022-04-04 11:33:00 -07:00