Commit Graph

230 Commits

Author SHA1 Message Date
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
chick
d9d9d0fbb5 Move to scalatest 3.2
Requires updating to AnyFlatSpec where used
And different import for Matchers
2021-02-03 21:03:22 -08:00
chick
caa1467d87 Reformat all scala files in tapeout
- Mostly this reformat comments and large argument lists to classes and methods
2021-02-03 17:51:30 -08:00
chick
68c3425493 Reformat all scala files in macros
- Mostly this reformat comments and large argument lists to classes and methods
2021-02-03 17:50:36 -08:00
chick
93f86a5bc6 Reformat all scala files in iocells
- Mostly this reformat comments and large argument lists to classes and methods
2021-02-03 17:49:14 -08:00
chick
19e51f3df5 Make the directory structure match the packages
All tests run as they did prior to the changes
2021-02-03 17:46:12 -08:00
Chick Markley
0faa16d330 Merge pull request #94 from ucb-bar/get-rid-of-scala-style-checkers
Get rid of scalastyle checkers.
2021-02-02 09:52:00 -08:00
chick
1761d500f3 Get rid of scalastyle checkers.
These are outdated and not used by the rest of the chisel family.
Add the scalafmt file that is used to fix code formatting. This will be used to regularize the code.
That work will be done by attrition.
2021-02-01 10:00:52 -08:00
Abraham Gonzalez
8c93874524 Merge pull request #87 from ucb-bar/firrtl-1.4-remove-clk-stuff
Move to Chisel 3.4, Firrtl 1.4, remove .clk and .pad stuff
2020-12-13 10:59:20 -07:00
abejgonzalez
689ebdc06e Add invalidates=false to RetimeTransform 2020-12-11 15:01:17 -08:00
abejgonzalez
26dce446ea Generate LowFirrtl for Retime tests 2020-12-11 14:51:43 -08:00
abejgonzalez
62f311654a Fix ResetInv test 2020-12-11 14:11:08 -08:00
David Biancolin
15fa68b3a4 Bump MDF for updated scala version 2020-12-11 03:55:25 +00:00
abejgonzalez
3a29f53572 Use stable dep. versions | Small bumps/cleanup 2020-11-30 21:11:24 -08:00
abejgonzalez
fa699af026 Add missing dependency to put AvoidExtModuleCollisions before ReplSeqMem 2020-11-27 17:34:16 -08:00
abejgonzalez
9be550e23d Bump to new dep. API | Automatically avoid renaming ExtMod's and circuit top mod 2020-11-25 20:50:54 -08:00
abejgonzalez
845af06b15 Merge remote-tracking branch 'origin/master' into firrtl-1.4-remove-clk-stuff 2020-11-19 16:59:49 -08:00
Chick Markley
8e5757b5ce Merge pull request #92 from sifive/chisel34
Update MacroCompiler for Chisel 3.4 / FIRRTL 1.4
2020-11-13 11:43:02 -08:00
Tim Snyder
20d370be49 Merge branch 'firrtl-1.4-remove-clk-stuff' into chisel34 2020-10-23 13:08:48 -05:00
Tim Snyder
446cb84cbf fixup! Update MacroCompiler for Chisel 3.4
Need to collect the annotations into a Seq.
Also updated the macros project tests.
2020-10-23 18:02:42 +00:00
Tim Snyder
aca4bd579f update build.sbt for Chisel3.4/FIRRTL1.4 2020-10-23 18:01:06 +00:00
Tim Snyder
fc3a3eabff Update MacroCompiler for Chisel 3.4 2020-10-21 21:08:51 +00:00
chick
a1dfd4f774 Remove all of the PadStuff 2020-09-30 15:04:56 -07:00
chick
8903c04c2d - fix call to ceilLog2 in macros 2020-09-29 10:59:48 -07:00
chick
1a82c082b3 - Make transfrorms run in as close to same order as before
- Fix parsing of PadPlacement JSON
2020-09-29 10:11:46 -07:00
chick
f51156bf1f - Fixed ResetNSpec 2020-09-28 15:34:36 -07:00
chick
0430403920 - Simplest way to make custom transforms run in same place as they did prior to Dependency API 2020-09-28 15:20:42 -07:00
Jerry Zhao
382cefcee0 Merge pull request #89 from ucb-bar/support-plusargs
Support plusarg_reader in TestHarness | explicitly name generated IOs
2020-09-18 13:28:31 -07:00
Jerry Zhao
4a5c75fcf8 Add explicit naming of IOs generated by generateIOFromSignal 2020-09-17 13:21:32 -07:00
Jerry Zhao
847f72eca0 Support plusarg_reader blackbox in the harness 2020-09-14 19:39:44 -07:00
Jerry Zhao
1435f09ce6 Merge pull request #88 from ucb-bar/iocell-fix
Undo regression in iocell flexibility
2020-09-14 19:28:36 -07:00
Jerry Zhao
31590a7948 Undo regression in iocell flexibility 2020-09-14 13:24:44 -07:00
Jerry Zhao
e6e1ed85f2 Merge pull request #86 from ucb-bar/iocell-params
Clean up IOCell types and parameterization
2020-09-14 12:00:33 -07:00
chick
d06d8cc16c - FoundryPadsYaml would not parse yaml
- Made separate case class for data
  - Now parses
  - Fails later with UnknownType in firrt compiler
- Fixed similar parsing problem with PadPlacement
2020-09-14 09:32:18 -07:00
chick
67de39e957 Refactor tapeout for Chisel 3.4, Firrtl 1.4
- Remove clk package based on discussion with Colin
- Annotations need to be refactored to using latest API
  - Generally that involves making annos generated by a anonymous ChiselAnnotation
  - The chisel annotations will use RunFirrtlTransform to queue up its associated transform
  - Chisel annotation provieds toFirrtl to generate Firrtl form of annotation
- Usages of unapply on firrtl annotations cannot use generic unapply(target, transform, data) which has been eliminated
- Have transforms use with DependencyAPIMigration to avoid deprecated `form`s
- Added some 'see License comments
- TechnologyLocation section of AddIOPadsSpec does not currently run because there is no content for it.
  - Added some tests for annotation serialization here
2020-09-11 17:06:19 -07:00
chick
e4cd2b01fe This is mess clean it up 2020-09-10 14:35:10 -07:00
Jerry Zhao
ba681676f3 Clean up IOCell types and parameterization 2020-09-04 13:29:31 -07:00
Jerry Zhao
f791073f02 Merge pull request #85 from ucb-bar/iocells_fix
Fix IOCells generation
2020-07-03 12:07:35 -07:00
Jerry Zhao
aa1c90c4cc Fix IOCells generation
* Fixes Bool wires matching both Reset and Bits
2020-06-30 13:33:06 -07:00