Commit Graph

26 Commits

Author SHA1 Message Date
Jerry Zhao
2d45407aad asBool() to asBool 2023-06-20 18:52:25 -07:00
abejgonzalez
fe81afec14 Update build.sbt for sbt-assembly 2023-03-03 14:58:29 -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
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
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
ae01e170db Adding support for Scala 2.13
Mostly import changes
Some formatting changes
Runs +test
2021-08-16 10:15:07 -07:00
chick
74d5da6f4a Move src/ from tapeout to top level
get rid of root
2021-08-10 15:40:58 -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
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
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
abejgonzalez
3a29f53572 Use stable dep. versions | Small bumps/cleanup 2020-11-30 21:11:24 -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
aca4bd579f update build.sbt for Chisel3.4/FIRRTL1.4 2020-10-23 18:01:06 +00:00
chick
e4cd2b01fe This is mess clean it up 2020-09-10 14:35:10 -07:00
Colin Schmidt
7de4c478c3 Update to chisel 3.2.x 2020-02-18 14:56:17 -08:00
Paul Rigge
f310d45381 Refactor barstools for new versions of things.
- No handlebars (not being published for Scala 2.12)
- Update for new annotations APIs

Bump sbt-dependency-graph to 0.9.2 for this scala version
2019-02-13 10:15:51 -08:00
Edward Wang
00c99f56b1 Add sbt-assembly for making jar 2017-10-03 11:56:30 -07:00
Edward Wang
94b13e96fb Add functional tests
To be enabled when a new firrtl-interpreter is published
2017-10-03 11:56:30 -07:00
Donggyu Kim
9de1f5f2c0 restructure macros for better submoduling 2017-10-03 11:56:30 -07:00
Edward Wang
c79ea47909 Port to MDF library and start re-developing tests 2017-10-03 11:56:30 -07:00
Angie Wang
f1c437f830 Add Pads + other utilities (#7)
[stevo]: adds a bunch of pad frame commits, as well as beginning work on clocking annotations and constraints


* start add io pads pass

* save progress adding yaml pad info

* saving some semi-presentable work -- parses yaml for pad templates and associates templates with ports

* added black boxes to the module; still need to hook up

* added supply pad yaml example; added option to not include pad for an IO, blackboxed that cat + bit extraction functions

* rewrite createbbs and some other parts of the transform

* finally got blackboxhelper to work -- seems there was a typo in the firrtl pass (?) have not connected them up properly in the padframe

* finished first version of pad transform; need to add bells and whistles + special case stuff

* made a bunch of changes in firrtl to shorthand things

* done with padframe for signals

* started major refactoring; first of pad yaml stuff

* forgot to update verilogTemplate -> verilog

* rename ParsePadYaml -> ChipPadsYaml; moved some stuff

* separated out stuff that describes pads i.e. direction, type, side

* forgot to update import for yamlhelpers

* trying to make the process of creating annotations more structured

* saving annotation helpers but prob better to switch to yaml

* saving changes -- reworking annotations

* fixing some bugs; properly annotated ports with pads

* annotate supply pads

* lesson (re)learned. cleaned up constants

* finished adding supply pads to pad frame; still need to generate io file

* also committing updated transform; still without io file

* big typo was causing pad verilog files not to be generated

* verilator passes with transform; had to fix verilog bb typo

* added unused pads; added more thorough tests + did visual inspection of output; made some port types more explicit

* renamed files/classes to be clearer

* started creating pad io template

* update spec so that transform order matters

* get rid of logger

* went around in circles with blackboxhelper + way to annotate

* finished adding + testing pad.io creation

* starting clkgen pass -- made model for asynchronously reset clk divider + wrappers for programmatic bundling

* temporarily locating albert's utility functions here

* saving work on clk constraints

* redid input config passing -- pass in tech directory instead; seems like getting clk sink, src, and relationship works

* not done; need to pause to do tapeout-y things. the clk gen pass gets all the clks and their sources, but i need to build a proper graph to handle clks coming out of muxes
2017-03-05 18:50:56 -08:00
Angie Wang
d86dea58cf Tapeout (#4)
* remove outdated files

* pulled resetinverter from dsptools + setup repo

* fix some package names, misc. dsptools dependencies, typo in build.sbt, + circuitstate in resetinverter pass

* add more comprehensive gitignore + license back in

* create directory structure to match package structure

* change package names to barstools.tapeout

* settled on barstools.tapeout.transforms package

* make directory + build structure more amenable for multiple sub projects
2017-02-17 11:58:05 -08:00
Chick Markley
a1c7742a57 Add ExecutionOptionsManager
Taken from https://github.com/ucb-bar/firrtl
2016-10-25 11:46:35 -07:00