aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-06-17Add Protocol Buffer emission (#2271)Schuyler Eldridge
* Add Protocol Buffer emission export This adds infrastructure and annotations that let a user emit a FIRRTL circuit as a Protocol Buffer. Fixes #1696. Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com> * fixup! Add Protocol Buffer emission export
2021-06-15make PresetRegAnnotation public (#2254)Kevin Laeufer
* make PresetRegAnnotation public this annotation is useful outside the firrtl compiler: - to implement a pass that creates registers which need to be initialized at the beginning of simulation (e.g., for formal verification) - to support preset registers in treadle * add PresetRegAnnotation test and deal with annotation correctly in RemoveReset pass
2021-06-14Add -X mhigh compiler for minimal high form (#2268)Schuyler Eldridge
Add a compiler/emitter that can target minimal high form. This will produce output that only has CHIRRTL constructs removed. Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
2021-06-09Merge pull request #2263 from sinofp/nomorejavaio-mustdedupJiuyang Liu
Remove java.io in MustDedup
2021-06-08Prepend target dir to default dedup report dirsinofp
Requested by reviewer.
2021-06-08Rm java.io in MustDedupsinofp
2021-06-08Merge pull request #2256 from sinofp/nomorejavaio-fileutilsJiuyang Liu
Remove java.io in FileUtils
2021-06-06Merge branch 'master' into nomorejavaio-fileutilsJiuyang Liu
2021-06-06Merge pull request #2258 from scala-steward/update/os-lib-0.7.8Jiuyang Liu
Update os-lib to 0.7.8
2021-06-05Merge branch 'master' into update/os-lib-0.7.8mergify[bot]
2021-06-05Add deprecation annotation in FileUtilssinofp
2021-06-04Update sbt-scoverage to 1.8.2 (#2261)Scala Steward
Co-authored-by: Jiuyang Liu <liu@jiuyang.me>
2021-06-04Merge branch 'master' into update/os-lib-0.7.8Jiuyang Liu
2021-06-04Merge pull request #2257 from scala-steward/update/sbt-scalafix-0.9.29Jiuyang Liu
Update sbt-scalafix to 0.9.29
2021-06-04Update os-lib to 0.7.8Scala Steward
2021-06-04Update sbt-scalafix to 0.9.29Scala Steward
2021-06-04Rm java.io in FileUtilssinofp
2021-06-03Replace mem macros renaming (#2243)Albert Chen
* ReplaceMemMacros: add target rename test case * ReplaceMemMacros: rename references to instances * fix renaming for deduped mems * use grouped DummyAnnos to preserve order * Apply suggestions from code review Co-authored-by: Jack Koenig <koenig@sifive.com> * run scalafmt * flatten targets Co-authored-by: Jack Koenig <koenig@sifive.com>
2021-06-01Update sbt-scoverage to 1.8.1 (#2235)Scala Steward
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-06-01Update scalatest to 3.2.9 (#2226)Scala Steward
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-05-28remove testOnly, since upstream implemented it. (#2250)Jiuyang Liu
2021-05-28Merge pull request #2239 from scala-steward/update/sbt-scalafix-0.9.28Jiuyang Liu
Update sbt-scalafix to 0.9.28
2021-05-28Merge branch 'master' into update/sbt-scalafix-0.9.28Jiuyang Liu
2021-05-28Merge pull request #2248 from scala-steward/update/sbt-mima-plugin-0.9.2Jiuyang Liu
Update sbt-mima-plugin to 0.9.2
2021-05-26Update sbt-mima-plugin to 0.9.2Scala Steward
2021-05-22Rewrite vlsi_mem_gen into a Firrtl Transform (#2202)sinofp
* Add GenVerilogMemBehaviorModelAnno & vlsiMemGen * Add CLI support for GenVerilogMemBehaviorModelAnno * Add simple test for GenVerilogMemBehaviorModelAnno * Fix for review 1. rename case class Port(prefix, `type`) to Port(prefix, portType) 2. fix AnnotatedMemoriesAnnotation collect function. 3. fix bug that ModuleName is not correct. * Format DumpMemoryAnnotations & ReplSeqMemTests * Fix for review 1. Inline genDecl, genPortSpec, genSequential, genCombinational 2. Add DefAnnotatedMemory informations in header 3. Change helpText 4. Check output Verilog by Verilator, the code is from FirrtlRunners#lintVerilog * Fix ReadWritePort mask name Co-authored-by: Jiuyang Liu <liu@jiuyang.me> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-05-21Optimize Annotation.getTargets (#2244)Jack Koenig
2021-05-21Fix renaming of local targets in InlineInstances (#2238)Albert Chen
* add more inline renaming test cases * InlineInstances: fix renaming for local targets * run scalafmt Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-05-21Annotation: override getTargets for SingleTargetAnnotation (#2241)Kevin Laeufer
2021-05-21WiringTransform: cannot run after RemoveWires (#2240)Kevin Laeufer
2021-05-21Update sbt-scalafix to 0.9.28Scala Steward
2021-05-18Improve performance of RenameMap in LowerTypes (#2233)Jack Koenig
LowerTypes creates a lot of mappings for the RenameMap. The built-in .distinct of renames becomes a performance program for designs with deeply nested Aggregates. Because LowerTypes does not create duplicate renames, it can safely eschew the safety of using .distinct via a private internal API.
2021-05-18Add support for fat jars to benchmark_cold_compile.py (#2232)Jack Koenig
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-05-17Update os-lib to 0.7.7 (#2231)Scala Steward
2021-05-17Use os-lib to rewrite Z3ModelChecker (#2223)Jiuyang Liu
* add os-lib to dependency. * use os-lib in Z3ModelChecker * fix for review by Kevin.
2021-05-14Add JsonProtocol.serializeRecover (#2227)Jack Koenig
This function will safely wrap any unserializeable annotations in UnserializeableAnnotations so that they can be safely serialized to JSON for logging.
2021-05-14Update scala-parallel-collections to 1.0.3 (#2225)Scala Steward
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-05-14Update sbt-mima-plugin to 0.9.1 (#2224)Scala Steward
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-05-13Implement MFC-style source locator compression (#2212)Jared Barocsi
* Implement MFC-style source locator compression * Fix formatting issues * Fix emitting empty FileInfo if the firrtl doesn't have one * Remove '.scala' requirement in FileInfo parsing regex * Handle parsing of FileInfos with no line/col nums * Split FileInfos only if they match This should fix any issues with FileInfos that do not use the "file line:col" format, and allow any valid firrtl using these info comments to compile. * Add unit tests for locator compression * Move InfoTests to InfoSpec class * Fix existing unit tests with fileinfo comments * Add unit tests to ignore the algorithm's own output
2021-05-11Update sbt-scoverage to 1.8.0 (#2221)Scala Steward
2021-05-10Update sbt to 1.5.2 (#2220)Scala Steward
2021-05-09Update sbt-mima-plugin to 0.9.0 (#2217)Scala Steward
2021-05-04Make MustDeduplicateAnnotation deletable (#2215)Jack Koenig
2021-05-04Fix SBT deprecation warnings (#2214)Jack Koenig
2021-05-04Update sbt-scoverage to 1.7.3 (#2213)Scala Steward
2021-04-28Update sbt to 1.5.1 (#2205)Scala Steward
2021-04-28Update json4s-native to 3.6.11 (#2138)Scala Steward
Co-authored-by: Jiuyang Liu <liu@jiuyang.me> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-04-28Update sbt to 1.3.13 (#1730)Scala Steward
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> Co-authored-by: Jiuyang Liu <liu@jiuyang.me>
2021-04-28Update sbt-protobuf to 0.7.0 (#2134)Scala Steward
Co-authored-by: Jiuyang Liu <liu@jiuyang.me> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-04-28Update sbt-ci-release to 1.5.7 (#2148)Scala Steward
Co-authored-by: Jiuyang Liu <liu@jiuyang.me> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>