352fa91b62785ceba1575f9093bbce7e42034a6e
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
Barstools
Barstools is a coolection of useful utilities for BAR projects
Passes/Transforms that could be useful if added here:
- Check that a module was de-duplicated. Useful for MIM CAD flows and currently done in python.
Be sure to publish-local the following repositories:
- ucb-bar/chisel-testers (requires ucb-bar/firrtl-interpreter)
- ucb-bar/firrtl
Example Usage:
sbt
> compile
> project tapeout
> runMain barstools.tapeout.transforms.GenerateTop -i <myfile>.fir -o <myfile>.v --syn-top <mysyntop> --harness-top <myharnesstop>
Building the macro compiler JAR:
$ sbt
[...]
[info] Set current project to root (in build file:/mnt/data/dev/barstools_pcad/)
> project macros
[info] Set current project to macros (in build file:/mnt/data/dev/barstools_pcad/)
> assembly
[...]
[info] SHA-1: 77d4c759c825fd0ea93dfec26dbbb649f6cd5c89
[info] Packaging [...]/macros/target/scala-2.11/macros-assembly-0.1-SNAPSHOT.jar ...
[info] Done packaging.
[success] Total time: 28 s, completed Mar 21, 2018 2:28:34 PM
Description
Languages
Scala
43.1%
C
38.2%
Makefile
6.8%
Shell
3.8%
Python
3.1%
Other
5%