Commit Graph

4602 Commits

Author SHA1 Message Date
David Biancolin
8a77a25dc9 Bump Firesim 2021-09-08 20:46:57 +00:00
Duy-Hieu Bui
d9858c1dc8 Fixes UART portmap for Arty. 2021-09-03 05:02:36 +07:00
Abraham Gonzalez
cc7cae809e Merge pull request #965 from ucb-bar/verilator-fix
Print entire line in `sim_files.f` for Verilator
2021-08-31 09:56:25 -07:00
Abraham Gonzalez
cda174d3e6 Update sim_common_files recipe to not use awk
Co-authored-by: John Wright <jwright6323@gmail.com>
2021-08-30 15:58:23 -07:00
abejgonzalez
42912a196b Print line entirely for Verilator 2021-08-30 15:35:02 -07:00
Abraham Gonzalez
984a10993e Merge pull request #941 from zslwyuan/patch-3
Swap two arguments to resolve bug
2021-08-30 14:59:51 -07:00
Abraham Gonzalez
cf779bbc58 Merge pull request #963 from ucb-bar/dev_fixdolla
Escape $1 in awk command
2021-08-28 22:17:39 -07:00
Abraham Gonzalez
486491386e Merge pull request #961 from ucb-bar/master
VCU118 SDCard Instruction Cleanup (merge from master)
2021-08-28 22:16:13 -07:00
John Wright
dd810d826e Escape $1 in awk command 2021-08-27 16:38:00 -07:00
Abraham Gonzalez
9251873a16 Merge pull request #902 from ucb-bar/marshalDocker
Add marshal support to the Dockerfile
2021-08-26 16:29:27 -07:00
Abraham Gonzalez
9d055fdac6 Merge pull request #960 from michael-etzkorn/master
Update to VCU118 Documentation for Booting Linux
2021-08-26 11:55:54 -07:00
Abraham Gonzalez
2511cd48c1 Bump CI image 2021-08-26 11:13:09 -07:00
michael-etzkorn
1565981908 Update VCU118 docs
FPGA password. Switching steps 2 and 3 to help with SD partitioning correctly for boot. `m` instead of `m
2021-08-26 12:45:46 -05:00
michael-etzkorn
569a1ff481 VCU118 doc changes for booting linux
Switched step 2 and 3 of the partitioning of the SD card. Explained that expert mode is needed for steps 1 and 3. Added that username is root and password is fpga. Now SD card partitioning if followed shouldn't result in a failed boot (sector resets to 2048 after o command) and the user doesn't need to dig around for the password.
2021-08-26 12:43:15 -05:00
Abraham Gonzalez
a2be55bd11 Merge pull request #937 from ucb-bar/qemu-disable-werror
qemu: build without -Werror
2021-08-25 21:52:17 -07:00
Nathan Pemberton
554b436390 Clean br-base after building to keep only the br.XXXX.img file around
which is the painful one to build. Also moves the SHELL command earlier.
2021-08-24 19:54:51 -04:00
Abraham Gonzalez
be24fad1c6 Merge pull request #933 from zslwyuan/patch-1
generate the .sbtopt file during repo initialization. ucb-bar#932 and ucb-bar#880
2021-08-24 09:50:57 -07:00
Tingyuan LIANG
3532fba41b Merge pull request #3 from ucb-bar/pr/933
Push .sbtopt CI fix
2021-08-24 20:17:39 +08:00
abejgonzalez
15a5ac0d7a Push .sbtopt CI fix 2021-08-23 15:23:06 -07:00
Tingyuan LIANG
32a4810f63 Update the .gitignore to not track .sbtops
update the .gitignore to not track .sbtops
2021-08-24 02:36:53 +08:00
Tingyuan LIANG
4a7bcd054b Delete .sbtopts
Delete .sbtopt since it will be generated by the script for repo initialization
2021-08-24 02:33:16 +08:00
Chick Markley
314d80729e Merge pull request #112 from ucb-bar/macro-code-cleanup
Fix all warnings in barstool.macros._
2021-08-18 09:19:26 -07:00
chick
6f62c58448 Oops, missed needs in all steps passed 2021-08-17 16:32:18 -07:00
chick
c519b269d8 Fix scalafmt check 2021-08-17 16:25:24 -07:00
chick
db54d55074 This file seems to have missed a scalafmt pass 2021-08-17 16:14:32 -07:00
chick
143af1aa04 Fix all warnings in barstool.macros._
- Fixed up all warnings in barstools macros package
- mostly public method return types
- removed lot's of extraneous parens and braces
- Made code cleaner using more explicit macros
- Fixed warnings in 2.13 that will likely turn into errors in future
2021-08-17 16:09:52 -07:00
chick
edb1537561 Formatting code to chisel standard
- ran sbt scalafmtAll
  - lot of small formatting changes
- added test that code must stay formatted
  - part of github actions workflow
2021-08-16 15:35:22 -07:00
Kevin Laeufer
4e9b44cad8 Merge pull request #111 from ucb-bar/scala-2.13
Adding support for Scala 2.13
2021-08-16 14:51:43 -07:00
chick
ae01e170db Adding support for Scala 2.13
Mostly import changes
Some formatting changes
Runs +test
2021-08-16 10:15:07 -07:00
Tynan McAuley
890d4c3506 Add options for command-line arguments for Chisel and FIRRTL compilers (#921)
* make: Break FIRRTL command into multiple lines

* make: Use long form of FIRRTL command-line args

* make: Add ability to set Chisel/FIRRTL options
2021-08-12 23:37:39 -07:00
Chick Markley
acfbe42fe6 Merge pull request #109 from ucb-bar/move-src-to-toplevel
Unify barstools into single src tree that matches package structure
2021-08-12 14:48:14 -07:00
Tingyuan LIANG
d06abdb419 Swap two arguments to resolve bug
**Related issue**: N/A

**Type of change**: bug fix

**Impact**: other

**Release Notes**
The string of path for "-ip-vivado-tcls" could be empty ("")
For example, run "make SUB_PROJECT=arty bitstream" will get errors due the argument parsing in [prologue.tcl](d4b3878e4f/xilinx/common/tcl/prologue.tcl)
Swaping the two arguments can resolve bug.
2021-08-12 23:22:41 +08:00
chick
b2cee7ccb8 GenerateTopSpec get rid of Console.withOut 2021-08-10 18:04:49 -07:00
chick
08eba27126 MultiPort remove random println
GenerateSpec fix so "generate top test" does not rely on side-effects of previous test
GenerateTopSpec fix so it creates needed input file itself, does not rely on other tests to do that
2021-08-10 16:26:11 -07:00
chick
74d5da6f4a Move src/ from tapeout to top level
get rid of root
2021-08-10 15:40:58 -07:00
chick
352fa91b62 IOCell toBool => asBool
MacroCompiler needs more specific firrtl.Utils imports, Comment out legalize
SynFlops more precise imports
YamlHelpers use FileUtils
ResetInverter LegacyModule => Module
Retime use Module instead of LegacyModule
YamlHelpers uses FileUtils instead of getResource
ResetInvert use Module instead of LegacyModule
Masks add scalatest wrappers for getting better test reports
SpecificExamples drop tapeout prefix, and add scalatest blocks
GenerateSpec, let ChiselStage emit the firrt directly to target dir, add some actual tests that files were created
GenerateTopSpec use FileUtils
FlipChipMacroSpec use FileUtils
IOPropertiesSpec use FileUtils
2021-08-10 15:28:25 -07:00
Kevin Läufer
17272e3e0b qemu: build without -Werror
While -Werror is nice for developer builds,
it can easily lead to breakage when people
use newer compilers which add new warnings.
2021-08-10 12:28:02 -07:00
chick
e113a7b619 Add setting to have sbt not exit
if a program calls System.exit
Without this a useless and misleading log4j error is reported.
2021-08-09 17:50:47 -07:00
chick
b107a6bdf3 Add some missing resources 2021-08-09 10:10:10 -07:00
chick
db2739bb6c iocell won't run without this syntax
IntelliJ flags this as error, even though it compiles and runs
2021-08-09 09:47:20 -07:00
chick
c907a7377c Moved a zillion files all over the place so that everything is now
in tapeout/src in the correct directory corresponding to internal packages.
Everything compiles and tests run
TODO:
- Figure out assembly step for MacroCompiler
- Does root project matter?
2021-08-06 13:09:45 -07:00
Tingyuan LIANG
2e9fa01b64 generate the .sbtopt file during repo initialization
**Related issue**:  #932 and #880

**Type of change**: other enhancement

**Impact**: other (change a repo initialization script)

**Release Notes**
change a repo initialization script [init-submodules-no-riscv-tools-nolog.sh](https://github.com/zslwyuan/chipyard/blob/master/scripts/init-submodules-no-riscv-tools-nolog.sh) so it can generate the .sbtopt file in the Chipyard directory during repo initialization and use the absolute path for the SBT workspace variables in .sbtopts. 

Hope it can adapt to more compilation scenarios. For example, now users should be able to open the shipyard project directly using Intellij.
2021-08-02 22:02:18 +08:00
Harrison Liew
b7e99dc6c3 Merge pull request #922 from ucb-bar/asap7yml 2021-07-22 17:43:07 -07:00
John Wright
cdd8af4153 Merge pull request #106 from ucb-bar/fix_harness_fir
Fix harness .fir file output location
2021-07-20 14:08:38 -07:00
John Wright
09719205cf Merge pull request #105 from ucb-bar/fix_reparent_circuit
Fix InstanceTarget annotations in ReParentCircuit
2021-07-20 12:33:18 -07:00
Jerry Zhao
76f4bf28e0 Fix naming of example-asap7.yml 2021-07-17 21:53:54 -07:00
John Wright
66eee23dc4 Fix harness .fir file output location 2021-07-13 09:56:10 -07:00
John Wright
53a2d698e5 Also make ReParentCircuit work on ReferenceTargets 2021-07-13 09:55:33 -07:00
John Wright
479e63c1ce Fix bug that prunes InstanceTargets out of the AnnotationSeq in ReParentCircuit 2021-07-13 09:55:33 -07:00
Chick Markley
731a529193 Merge pull request #103 from ucb-bar/use-github-actions-for-ci
Use github actions for testing
2021-07-13 09:39:23 -07:00