summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-18Only elaborate once in chiselMain.run()Palmer Dabbelt
I had a def instead of a val.
2016-04-15Test FIRRTL string literals more aggressivelyAndrew Waterman
2016-04-14Disallow Counters with negative nAndrew Waterman
One could make an argument for disallowing n=0, too, but HW generators will benefit from our leniency. Closes #107. Thanks @jackkoenig
2016-04-14Use mkString to clarify and speed up DefPrim emissionAndrew Waterman
2016-04-14Don't eagerly evaluate assertion failure stringsAndrew Waterman
Users should assume it's OK to make them expensive to evaluate.
2016-04-14Improve performance of hashing HasId (e.g. Data)Andrew Waterman
2016-04-14Eliminate RefMapAndrew Waterman
It's an unconvincing means to pretend there isn't mutable state when there really is. It's more confusing and less performant than just calling a spade a spade.
2016-04-14Reject log2Up on negative inputsAndrew Waterman
Mathematically, we should also reject 0, like log2Ceil does. But accepting 0 and returning 1 is more in the spirit of the special case for widths.
2016-04-13Remove underscores from constant creationColin Schmidt
This makes chisel2's behaviour and makes it easier to read large constants.
2016-04-06Update README with Martin's suggestions from #103.Jim Lawson
2016-04-05Make Wire(init = x) behave the same as Wire(t = x) := xAndrew Waterman
There's a separate debate to be had about whether we want to default-initialize Wires to invalid. This patch just fixes the implementation of the previous, unsafe approach, which was usually, but not always, defaulting to invalid.
2016-04-05Merge pull request #129 from ucb-bar/bumppluginsRichard Lin
Bump plugin versions.
2016-04-02Add Arch Linux installation instructionsSebastian Bøe
2016-04-01Clearly delineate pipe/flow behavior in QueueAndrew Waterman
2016-04-01Reduce FIRRTL node count for CounterAndrew Waterman
This would ultimately get DCE'd, but it's easy enough to not generate the dead code in the first place.
2016-04-01Improve Arbiter implementation and QoRAndrew Waterman
- Remove power-of-2 restriction on count - Avoid redundancy between lockIdx and chosen signals, reducing area - Infer locked from lockCount, rather than maintaining separate state - Reduce FIRRTL node count in several places - Special-case simple Arbiter, which avoids serializing the computation of io.chosen with io.out.valid/bits. This lops off a few FO4 delays at no area cost, and actually reduces area if io.chosen isn't used.
2016-04-01Make ArbiterCtrl private; make O(n), not O(n^2)Andrew Waterman
It was never meant to be a public API, and the implementation left something to be desired.
2016-04-01Return Seq, not Vec, from PriorityEncoderOHAndrew Waterman
It doesn't really make sense to create a one-hot result then follow it with a decoder. It's more performant to use a PriorityEncoder followed by a comparator. Discourage the former by returning Seq, not Vec. In Chisel2, it seems the return type was originally Seq, but was at some point inadvertently changed to Vec.
2016-04-01Bump plugin versions.Jim Lawson
Scalastyle "scalastyle-sbt-plugin" % "0.7.0) dies with: [error] .../chisel3/src/main/scala/Chisel/Data.scala: Expected token RBRACKET but got Token(XML_START_OPEN,<,4360,<) [error] .../chisel3/src/main/scala/Chisel/Driver.scala: Expected token RBRACKET but got Token(XML_START_OPEN,<,3418,<) ... Upgrade to "scalastyle-sbt-plugin" % "0.8.0" (and bump the the others to "current" versions while we're here.)
2016-04-01Update sbt to version 0.13.11Andrew Waterman
2016-03-31Fix fromBits for this.width > that.widthAndrew Waterman
Sign- or zero-extend the argument to match.
2016-03-28Allow invocation of printf without applying resetAndrew Waterman
For internal purposes only. Avoids redundant code emission for assertions.
2016-03-28Apply DeMorgan's law to improve assert code readabilityAndrew Waterman
2016-03-20Merge pull request #124 from ucb-bar/fix-assertJack Koenig
Fix assert
2016-03-18Merge pull request #123 from ucb-bar/scalastyleRichard Lin
Add =/= to the ignoreRegex for MethodNamesChecker.
2016-03-18Add test for assertions in modules with pipedlined resetjackkoenig
2016-03-18Make Chisel self-testing work with new FIRRTL printf/stop guardsjackkoenig
2016-03-18Only randomize directory names during testingjackkoenig
2016-03-17Add =/= to the ignoreRegex for MethodNamesChecker.Jim Lawson
2016-03-15Add =/= to SIntjackkoenig
2016-03-14Merge pull request #119 from ucb-bar/scalastyleRichard Lin
Scalastyle cleanup - no functional differences.
2016-03-14Scalastyle cleanup - no functional differences.Jim Lawson
2016-03-10Merge pull request #117 from ucb-bar/readmechisel2compatibilitymodeRichard Lin
Add pointer to Chisel3 compatibility on Chisel2 README.
2016-03-10Undent Chisel2 compatibility mode reference.Jim Lawson
2016-03-10Correct reference to Chisel3 compatibility mode.Jim Lawson
2016-03-10Add pointer to Chisel3 compatibility on Chisel2 README.Jim Lawson
2016-03-08Merge pull request #116 from ucb-bar/verilator-suppress-warningsJim Lawson
Verilator suppress warnings
2016-03-08Added -Wno-WIDTH and -Wno-STMTDLY warning suppressors to verilator commandchick
show verilator command on starndard out Changed --Wno-fatal to -Wno-fatal (double dash became single dash) in accordance with verilator docs println the verilator command to the standard out, so it can be seen along with the various compiler calls
2016-03-08Merge branch 'master' of https://github.com/ucb-bar/chisel3chick
2016-03-06Merge pull request #113 from ucb-bar/require-messageAndrew Waterman
Print a better message on constant width failures
2016-03-06Print a better message on constant width failuresPalmer Dabbelt
I'm getting this error and the message is awful.
2016-03-05Merge pull request #112 from ucb-bar/rocket-chipPalmer Dabbelt
Remove scalastyle test hook
2016-03-05Actually parse "--targetDir"Palmer Dabbelt
I'm trying to get RocketChip to work with Chisel3 again, and we need to run in multiple directories. This fixes the workaround I made earlier to actually parse the passed command-line arguments so I can emit FIRRTL in the correct directory.
2016-03-05Remove scalastyle test hookPalmer Dabbelt
I can't get this to work when Chisel 3 is installed as a submodule.
2016-03-03Merge pull request #108 from ucb-bar/distribution-prep1Jim Lawson
Distribution prep1
2016-02-29Merge branch 'master' of https://github.com/ucb-bar/chisel3chick
2016-02-26Merge pull request #109 from ucb-bar/Fix-init-in-DeqIORichard Lin
Fix init in deq io
2016-02-25Merge branch 'master' of https://github.com/ucb-bar/chisel3chick
2016-02-25Fill in instructions to add FIRRTL binary to PATHJack
2016-02-25Merge branch 'master' of https://github.com/ucb-bar/chisel3chick