- Sep 15, 2020
-
-
Jack Koenig authored
-
Jack Koenig authored
-
- Sep 12, 2020
-
-
Jack Koenig authored
-
Jack Koenig authored
-
- Sep 10, 2020
-
-
Jerry Zhao authored
Test all cases in ParameterizedOneHotTesters Co-authored-by:Jack Koenig <koenig@sifive.com>
-
Jack Koenig authored
ChiselCircuitAnnotation no longer extends CustomFileEmission, rather it is Unserializable. Also the --chisel-output-file is added to the ChiselCli. New phase AddSerializationAnnotations constructs a CircuitSerializationAnnotation from ChiselCircuitAnnotation and ChiselOutputFileAnnotation. Both .fir and .pb file formats are supported. Default format is .fir unless a --chisel-output-file is specified with a .pb extension.
-
HappyQuark authored
* fix loadMemoryFromFile to work with binary Passed in hexOrBinary parameter to ChiselLoadMemoryAnnotation * Added test for binary format support in loadMemoryFromFile * Added test for binary format support in loadMemoryFromFile
-
- Sep 05, 2020
-
-
Jack Koenig authored
Using JVM system properties sbt.sourcemode and sbt.workspace, one can now easily build chisel3 with firrtl from source Example use: Assuming firrtl is cloned into the chisel3 root directory: $ sbt -Dsbt.sourcemode=true -Dsbt.workspace=$PWD Alternatively, one can set these properties in .sbtopts which can then be committed, enabling building from source by default
-
- Sep 03, 2020
-
-
Jiuyang Liu authored
-
Jiuyang Liu authored
* add chisel plugin to mill build system. * update for review.
-
- Aug 28, 2020
-
-
Jack Koenig authored
It shouldn't be removed until we also remove the underlying chisel3.Driver.
-
Martin Schoeberl authored
A quick fix for the developer's confusion
-
- Aug 27, 2020
-
-
Schuyler Eldridge authored
* Add ChiselPhase * Use ChiselPhase in ChiselStage, remove targets Switch from a one-off PhaseManager inside ChiselStage to actually using the newly added ChiselPhase. This removes the targets method (and API) from ChiselStage. * Stop writing to files in ChiselStage$ methods Change the ChiselStage companion object methods, elaborate and convert, to not write files. Under the hood, these are switched from using ChiselStage (which, like all phases, will write files) to using ChiselPhase. * Test that ChiselStage$ methods write no files Modify existing ChiselStage object method tests to check that no files are written. * Expand ChiselStage$ API with more helpers This adds additional methods to the ChiselStage object for going directly from a Chisel module to a string including: CHIRRTL, high FIRRTL IR, Verilog, and SystemVerilog. Differing from their ChiselStage class counterparts, these take no arguments other than the module and write no files. * Add tests of new ChiselStage$ helper methods * Use ChiselStage object in tests Signed-off-by:Schuyler Eldridge <schuyler.eldridge@ibm.com>
-
- Aug 26, 2020
-
-
Jack Koenig authored
It must run after the typer, but doesn't need to "run right after". The stricter dependency conflicted with the semanticdb-typer.
-
- Aug 22, 2020
-
-
Adam Izraelevitz authored
* Updated PR template to include checklist and documentation updates * Change milestones to 3.x.x * updated milestones
-
Adam Izraelevitz authored
-
Adam Izraelevitz authored
* Added website docs and mdoc. Removed all warnings * Updated README and added build to circle ci * Added how to build documentation, deprecated wiki * Fix copypasta Co-authored-by:mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
- Aug 21, 2020
-
-
Schuyler Eldridge authored
Remove usages of the deprecated trait PreservesAll and use an explicit false invalidates. Additionally, all phases are converted to be more canonical in there specification of dependencies by: 1. Overriding all default dependency implementations 2. Using def instead of val Signed-off-by:Schuyler Eldridge <schuyler.eldridge@ibm.com>
-
- Aug 15, 2020
-
-
Chick Markley authored
-
- Aug 14, 2020
-
-
Jack Koenig authored
Use inheritance to make TesterDriver Backend API extensible, then define a TreadleBackend in the test project
-
Jack Koenig authored
Also fix BuildInfo in mill
-
Jack Koenig authored
Leverages chiselRuntimeDeprecated infrastructure. As such it is not currently suppressible.
-
Josh Bassett authored
Co-authored-by:mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
- Aug 13, 2020
-
-
Jack Koenig authored
* Deprecate Module.io and BlackBox.io This is a step toward unification of Module with MultiIOModule. The future of BlackBox is a bit less clear, but its existing API can be maintained without the io virtual method. The trickier API to maintain is auto-IO wrapping for compatibility Modules and BlackBoxes. This will probably require reflection to support once the io virtual method is removed. * Improve deprecation warning for io
-
Schuyler Eldridge authored
* Fix emit{Firrtl,Verilog} for CustomFileEmission Change ChiselStage helper methods for emitting FIRRTL (emitFirrtl) and Verilog (emitVerilog) to look for Circuit and Verilog annotations instead of DeletedAnnotations. This is needed after migrating to the CustomFileEmission mixin in FIRRTL where FIRRTL will no longer delete emitter annotations. Signed-off-by:Schuyler Eldridge <schuyler.eldridge@ibm.com> * Use CustomFileEmission for ChiselCircuitAnnotation Removes the explicit chisel3.phases.Emitter and instead does emission with a CustomFileEmission mixin to ChiselCircuitAnnotation. This then prevents the need for passing around DeletedAnnotations. As a consequence, I removed an unnecessary run of a second Converter in the Driver. Signed-off-by:
Schuyler Eldridge <schuyler.eldridge@ibm.com> * Fix tests for use of CustomFileEmission trait Signed-off-by:
Schuyler Eldridge <schuyler.eldridge@ibm.com> * Fixes for newer CustomFileEmission API Signed-off-by:
Schuyler Eldridge <schuyler.eldridge@ibm.com>
-
- Aug 12, 2020
-
-
Justin Deters authored
* Fixed the aspect as parent bug in Data and MonoConnect * refactored and cleaned up finding an aspect parent * Added aspect fix to the BiConnect class * added unit test for manipulating submodules via aspects * Refactored to move determination of proper parent to Builder and made logic simpler in MonoConnect, Data, and BiConnect * Removed unused function and provided Scaladoc for retrieveParent
-
Jack Koenig authored
Includes special case support for Counter(0) which has identical behavior to Counter(1) except for the value of n.
-
- Aug 11, 2020
-
-
Jack Koenig authored
It was private and unused
-
- Aug 07, 2020
-
-
Leigang Kou authored
comment fix only.
-
- Aug 01, 2020
-
-
Albert Magyar authored
* Include and check when scoping as part of reg/mem/wire/node bindings * Allow outdated 'when' behavior of CHIRRTL memory ports with enables * Extend cross-module / when-visibility checks to all data refs * Fixes #1512 * Cannot be checked if outside a module context * E.g. delayed evaluation of printf / assert args * Add basic test cases for cross-module refs / signals escaping when scopes * Remove illegal cross-module references from existing tests
-
- Jul 31, 2020
-
-
Tom Alcorn authored
-
Adam Izraelevitz authored
* Added broken auto-clonetype test * Added bugfix for 2.11 * Add descriptive comment for 2.11 special case * Update src/test/scala/chiselTests/AutoClonetypeSpec.scala * Update src/test/scala/chiselTests/AutoClonetypeSpec.scala Co-authored-by:mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
- Jul 30, 2020
-
-
Josh Bassett authored
* Add positive range generator * Allow the Counter module to be instantiated with a Scala range * Use head/last to determine counter width Co-authored-by:
Jack Koenig <jack.koenig3@gmail.com> * Let counter overflow naturally when appropriate We only need to explicitly wrap counters that don't start at zero, or end on a power of two. Otherwise we just let the counter overflow naturally to avoid wasting an extra mux. * Require counter range to be non-empty Co-authored-by:
Jack Koenig <jack.koenig3@gmail.com> Co-authored-by:
mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
-
Adam Izraelevitz authored
Added prefixing and a compiler plugin to improve naming. Only works for Scala 2.12 and above. Co-authored-by:Jack Koenig <koenig@sifive.com>
-
Josh Bassett authored
The instructions for building Chisel locally didn't include anything about firrtl or treadle. The steps are: 1. publishLocal current working copy of FIRRTL 2. publishLocal current working copy of Treadle 3. sbt test in chisel3
-
- Jul 29, 2020
-
-
Albert Chen authored
-
- Jul 26, 2020
-
-
Chick Markley authored
Treadle tester phase requires new to fix problems found when running tests in parallel.
-
- Jul 23, 2020
-
-
Tom Alcorn authored
* Add `check(...)` affordance * Add assert (renamed from check and fixed) * Add verification statements * Move formal to experimental.verification * Make test use ChiselStage `generateFirrtl` has been cut from Chisel * Fix newly introduced style warnings * Fix some old style warnings for good measure * Revert "Fix some old style warnings for good measure" This reverts commit 31d51726c2faa4c277230104bd469ff7ffefc890. * Cut scalastyle comments * Cut formal delimiter comments
-
- Jul 22, 2020
-
-
Albert Magyar authored
Remove scalastyle configurations
-
Albert Magyar authored
* Drop plugin * Drop scalastyle tests from make recipes * Remove checkstyle from CI
-