Commit Graph

287 Commits

Author SHA1 Message Date
Abraham Gonzalez
af61c533da Merge .PHONY variables 2020-08-19 22:15:55 -07:00
Abraham Gonzalez
b7d9472b4a Cleanup help commands 2020-08-19 22:10:18 -07:00
Abraham Gonzalez
3b991f3ed7 Move vcs flags to vcs.mk | Misc. cleanup 2020-08-18 11:14:01 -07:00
Abraham Gonzalez
b007d79820 Add help section to makefiles + Reorganize 2020-08-17 20:28:05 -07:00
Colin Schmidt
edbb86ef98 Move elf2hex preprocessing into separate script 2020-08-05 11:23:48 -07:00
Colin Schmidt
93c7fef942 We need to uppercase hex chars for bc 2020-08-05 10:03:21 -07:00
Jerry Zhao
b719919934 Add RANDOM_SEED variable to set random init for VCS and Verilator simulations 2020-07-20 18:25:18 -07:00
Jerry Zhao
2196a621c6 Pass FIRRTL_LOGLEVEL to GenerateTopAndHarness 2020-07-09 12:39:17 -07:00
David Biancolin
863e68ff30 Merge pull request #576 from ucb-bar/make-suffix-rules
Disable all make suffix rules for improved EC2 performance
2020-06-27 13:37:16 -07:00
David Biancolin
f311aa37d1 [make] Remove unneeded CLASSES variables 2020-06-21 23:44:01 +00:00
David Biancolin
c5b09541be [make] Find all build.sbt files and use them for bloop prereqs 2020-06-21 23:36:23 +00:00
David Biancolin
ce67134329 Support using bloop instead of SBT 2020-06-21 23:25:53 +00:00
Jerry Zhao
71f340a0af Use output_dir for run-binary logs and waveforms (#596)
* Dump run-binary files in output/$(long_name) instead of current directory
* Remove run-none rules, these were equivalent to run-binary BINARY=none
2020-06-12 10:08:55 -07:00
Jerry Zhao
623bafacd5 Warn if RISCV unset (#601) 2020-06-10 14:46:53 -07:00
David Biancolin
48ba92dff1 Disable all make suffix rules for improved EC2 performance 2020-05-28 12:36:17 -07:00
Abraham Gonzalez
85b555dbce NVDLA Integration + Cleanup Ariane Preprocessing (#505)
* [nvdla] initial nvdla integration

* [nvdla] add firesim configs

* [nvdla] re-add accidentally deleted line

* [nvdla] works on master with small

* [nvdla] use master branch of nvdla

* [nvdla] remove extra sources

* [nvdla] bump

* [nvdla + ariane] bump and use insert-includes for pre-processing

* [nvdla] add ci | remove target configs in FireChip | update naming

* [nvdla] bump nvdla | fix ci run-tests error

* [nvdla] re-enable PCWM-L error | fix/update makefile(s)

* [nvdla] bump nvdla fragments in FireChip

* [misc] bump tutorial patches

* [chipyard] remove extra import

* [nvdla] bump nvdla for pbus [ci skip]

* [nvdla] update firemarshal and add nvdla workload

* [nvdla] bump nvdla-workload

* [nvdla] bump hw

* [docs] add basic documentation

* [docs] adjustments to documentation

* [misc] update docs | bump firesim with recipe

* [misc] disable error on warnings in verilator | bump number width to match RC

* [docs] fix doc build error

* [verilator] move no fail on warning to be global

* [ci skip] [nvdla] bump submodule urls

* [misc] move firesim specific configs into nvdla dir [ci skip]

* [nvdla] fix run-tests in ci

* update RC configs | bump marshal | bump nvdla-workload

* [nvdla] bump nvdla-workload [ci skip]

* add topology mixin to nvdla configs

* update tutorial patches
2020-05-16 12:22:30 -07:00
Jerry Zhao
3f5a204fd0 BOOM Bump w. Fromajo (#523)
* [uart] add uart adapter | add uart + adapter to all configs

* [uart] change pty define name | add uart to all configs that need it

* [uart] default to 115200 baudrate

* [dromajo] first working commit

* [dromajo] bump boom for commit-width > 1 fix

* [dromajo] adjust dromajo commits

* [dromajo] bump boom

* commit dromajo changes

* extra

* [dromajo] add block device to configs

* rebump older modules

* bump firesim

* [chipyard] enable dromajo in midas level simulation

* [testchipip] forgot to bump

* get rid of breaking things

* bump firesim

* bump boom

* Bump BOOM to ifu3 WIP

* bump firesim

* fix how memory is passed to dromajo

* bump boom and firesim

* fix merge issues

* add dromajo cosim bridge in chipyard

* move traceio back into testchipip (#488)

* refer to testchipip traceio in firechip (#490)

* Move TraceIO fragment to chipyard (#492)

* fix chipyard dromajo bridge (#493)

* Sboom dromajo bump (#501)

* [FireChip] Use clock in BridgeBinders

* [firesim] Update TraceGen BridgeBinder

* [Firechip] Add support for Tile <-> Uncore rational division

* [firesim] Update the multiclock test

* [firechip] Commit some Eagle X-related mock configs

* [firechip] Instantiate multiple TracerV bridges

* [Firechip] Include reset in tracerv tokens

* [TracerV] Drop the first token in comparison tests

* [Firechip] Make reverse instruction order in trace printf

* WARNING: Point at a fork of boom @ davidbiancolin

* [firesim] Update ClockBridge API

* Add Gemmini to README [ci skip] (#487)

* [firechip] Isolate all firesim-multiclock stuff in a single file

* add documentation on ring network and system bus

* Bump firesim for CI

* Bump FireSim

* Bump testchipip to dev

[ci skip]

* Bump FireSim

* [make] split up specific make vars/targets into frags (#499)

* [make] split up specific make vars/targets into frags

* [make] move dramsim and max-cycles into SIM_FLAGS

* [misc] move ariane configs to configs/ folder

* [dromajo] add dromajo

* [dromajo] bump for new traceio changes

* bump firesim

* bump firesim

* point to chipyard traceio

* bump boom

Co-authored-by: David Biancolin <david.biancolin@gmail.com>
Co-authored-by: Howard Mao <zhehao.mao@gmail.com>

* Support Dromajo + TracerV configurations

* [docs] add documentation for Dromajo in FireSim + Chipyard

* add a bit more docs

* [docs] bump docs

* [firesim] dump artefacts in firesim

* [firesim] update firesim

* [testchipip] remove extraneous items in testchipip

* [dromajo] prevent dromajo from breaking when params unset

* update firesim, dromajo, and testchipip

* [firesim] bump firesim

* [firesim] bump firesim

* [misc] bump firesim and testchipip for reviewer comments

* remove WithNoGPIO fragment

* bump firesim

* bump dromajo boom config

* bump firesim

* generate artefacts in firesim testsuite

Co-authored-by: abejgonzalez <abe.j.gonza@gmail.com>
Co-authored-by: Abraham Gonzalez <abe.gonzalez@berkeley.edu>
Co-authored-by: David Biancolin <david.biancolin@gmail.com>
Co-authored-by: Howard Mao <zhehao.mao@gmail.com>
2020-05-16 00:21:24 -07:00
David Biancolin
ebe993cefe Assemble the firrt-test.jar and put it in its own directory 2020-05-14 19:25:21 +00:00
David Biancolin
2fa9a41902 [make] Fix firrtl prerequiste lookup 2020-05-11 03:46:03 +00:00
Howard Mao
a905dbedcc add make rules for running simulator without executable 2020-04-28 10:32:28 -07:00
David Biancolin
b303cf6e81 Rocket Chip Stage/Phase Bump (#503)
[WIP] Minimally elaborating design

Bring up a feature-complete Chipyard stage

Pull in Makefrag generation; Bump submodules

Update config generation, and global reset scheme

Bump submodules; clean up

Bump FireSim

Remove some unhygenic comments / WS

Remove the rocketchip subproject

[CI] Lengthen ariane tests timeout

Address some remaining reviewer comments

[firechip] Refresh a Field that cannot be used across repeated instantiations

Bump all submodules
2020-04-18 17:54:27 +00:00
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
3d253c0f67 [make] split up specific make vars/targets into frags (#499)
* [make] split up specific make vars/targets into frags

* [make] move dramsim and max-cycles into SIM_FLAGS

* [misc] move ariane configs to configs/ folder
2020-03-30 17:04:45 -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
Howard Mao
48a7f22c09 move DRAMSim2 makefrag rules 2020-03-03 09:27:51 -08:00
Howard Mao
24fe57d447 use blackboxed SimDRAM instead of SimAXIMem 2020-03-02 20:49:20 -08:00
Jerry Zhao
5d27ac5bbc [sim] Pipe /dev/null to simulators to fix VCS messing up stdout (#417) 2020-01-30 10:08:53 -08:00
Abraham Gonzalez
3fe0460a80 enforce that macrocompiler passes are done serially (#392) 2020-01-23 18:06:28 -08:00
Abraham Gonzalez
335bbf7651 Patch parallel make (#386)
* fix parallel make non-deterministic issue

* change touch to echo to not affect file state
2020-01-22 09:08:05 -08:00
Howard Mao
bd6397130b make sure grep filter only omits .h files 2019-10-31 20:18:09 -07:00
Colin Schmidt
b934c51315 Add phony firrtl target to just build firrtl file (#317) 2019-10-24 10:26:45 -07:00
Howard Mao
e859fb1779 make sure blackbox resource files always created 2019-10-21 09:55:40 -07:00
Howard Mao
05af2f9a9c Fix tracegen target and add to CI 2019-10-21 09:55:40 -07:00
abejgonzalez
2c4783bfe9 remove *.out file for fast sims 2019-10-15 07:23:37 -07:00
abejgonzalez
8f2c5d4796 add *.log files whenever a binary is run 2019-10-14 20:55:40 -07:00
abejgonzalez
9199a02e1e add literal references | cleanup firrtl-transform-docs [ci skip] 2019-09-25 13:21:01 -07:00
Abraham Gonzalez
98ded4d7c0 Merge pull request #221 from ucb-bar/comment-sim-files
Comment sim_* make variables
2019-09-02 19:36:19 -07:00
Abraham Gonzalez
95793babf4 Merge pull request #219 from ucb-bar/enable-j-make
Make parallel support
2019-09-02 16:19:50 -07:00
Howard Mao
f3026af8b1 get rid of redundant regression test lists 2019-09-02 09:22:10 -07:00
abejgonzalez
f34a6fc523 reallow you to do -j for make | parallel ci runs 2019-08-30 23:14:33 -07:00
Howard Mao
a2171bc7b8 find all scala source files instead of searching individual project directories 2019-08-30 11:38:08 -07:00
abejgonzalez
c9c166f4a6 comment on the sim_* variables 2019-08-30 01:27:14 -07:00
Howard Mao
ed85e71c79 fix the way header files are handled by makefiles 2019-08-22 07:39:33 +08:00
Colin Schmidt
520de19f86 Make waveforms precious (#204)
* Make waveforms precious
* Fix typo in run-binary-debug
2019-08-16 11:06:10 -07:00
Colin Schmidt
5bf1dcbe42 Fix tabs in common makefrag (#202) 2019-08-15 18:28:37 -07:00
Albert Magyar
c487ca2f66 Coordinate Top and Harness generation (#168)
* Coordinate Top and Harness generation

* Bump barstools
2019-07-31 09:36:52 -07:00
Jerry Zhao
288ec15ba5 Fix run-binary-debug verbosity 2019-07-24 15:22:06 -07:00
Abraham Gonzalez
f97beed12d Add phony targets 2019-07-17 15:31:03 -07:00
abejgonzalez
b0b4078801 rename files | only remove .h on blackbox files 2019-07-16 18:55:44 -07:00
abejgonzalez
27641bdffc Merge remote-tracking branch 'origin/dev' into filter-c-files 2019-07-16 16:56:58 -07:00