Jerry Zhao c8723f40b1 Macrocompiler: FIRRTL-elab macros 1-at-a-time
Elaborating all macros in a single Circuit with an arbitrary (last) macro
selected as the circuit main main cause some macros to be dropped, even with
the DCEAnnotation. Work around this for now by elaborating each module in the
macrocompiled circuit independently, then concatenating the verilog.
2023-07-30 13:33:23 -07:00
2023-02-22 22:04:31 -08:00
2021-08-16 10:15:07 -07:00
2023-06-20 18:52:25 -07:00
2017-02-17 11:58:05 -08:00

Barstools


Test

Barstools is a collection 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
> 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 tapeout (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
No description provided
Readme BSD-3-Clause 16 MiB
Languages
Scala 43.1%
C 38.2%
Makefile 6.8%
Shell 3.8%
Python 3.1%
Other 5%