Commit Graph

36 Commits

Author SHA1 Message Date
John Wright
1f98c84210 Add ChipTop to enable real chip configs with IO cells, etc. (#480)
This adds an additional layer (ChipTop) between the System module and the TestHarness. The IOBinder API is now changed to take only a single parameter (an Any) and return a 3 things: The IO port(s), the IO cell(s), and a function to call inside the test harness, which is analogous to the old IOBinder function, except that it takes a TestHarness object as an argument instead of (clock, reset, success).
* A new Top-level module, ChipTop, has been created. ChipTop instantiates a "system" module specified by BuildSystem.
* BuildTop now builds a ChipTop dut module in the TestHarness by default
* A new BuildSystem key has been added, which by default builds DigitalTop (previously just called Top)
* The IOBinders API has changed. IOBinders are now called inside of ChipTop and return a tuple3 of (IO ports, IO cells, harness functions). The harness functions are now called inside the TestHarness (this is analogous to the previous IOBinder functions).
* IO cell models have been included in ChipTop. These can be replaced with real IO cells for tapeout, or used as-is for simulation.
* The default for the TOP make variable is now ChipTop (was Top)
2020-04-01 14:03:56 -07:00
Abraham Gonzalez
d0bec3fba7 Ariane Integration (#448)
* [ariane/make] integrate ariane | have verilator be installed on path not in makefile

* [misc] warn on verilator not found | search for v files | cleanup build.sbt + .gitignore

* [firesim] bump

* [ci] add midas ariane tests

* [docker/ci] use new docker-image with verilator | re-elab on v changes for ariane | address comments

* [ci] remove references to local verilator install

* [verilator] update flags

* [verilator] minimal set of flags for ariane

* [ariane] bump ariane to master

* [ci] revert to 4.016 verilator

* [ci] install verilator to ci server | misc compile fixes

* [ci/make] add longer ci timeout | update when assert is added in verilator sim

* [firesim] bump for misc. updates

* [make/ci] cleanup makefile and remove firesim tests of it

* [docs/firesim] bump and clean docs

* [firesim] bump

* [ci] use remote verilator for midas tests

* [misc] cleanup built.sbt more

* [firesim] bump

* [misc] bump build.sbt patch for tutorials

* [firesim/ci] cleanup and bump firesim
2020-03-09 18:06:41 -07:00
John Wright
1e26cb1f49 Add a git version check to the init scripts and make them work outside of the repo root. (#459)
* Fixes #453

- Update scripts/init-submodules-no-riscv-tools.sh to also work if you're in scripts/

- Provide a git version check to ensure the init scripts will work (>= 1.7.8)

- Update the documentation to be more explicit that the init script is also for updating.

* Update scripts/init-submodules-no-riscv-tools-nolog.sh

Co-Authored-By: Albert Ou <aou@eecs.berkeley.edu>
2020-03-05 13:04:54 -08:00
Abraham Gonzalez
01238c8b7a Rename Config Mixins to Fragments (#451)
* [docs] rename config mixins -> fragments [ci skip]

* [docs] cleanup naming | link similar sections [ci skip]

* [boom] bump for mixin rename [ci skip]

* [docs] cleanup capitalization [ci skip]

* [docs] consistent config fragment naming [ci skip]

* [boom] bump boom for documentation changes [ci skip]

* [docs] update source comments [ci skip]

* [docs] fix last config fragment name [ci skip]

Co-Authored-By: alonamid <alonamid@eecs.berkeley.edu>

Co-authored-by: alonamid <alonamid@eecs.berkeley.edu>
2020-02-27 09:31:08 -08:00
Jerry Zhao
708a5fb9a6 Address generator unification PR reviews 2020-02-23 22:53:14 -08:00
Jerry Zhao
c12819eb52 Update docs 2020-02-13 12:33:28 -08:00
alonamid
cb2f48b148 System Requirements (#387)
* more system requirements

* [ci skip] system reqs PR comments

* scripts: Make {ubuntu,centos}-req.sh executable [ci skip]

* scripts: Add Ubuntu toolchain dependencies [ci skip]

* inline marshal reqs

* [skip ci] Update scripts/centos-req.sh

Co-Authored-By: Albert Ou <aou@eecs.berkeley.edu>

Co-authored-by: Albert Ou <aou@eecs.berkeley.edu>
2020-01-22 13:40:59 -08:00
Jerry Zhao
ac5235e5ed Revamp the config system for Top/Harness (#347)
* Refactor how Configs parameterize the Top and TestHarnesses

* Bump sha3, testchipip, icenet, firesim
2020-01-21 20:44:54 -08:00
alonamid
56770a1a4c Gemmini Integration (#356)
* gemmini submodule

* fix build.sbt

* firechip gemmini config

* bump gemmini

* bump gemmini

* bump gemmini

* fix hwacha typo

* start gemmini docs

* bump gemmini

* gemmini docs

* Update Gemmini RST. Add quick-build instructions to Gemmini RST

* start gemmini CI

* bump gemmini

* gemmini CI fixes

* bump gemmini

* fix simulator name in gemmini CI

* cleanup gemmini CI

* bump esp-isa-sim to include gemmini

* update gemmini docs

* [ci skip] fix gemmini docs typos

* Update Gemmini.rst

Add instructions on building Gemmini programs, or writing your own programs.

* Changed order of VCS and Verilator in Gemmini docs

* Remove "make your own tests" from Gemmini README

* bump gemmini

* try to fix midasexamples CI
2019-12-14 01:36:42 -08:00
David Biancolin
ca3eff022e Merge remote-tracking branch 'origin' into dev 2019-10-12 05:36:06 +00:00
Schuyler Eldridge
9c1ca8939a Use new website links
Signed-off-by: Schuyler Eldridge <schuyler.eldridge@gmail.com>
2019-10-11 11:22:27 -04:00
abejgonzalez
ef3efa69ef update the docs up to tools 2019-10-07 20:29:14 -07:00
alonamid
a07a1d2b8a some docs cleanup 2019-10-04 00:16:25 -07:00
Jerry Zhao
48c8e0f571 [docs][ci skip] Address comments 2019-09-28 22:09:18 -07:00
Jerry Zhao
3dbb5508be [docs][ci skip] Information on debug methodology 2019-09-28 18:20:23 -07:00
abejgonzalez
5a825d77c4 renamed Advanced section | move Top-Testharness to Advanced [ci skip] 2019-09-28 14:14:41 -07:00
abejgonzalez
f71e65e1af move into chipyard basics [ci skip] 2019-09-28 13:48:43 -07:00
alonamid
65604b0975 Merge branch 'dev' into howie-docs 2019-09-25 20:26:22 -07:00
abejgonzalez
461829678e switch from no debug to peripheryserial [skip ci] 2019-09-25 20:24:20 -07:00
Abraham Gonzalez
8126cdf95f Merge pull request #250 from mehnadnerd/master
Notes that building with macOS doesn't really work
2019-09-25 20:09:27 -07:00
abejgonzalez
d0e5a40687 slightly more clarity in the diplomacy example [skip ci] 2019-09-25 20:02:16 -07:00
Abraham Gonzalez
7cfac672c1 Update docs/Chipyard-Basics/Configs-Parameters-Mixins.rst [skip ci]
Co-Authored-By: Jerry Zhao <jerryz123@berkeley.edu>
2019-09-25 19:34:47 -07:00
Brendan Sweeney
438bb8c785 [docs] [skip ci] Change based on Abe's comments 2019-09-25 17:26:44 -07:00
Howard Mao
2f3c87dade add explanation of LazyModule vs. LazyModuleImp [skip ci] 2019-09-25 17:25:38 -07:00
alonamid
318cccd541 docs reorg 2019-09-25 14:03:54 -07:00
Brendan Sweeney
f7138a8d71 Notes on building with macOS doesn't really work 2019-09-25 12:53:08 -07:00
alonamid
b858c76f09 fix rocket core ref 2019-09-25 12:28:39 -07:00
abejgonzalez
edaf99ca9a small clarifications + cleanup [skip ci] 2019-09-20 12:25:23 -07:00
Howard Mao
f96a70fc61 fix another instance of broken references 2019-09-16 10:21:10 -07:00
Howard Mao
f31f629505 replace broken :numref: 2019-09-12 17:05:47 -07:00
Howard Mao
a71153a94d fix some reference in Chipyard Components 2019-09-12 16:57:11 -07:00
Howard Mao
069bb55442 a bit more explanation of site, here, up 2019-09-12 14:26:51 -07:00
Jerry Zhao
4de40d3863 Update naming in docs 2019-08-28 14:53:24 -07:00
abejgonzalez
8ba73d13b8 fix the doc warnings 2019-08-08 17:19:10 -07:00
abejgonzalez
2e043bd06f Merge remote-tracking branch 'origin/dev' into abe-docs-dev 2019-08-07 23:39:11 -07:00
alonamid
aec0fb73c4 docs reorg 2019-07-25 01:20:38 -07:00