├── .github └── workflows │ └── run-ci.yml ├── .gitignore ├── .scalafmt.conf ├── LICENSE ├── README.md ├── iocell └── src │ └── main │ ├── resources │ └── barstools │ │ └── iocell │ │ └── vsrc │ │ └── Analog.v │ └── scala │ └── barstools │ └── iocell │ └── chisel │ ├── Analog.scala │ └── IOCell.scala ├── project ├── build.properties └── plugins.sbt └── src ├── main └── scala │ ├── barstools │ ├── macros │ │ ├── CostMetric.scala │ │ ├── MacroCompiler.scala │ │ ├── SynFlopsPass.scala │ │ └── Utils.scala │ └── tapeout │ │ └── transforms │ │ ├── ExtraTransforms.scala │ │ ├── GenerateModelStageMain.scala │ │ ├── retime │ │ └── Retime.scala │ │ ├── stage │ │ └── TapeoutStage.scala │ │ └── utils │ │ ├── FileUtils.scala │ │ ├── LowerAnnotations.scala │ │ ├── ProgrammaticBundle.scala │ │ └── YamlHelpers.scala │ └── mdf │ └── macrolib │ ├── ConfReader.scala │ ├── FillerMacroBase.scala │ ├── FlipChipMacro.scala │ ├── IOMacro.scala │ ├── MacroLib.scala │ ├── SRAM.scala │ └── Utils.scala └── test ├── resources ├── PadAnnotationVerilogPart.v ├── bumps.json ├── io_properties.json ├── lib-BOOMTest.json ├── lib-MaskPortTest.json └── lib-WriteEnableTest.json └── scala ├── barstools ├── macros │ ├── CostFunction.scala │ ├── Functional.scala │ ├── MacroCompilerSpec.scala │ ├── Masks.scala │ ├── MultiPort.scala │ ├── SRAMCompiler.scala │ ├── SimpleSplitDepth.scala │ ├── SimpleSplitWidth.scala │ ├── SpecificExamples.scala │ └── SynFlops.scala └── tapeout │ └── transforms │ ├── GenerateSpec.scala │ └── retime │ └── RetimeSpec.scala └── mdf └── macrolib ├── ConfReaderSpec.scala ├── FlipChipMacroSpec.scala ├── IOMacroSpec.scala ├── IOPropertiesSpec.scala ├── MacroLibOutput.scala └── MacroLibSpec.scala /.github/workflows/run-ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/.github/workflows/run-ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/.gitignore -------------------------------------------------------------------------------- /.scalafmt.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/.scalafmt.conf -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/README.md -------------------------------------------------------------------------------- /iocell/src/main/resources/barstools/iocell/vsrc/Analog.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/iocell/src/main/resources/barstools/iocell/vsrc/Analog.v -------------------------------------------------------------------------------- /iocell/src/main/scala/barstools/iocell/chisel/Analog.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/iocell/src/main/scala/barstools/iocell/chisel/Analog.scala -------------------------------------------------------------------------------- /iocell/src/main/scala/barstools/iocell/chisel/IOCell.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/iocell/src/main/scala/barstools/iocell/chisel/IOCell.scala -------------------------------------------------------------------------------- /project/build.properties: -------------------------------------------------------------------------------- 1 | sbt.version=1.8.2 2 | -------------------------------------------------------------------------------- /project/plugins.sbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/project/plugins.sbt -------------------------------------------------------------------------------- /src/main/scala/barstools/macros/CostMetric.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/main/scala/barstools/macros/CostMetric.scala -------------------------------------------------------------------------------- /src/main/scala/barstools/macros/MacroCompiler.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/main/scala/barstools/macros/MacroCompiler.scala -------------------------------------------------------------------------------- /src/main/scala/barstools/macros/SynFlopsPass.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/main/scala/barstools/macros/SynFlopsPass.scala -------------------------------------------------------------------------------- /src/main/scala/barstools/macros/Utils.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/main/scala/barstools/macros/Utils.scala -------------------------------------------------------------------------------- /src/main/scala/barstools/tapeout/transforms/ExtraTransforms.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/main/scala/barstools/tapeout/transforms/ExtraTransforms.scala -------------------------------------------------------------------------------- /src/main/scala/barstools/tapeout/transforms/GenerateModelStageMain.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/main/scala/barstools/tapeout/transforms/GenerateModelStageMain.scala -------------------------------------------------------------------------------- /src/main/scala/barstools/tapeout/transforms/retime/Retime.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/main/scala/barstools/tapeout/transforms/retime/Retime.scala -------------------------------------------------------------------------------- /src/main/scala/barstools/tapeout/transforms/stage/TapeoutStage.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/main/scala/barstools/tapeout/transforms/stage/TapeoutStage.scala -------------------------------------------------------------------------------- /src/main/scala/barstools/tapeout/transforms/utils/FileUtils.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/main/scala/barstools/tapeout/transforms/utils/FileUtils.scala -------------------------------------------------------------------------------- /src/main/scala/barstools/tapeout/transforms/utils/LowerAnnotations.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/main/scala/barstools/tapeout/transforms/utils/LowerAnnotations.scala -------------------------------------------------------------------------------- /src/main/scala/barstools/tapeout/transforms/utils/ProgrammaticBundle.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/main/scala/barstools/tapeout/transforms/utils/ProgrammaticBundle.scala -------------------------------------------------------------------------------- /src/main/scala/barstools/tapeout/transforms/utils/YamlHelpers.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/main/scala/barstools/tapeout/transforms/utils/YamlHelpers.scala -------------------------------------------------------------------------------- /src/main/scala/mdf/macrolib/ConfReader.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/main/scala/mdf/macrolib/ConfReader.scala -------------------------------------------------------------------------------- /src/main/scala/mdf/macrolib/FillerMacroBase.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/main/scala/mdf/macrolib/FillerMacroBase.scala -------------------------------------------------------------------------------- /src/main/scala/mdf/macrolib/FlipChipMacro.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/main/scala/mdf/macrolib/FlipChipMacro.scala -------------------------------------------------------------------------------- /src/main/scala/mdf/macrolib/IOMacro.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/main/scala/mdf/macrolib/IOMacro.scala -------------------------------------------------------------------------------- /src/main/scala/mdf/macrolib/MacroLib.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/main/scala/mdf/macrolib/MacroLib.scala -------------------------------------------------------------------------------- /src/main/scala/mdf/macrolib/SRAM.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/main/scala/mdf/macrolib/SRAM.scala -------------------------------------------------------------------------------- /src/main/scala/mdf/macrolib/Utils.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/main/scala/mdf/macrolib/Utils.scala -------------------------------------------------------------------------------- /src/test/resources/PadAnnotationVerilogPart.v: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/test/resources/PadAnnotationVerilogPart.v -------------------------------------------------------------------------------- /src/test/resources/bumps.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/test/resources/bumps.json -------------------------------------------------------------------------------- /src/test/resources/io_properties.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/test/resources/io_properties.json -------------------------------------------------------------------------------- /src/test/resources/lib-BOOMTest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/test/resources/lib-BOOMTest.json -------------------------------------------------------------------------------- /src/test/resources/lib-MaskPortTest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/test/resources/lib-MaskPortTest.json -------------------------------------------------------------------------------- /src/test/resources/lib-WriteEnableTest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/test/resources/lib-WriteEnableTest.json -------------------------------------------------------------------------------- /src/test/scala/barstools/macros/CostFunction.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/test/scala/barstools/macros/CostFunction.scala -------------------------------------------------------------------------------- /src/test/scala/barstools/macros/Functional.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/test/scala/barstools/macros/Functional.scala -------------------------------------------------------------------------------- /src/test/scala/barstools/macros/MacroCompilerSpec.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/test/scala/barstools/macros/MacroCompilerSpec.scala -------------------------------------------------------------------------------- /src/test/scala/barstools/macros/Masks.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/test/scala/barstools/macros/Masks.scala -------------------------------------------------------------------------------- /src/test/scala/barstools/macros/MultiPort.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/test/scala/barstools/macros/MultiPort.scala -------------------------------------------------------------------------------- /src/test/scala/barstools/macros/SRAMCompiler.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/test/scala/barstools/macros/SRAMCompiler.scala -------------------------------------------------------------------------------- /src/test/scala/barstools/macros/SimpleSplitDepth.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/test/scala/barstools/macros/SimpleSplitDepth.scala -------------------------------------------------------------------------------- /src/test/scala/barstools/macros/SimpleSplitWidth.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/test/scala/barstools/macros/SimpleSplitWidth.scala -------------------------------------------------------------------------------- /src/test/scala/barstools/macros/SpecificExamples.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/test/scala/barstools/macros/SpecificExamples.scala -------------------------------------------------------------------------------- /src/test/scala/barstools/macros/SynFlops.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/test/scala/barstools/macros/SynFlops.scala -------------------------------------------------------------------------------- /src/test/scala/barstools/tapeout/transforms/GenerateSpec.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/test/scala/barstools/tapeout/transforms/GenerateSpec.scala -------------------------------------------------------------------------------- /src/test/scala/barstools/tapeout/transforms/retime/RetimeSpec.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/test/scala/barstools/tapeout/transforms/retime/RetimeSpec.scala -------------------------------------------------------------------------------- /src/test/scala/mdf/macrolib/ConfReaderSpec.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/test/scala/mdf/macrolib/ConfReaderSpec.scala -------------------------------------------------------------------------------- /src/test/scala/mdf/macrolib/FlipChipMacroSpec.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/test/scala/mdf/macrolib/FlipChipMacroSpec.scala -------------------------------------------------------------------------------- /src/test/scala/mdf/macrolib/IOMacroSpec.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/test/scala/mdf/macrolib/IOMacroSpec.scala -------------------------------------------------------------------------------- /src/test/scala/mdf/macrolib/IOPropertiesSpec.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/test/scala/mdf/macrolib/IOPropertiesSpec.scala -------------------------------------------------------------------------------- /src/test/scala/mdf/macrolib/MacroLibOutput.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/test/scala/mdf/macrolib/MacroLibOutput.scala -------------------------------------------------------------------------------- /src/test/scala/mdf/macrolib/MacroLibSpec.scala: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ucb-bar/barstools/HEAD/src/test/scala/mdf/macrolib/MacroLibSpec.scala --------------------------------------------------------------------------------