Commit Graph

269 Commits

Author SHA1 Message Date
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
Jerry Zhao
c8f3d343b9 Merge pull request #99 from ucb-bar/mask_penalty
Macrocompiler should prioritize memories with no masks with DefaultCostMetric
2021-03-11 17:57:15 -08:00
Abraham Gonzalez
12d0c25a98 Merge pull request #98 from ucb-bar/fix-deprecations-3
Fix deprecations 3
2021-02-22 23:54:36 -08:00
chick
a3711c4e19 Remove fully commented out original file Generate.scala 2021-02-22 11:39:47 -08:00
Jerry Zhao
bca38967f8 Merge remote-tracking branch 'origin/master' into mask_penalty 2021-02-22 01:35:08 -08:00
Jerry Zhao
ddea19825d Macrocompiler should prioritize memories with no masks with DefaultCostMetric 2021-02-22 01:30:47 -08:00
chick
8a93d8b2d7 Ignore GenerateTopAndHarness test for now 2021-02-19 14:48:48 -08:00
chick
bbc8800840 Get topAnnos into the mix 2021-02-16 16:29:41 -08:00
chick
7c2d7abbe1 Add in missing transforms 2021-02-16 14:43:58 -08:00
chick
5040e0dcbf - Pull rocket dependency back out 2021-02-14 16:54:25 -08:00
chick
055800898d - Don't carry over OutputFileAnnotaton to the harness phase of GenerateTopAndHarness 2021-02-14 16:18:04 -08:00
chick
c052f79392 - Add rocketchip dependency to try and fix run problem in chipyard sims/vcs 2021-02-14 14:44:36 -08:00
chick
5616b9d68f - remove unused harnessTransforms
-
2021-02-14 13:25:16 -08:00
chick
f37385ca58 Merge branch 'master' into fix-deprecations-3 2021-02-10 11:36:23 -08:00
Chick Markley
4ef162fb9f Merge pull request #97 from ucb-bar/fix-deprecations-1
Fix deprecations 1
2021-02-10 11:15:24 -08:00
chick
e650d5ba22 - changed directory path to iocells to use directories rather than dotted name
- Changed packages in tapeout/transforms/utils/*.scala to be in their own package `utils`
2021-02-09 14:12:57 -08:00
chick
afcdcc6c2d Modernize deprecated Chisel/Firrtl constructs
- Build out a stage for tapeout
  - Refactor annotation construction
  - Create a CLI handler
  - create a TapeOutStage
- Remove outputForm reference from EnumerateModules
- New GenerateTopAndHarness is fresh implmentation of Generate.scala
- GenerateTopSpec is a work in progress
2021-02-09 14:04:24 -08:00
chick
ca4013b830 Remove deprecated Driver stuff macros package
- Fix name reference and weird .get.get in CostMetric
- Update to DependencyAPIMigration
  - MacroCompilerTransform
  - MacroCompilerOptimizations
- Delete unused class MacroCompiler
- Remove use of ExecutionOptionsManager in object MacroCompiler
- Removed stack trace when no arguments from CLI, just give message requiring args
- Update version to 0.4-SNAPSHOT
2021-02-08 09:09:19 -08:00