- Mar 18, 2017
-
-
Richard Lin authored
-
- Mar 14, 2017
-
-
Jim Lawson authored
* Revert "Change Vec creation to check if gen is lit (and hence needs to be declared)" This reverts commit dc86e7e1734d6abacb739b488df1de231e6b41b2. This may address #522 - using chiselCloneType (instead of cloneType) to preserve directionality. * Add missing implicits to Vec.apply() signature. * Use correct macro (CompileOptionsTransform) for indexWhere.
-
- Mar 09, 2017
-
-
Richard Lin authored
-
Andrew Waterman authored
-
Andrew Waterman authored
-
Andrew Waterman authored
This is an odd one. Using log2Ceil directly results in a Verilator compile error, presumably due to a FIRRTL zero-width wire bug.
-
Andrew Waterman authored
The old implementation failed to check for width <= -2, and did the wrong thing when -1 was explicitly passed. Splitting into two methods avoids the latter issue. log2Ceil's argument might be 1, so employ a max operator.
-
Andrew Waterman authored
Since the argument is at least 2, this change has no semantic effect.
-
Andrew Waterman authored
-
Andrew Waterman authored
Since the argument is at least 2, this change has no semantic effect.
-
Andrew Waterman authored
Both should be zero-width wires.
-
Andrew Waterman authored
Provide a better error message when length < 0. Change log2Up in log2Ceil, which has no effect, since the argument is always at least 2.
-
Andrew Waterman authored
It always should throw an exception when n < 0, but in the specific case of x.isWidthKnown && x.getWidth == 1, it failed to do so. This commit also changes log2Up in log2Ceil, which has no effect, since the argument is always at least 2.
-
- Mar 01, 2017
-
-
Siddhanathan Shanmugam authored
-
Jim Lawson authored
* Use test_run_dir for more tests. * Use official option and DRY. Make "test_run_dir" the default for ChiselSpec. Verify output files are created in DriverSpec tests.
-
- Feb 28, 2017
-
-
Jack Koenig authored
-
Wesley W. Terpstra authored
This is necessary for user-defined Record-derived types to retain the same signal name as they would using a Vec.
-
Jack Koenig authored
-
- Feb 25, 2017
-
-
Jack Koenig authored
Fixes #501. Also added UIntOps test.
-
- Feb 24, 2017
-
-
jackkoenig authored
Test for ucb-bar/firrtl#407
-
Jack Koenig authored
-
Jim Lawson authored
This turned up after updating #494 (Remove explicit import of NotStrict) and adding the missing implicit CompileOptions to ":="'s signature at which point Scala pointed out FixedPoint's ":=" could not override Data's final ":=" with the same signature: the implicit time bomb.
-
- Feb 23, 2017
-
-
Adam Izraelevitz authored
* Bugfix #513. Needs better test case * Improved test
-
- Feb 22, 2017
-
-
Jim Lawson authored
-
- Feb 17, 2017
-
-
Angie Wang authored
* change builder for bundle reflection fix * fixed bug -- should be not assignable
-
Chick Markley authored
* Add scaladoc examples for Vec and Bundle * address comments, added @example tag eliminate extraneous context * address comments, added @example tag eliminate extraneous context * ok, I've wrestled with the javadoc sytnax, the following commit, is my best result so far
-
Jack Koenig authored
withClockAndReset, withReset, and withClock allow changing the implicit clock and reset. Module.clock and Module.reset provide access to the current implicit clock and reset.
-
- Feb 16, 2017
-
-
Fabien Marteau authored
-
Fabien Marteau authored
-
Fabien Marteau authored
-
Richard Lin authored
-
Chick Markley authored
* Don't allow analog to analog monoconnect adjust tests accordingly * demonstrate bit loss in shift right for fixed point * cleaned up some stuff. this does not test clean due to bug in firrtl
-
- Feb 09, 2017
-
-
Jack Koenig authored
-
Jack Koenig authored
Used for stitching Verilog inout through Chisel Modules (from BlackBox to BlackBox)
-
Jack Koenig authored
-
Jim Lawson authored
There was some dubious (certainly unclear) code organization in the CompatibiltySpec tests. The isPow2() test was randomly failing in Jenkins builds. This may address the problem.
-
Jim Lawson authored
-
- Feb 08, 2017
-
-
Chick Markley authored
* Fix up Absolute value #abs Defines #abs in Num Implement #abs in UInt Change #abs in SInt to return an SInt Change #abs in FixedPoint to return a FixedPoint Added a couple of tests Add some scala style suppression to Bits so I can read code in IntelliJ * Per review Add tests that abs works for positive values Added SInt and UInt tests for abs to new underpopulated IntegerMathSpec Used fixed point literals in fixed points abs definition
-
Jim Lawson authored
-
ducky authored
-