Tynan McAuley
20587cfd40
Run scalafmt after scala version update
2023-02-22 22:06:36 -08:00
Tynan McAuley
4e398da790
Update scala/sbt/chisel versions
...
The previous setup used Scala 2.12 even though Chipyard was trying to
override it to use 2.13.10.
Also sync Chisel minor versions with Chipyard, and update to a recent
sbt version.
2023-02-22 22:04:31 -08:00
Harrison Liew
9760528f1d
Merge pull request #125 from ucb-bar/run-extra-passes
2023-02-10 14:24:14 -08:00
abejgonzalez
653989c092
Merge remote-tracking branch 'origin/master' into run-extra-passes
2023-02-06 12:26:39 -08:00
abejgonzalez
df3232f7d9
Run RemoveValidIf pass for updated CIRCT
2023-02-05 21:50:20 -08:00
Jerry Zhao
b71c31e66e
Merge pull request #123 from ucb-bar/remove-barstools-compiler
...
CIRCT Integration
2023-01-09 15:27:54 -08:00
joey0320
06db605902
Fixes test for CI
2022-12-28 23:55:10 -08:00
joey0320
e340f1240a
Remove all passes again | rename GenerateTopAndHarness to GenerateModelStageMain
2022-12-28 23:39:49 -08:00
joey0320
899387f4fb
Fix dump to dumpAnnos
2022-12-28 13:11:18 -08:00
joey0320
723bab78b9
Revert "Remove executeTop & make everything to execute"
...
This reverts commit 5af7f21648 .
2022-12-28 13:09:27 -08:00
joey0320
5af7f21648
Remove executeTop & make everything to execute
2022-12-28 11:20:27 -08:00
joey0320
13e2bb92ab
Remove GenerateTopSpec.scala test as the FIRRTL passes are removed
2022-12-23 20:50:42 -08:00
joey0320
2dfa1847e7
Fix formatting
2022-12-23 20:38:40 -08:00
joey0320
850f613a14
Remove CheckForUnsupportedFirtoolTypes
2022-12-23 20:11:07 -08:00
joey0320
d1295e68f8
Add back HarnessConf
2022-12-23 11:21:08 -08:00
abejgonzalez
cf75889804
Attempt at checking for Fixed types
2022-10-09 17:01:06 -07:00
abejgonzalez
2635bb4f80
No-op barstools SFC compiler
2022-10-08 10:41:09 -07:00
Abraham Gonzalez
064c8be7bb
Merge pull request #118 from tymcauley/remove-sbt-subproject
...
Remove sbt subproject "tapeout"
2022-02-10 17:07:21 -08:00
Tynan McAuley
adaca59416
Bump Chisel versions to x.5.1
2022-02-07 20:47:33 -08:00
Tynan McAuley
a0d1fdb16c
Add Chisel compiler plugin
...
See here for more info: https://github.com/chipsalliance/chisel3#build-your-own-chisel-projects
2022-02-02 17:31:52 -08:00
Tynan McAuley
d1de92d287
Make readme consistent with new sbt setup
2022-02-02 15:45:36 -08:00
Tynan McAuley
4f1f9fce47
Remove sbt subproject "tapeout"
...
Now barstools should be easier to compose in multi-project sbt projects,
such as Chipyard.
Resolves ucb-bar/barstools#117 .
2022-02-02 15:37:28 -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
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
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
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
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
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
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