summaryrefslogtreecommitdiff
path: root/src/main/scala/Chisel/util
AgeCommit message (Collapse)Author
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-02-25Fixed comment punctuation and made it clearer that using an init() method ↵chick
for DeqIO and EnqIO initialization is likely to change.
2016-02-24Remove the assignment statements in EnqIO and DeqIO Bundle constructors.chick
Make the corresponding test run faster by giving it a Counter.
2016-02-08Use Flipped trait to implement DeqIOAndrew Waterman
2016-01-23Don't use deprecated constructsAndrew Waterman
2015-12-11Fix Counter docducky
2015-12-11Refactor tests to use stop() and assert() instead of io.error/io.doneducky
Gate assert, printf, stop by reset Fix testbenches that never worked Change simulation prints to display cycle at which test was signaled to end, not when simulator stops Better documentation for Counter
2015-12-06Split internal and FIRRTL packagesducky
2015-11-02Add Scalastyle rule to check lines ending with a ;, fix some instancesducky
2015-11-02Break out Utils.scala into smaller portionsducky
2015-10-30Move Cat into utilsducky