Commit Graph

299 Commits

Author SHA1 Message Date
Ethan Wu
400ce780a9 move iocells to separate "project" root 2023-05-30 18:40:05 -07:00
Abraham Gonzalez
2ef368b05d Merge pull request #130 from ucb-bar/sbt-assembly
Update build.sbt for sbt-assembly
2023-05-18 10:25:37 -07:00
kevindna
de5c7d3cba Merge pull request #129 from kevindna/master
Add name to IOCell definition
2023-03-18 13:12:08 -07:00
Kevin Anderson
96155c845c format IOCell.scala 2023-03-18 13:09:38 -07:00
Kevin Anderson
cc4f841937 Code improvement; define IOCell name as Option and place in trait to reduce code modifications 2023-03-18 13:04:39 -07:00
Kevin Anderson
0df6e34813 formatting fix 2023-03-17 21:04:31 -07:00
Kevin Anderson
0a4466da1e Add name to IOCell definition 2023-03-17 20:37:04 -07:00
abejgonzalez
fe81afec14 Update build.sbt for sbt-assembly 2023-03-03 14:58:29 -08:00
Abraham Gonzalez
39b4af7da9 Merge pull request #126 from ucb-bar/rm-duplicate-compiler-anno
Remove duplicate compiler annotation
2023-03-01 23:44:23 -08:00
joey0320
30900965f0 merge master 2023-03-01 10:48:20 -08:00
Abraham Gonzalez
c58458eb29 Merge pull request #127 from tymcauley/use-scala-2.13
Update scala/sbt/chisel versions, fix CI
2023-02-28 20:12:11 -08:00
Tynan McAuley
d9317d6019 Remove unused test file
This file is breaking the test build, the class it is testing was
removed in df3232f7d9.
2023-02-22 22:06:36 -08:00
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
joey0320
a9f9068baf remove duplicate compiler annotation 2023-02-20 23:58:46 -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