Commit Graph

98 Commits

Author SHA1 Message Date
abejgonzalez
1de35a6af4 Use conda + Update initial setup docs 2022-08-23 00:44:21 +00:00
Tynan McAuley
9adb1036a3 Document simulator-timeout settings (#1094) 2022-01-21 09:47:03 -08:00
Brendan Sweeney
6d1da366fe Remove MaxPermSize
See ucb-bar#1079. This option ceased doing things after Java 8 (released in 2014), and openJDK considers having it included an error.
This commit is a redo of a previous one.
2022-01-17 03:49:42 -06:00
David Biancolin
a5b412cfbc Remove sriracha and generated .sbtopts 2021-12-07 04:58:54 +00:00
David Biancolin
804e3de41c Revert "Force FIRRTL 1.4.1"
This reverts commit 7d244d635c.
2021-12-02 00:02:54 +00:00
abejgonzalez
7d244d635c Force FIRRTL 1.4.1 2021-11-30 19:54:54 -08:00
abejgonzalez
32ffbd29df Update make help | Small make cleanup 2021-11-17 00:38:01 -08:00
abejgonzalez
99f1a3aed3 Separate the base SBT command from the --client addition
This makes it easier to override just SBT_BIN and still use the
ENABLE_SBT_THIN_CLIENT flag when using a downloaded SBT script
2021-11-12 12:09:02 -08:00
Jerry Zhao
52f76ced67 Set JAVA_TOOL_OPTIONS environment variable instead of nonstandard JAVA_OPTS (#1013)
* Set JAVA_TOOL_OPTIONS environment variable instead of nonstandard JAVA_OPTS

The JAVA_TOOL_OPTIONS environment variable is passed to all Java processes.
This is useful for Java processes that somehow miss the flags passed in via command line, in particular, the JVM launched by initialization of the SBT thin client only sees flags passed in by JAVA_TOOL_OPTIONS.

* Update CI with JAVA_TOOL_OPTIONS
2021-10-20 14:21:21 -07:00
Abraham Gonzalez
45f63a1409 Merge pull request #879 from ucb-bar/remove-gen-sim-files
Remove GenerateSimFiles and use make instead
2021-05-13 16:41:17 -05:00
abejgonzalez
aa4eff3407 Add small comments about thin client 2021-05-06 14:08:47 -07:00
abejgonzalez
309ab68e79 Use .sbtopts file 2021-05-06 00:55:57 -07:00
abejgonzalez
1d52899736 Remove GenerateSimFiles and use make instead 2021-05-06 00:27:11 -07:00
Jerry Zhao
766443b2d4 Avoid permissions conflict on shared protocjar.webcache
The Java protoc plugin (part of FIRRTL) by default caches protoc in /tmp, and does not delete it afterwards.
This causes permissions failures when multiple users try to install Chipyard on the same machine, due to permissions failures over accessing the same cache in /tmp.

A solution is to place the tmpdir within the Chipyard repo. No other files besides protocjar.webcache currently use that directory, so I believe this should be safe.
2021-01-23 13:42:59 -08:00
abejgonzalez
d0079a9659 Cleanup helper sbt targets | Use project/target/active.json for SBT timestamp 2020-12-03 14:24:04 -08:00
abejgonzalez
eee0d58b5d Cleanup comment 2020-12-02 15:53:11 -08:00
abejgonzalez
a0e2dcfc4e Remove support for bloop 2020-12-02 14:46:46 -08:00
abejgonzalez
4e53dc1e66 Cleanly reload proj. defs. with thin client support 2020-12-02 12:18:12 -08:00
abejgonzalez
5bc7e6cd68 Support SBT thin client | Rename JAVA_ARGS -> OPTS | Support env. SBT_OPTS 2020-12-01 22:28:23 -08:00
abejgonzalez
6f827456c8 Helper make target to launch SBT | Move SBT_OPTS to SBT variable 2020-11-20 16:09:07 -08:00
abejgonzalez
70d43210d8 [temp] Unable to build/get past chisel-testers 2020-11-15 18:18:04 -08:00
abejgonzalez
9087b58cf0 Add testbench to description 2020-08-19 22:35:02 -07:00
Abraham Gonzalez
b7d9472b4a Cleanup help commands 2020-08-19 22:10:18 -07:00
abejgonzalez
d4af9e1660 Fix separator 2020-08-19 10:48:43 -07:00
Abraham Gonzalez
4e7b9d195f Dedup default simulation rules 2020-08-18 10:45:11 -07:00
Abraham Gonzalez
d82e7dbed5 Cleanup more 2020-08-18 10:40:45 -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
Howard Mao
09cc1bb985 Merge pull request #635 from ucb-bar/loadmem
Implement fast loadmem feature
2020-08-04 15:39:45 -07:00
Howard Mao
d7f3f91f18 implement fast loadmem feature 2020-08-01 15:04:18 -07:00
Jerry Zhao
8124ce3df1 Add FIRRTL_LOGLEVEL variable 2020-07-09 12:38:21 -07:00
David Biancolin
a0f103e843 [make] Specify a custom bloop server port w/ BLOOP_NAILGUN_PORT 2020-06-25 14:14:08 -07: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
Colin Schmidt
171b805d0e Allow dramsim_ini folder to be set at the command line 2020-06-05 16:55:13 -07:00
Colin Schmidt
a7119fb5ed Hoist permissive settings out of inner makefiles 2020-05-24 10:31:24 -07:00
Howard Mao
b813caf6fd get icenet and testchipip unit tests working 2020-04-28 10:32:28 -07:00
David Biancolin
eeafc82d12 Remove ++<scala-version> per Jack's recommendation 2020-04-23 16:30:50 -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
Jerry Zhao
ebfa545344 Generator unification 2020-02-13 12:33:28 -08:00
Jerry Zhao
49dbe8daba Rename top-level example package to chipyard
* FireChip now directly uses the Chipyard Top
2020-02-13 12:33:04 -08:00
Colin Schmidt
86a473dbf6 Bump all submodules for chisel 3.2.0 and rocket-chip august-2019 (#358)
* Bump all submodules for chisel 3.2.0 and rocket-chip august-2019

* Fix subprojects that aren't tested from normal sims

* Fix firechip for chisel 3.2.0 and rc bump

* Bump boom for bug fix rebase

* [sbt] Don't rely on target-rtl symlink when FireSim is top [no ci]

* Bump boom for rc bump fix to bug fix

* Bump FireSim for CI check

* Bump FireSim

* Bump submodules after merge
2019-12-12 13:39:09 -08: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
Howard Mao
ab888d32a7 Merge pull request #215 from ucb-bar/dev-tracegen
Add TraceGen project
2019-08-31 05:21:51 +08:00
Howard Mao
d4c12f2b86 Merge pull request #211 from ucb-bar/clean_configs
Cleanup configs | take ownership of Heterogeneous subsystem | improve verilator compile time
2019-08-31 05:00:29 +08:00
Howard Mao
6a3212c6d7 add tracegen project 2019-08-30 11:38:07 -07:00