Commit Graph

4634 Commits

Author SHA1 Message Date
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
John Wright
f196c38c7f Merge pull request #104 from ucb-bar/harness_anno_fix
Restore proper naming of harness annotation file
2021-07-11 18:23:34 -07:00
John Wright
346db43361 Update barstools to get the fix in ucb-bar/barstools#104, which uses the correct harness annotation file path (#918) 2021-07-11 17:15:50 -07:00
John Wright
61ab39f829 Restore proper naming of harness annotation file 2021-07-11 17:04:47 -07:00
Chick Markley
ea7663df06 Merge pull request #93 from sifive/bump_mdf
bump mdf for ucb-bar/plsi-mdf#7
2021-07-01 13:35:29 -07:00
chick
3d571b2d2a Use github actions for testing
- Stripped down version from treadle
- commented out several sections
- delete travis test
- fix run-tests.yml
- Let's make this 3.
2021-07-01 11:05:03 -07:00
chick
1d6486f957 Use github actions for testing
- Stripped down version from treadle
- commented out several sections
- delete travis test
- fix run-tests.yml
- Let's make this 3.
2021-07-01 10:55:18 -07:00
alonamid
ba8e693fe5 Merge pull request #909 from ucb-bar/bump-cva6
Bump cva6
2021-06-30 09:07:36 -07:00
Ella Schwarz
8f9b3a34d5 Bump RV tools cache string to v12 2021-06-29 20:56:28 -07:00
Ella Schwarz
8874801af2 Fix whitespace 2021-06-28 20:42:38 -07:00
Ella Schwarz
4f64a78a84 Bump cva6 2021-06-26 21:24:17 -07:00
Nathan Pemberton
83101cd679 Add marshal support to the Dockerfile 2021-06-16 15:56:25 -04:00
alonamid
b5d013190d Merge pull request #773 from ucb-bar/dev
Chipyard 1.5 Release (Dev -> Master Tracking)
2021-06-14 21:47:41 -07:00
alonamid
ba1351c8b6 Merge pull request #898 from ucb-bar/alonamid-patch-2
Release Prep (changelog and firesim bump)
2021-06-14 15:31:17 -07:00
alonamid
a1ac58080f firesim 1.12 bump 2021-06-14 11:21:19 -07:00
alonamid
d4f6754070 [skip ci] Update changelog for 1.5 release. 2021-06-14 11:12:19 -07:00
alonamid
b0e2fa218e Merge pull request #899 from ucb-bar/harrisonliew-patch-1
Extraneous Hammer IR
2021-06-13 08:59:44 -07:00
alonamid
d844841c4d Merge pull request #897 from ucb-bar/gnu-toolchain-revert
GNU Toolchain Revert
2021-06-12 21:58:09 -07:00
Harrison Liew
d7790ce05d Extraneous Hammer IR 2021-06-12 20:33:54 -07:00