summaryrefslogtreecommitdiff
path: root/src/main/scala
AgeCommit message (Collapse)Author
2015-12-31Add assert(Boolean), assert(Boolean, String)Palmer Dabbelt
This overload exists for Chisel 2 compatibility (Rocket uses it). I tried to just add a single extra method ('apply(Boolean, String="")') but Scala complained about having overloads with implicit arguments. Instead I just went ahead and added 4 overloads that do the same thing as the implicit arguments, just a bit less cleanly.
2015-12-30Add '=/=' to bits, which does the same as '!='Palmer Dabbelt
It looks like this is in Chisel2 now, and some stuff in uncore is using it. IIRC, we decided that this was the correct thing to do for some Scala style reasons.
2015-12-15Meaningful error when resource copy failsducky
2015-12-15Print test stdout/stderr to consoleducky
2015-12-14Modify TestDriver to take resource paths instead of Filesducky
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-11Add stop() in BasicTester as a replacement for io.doneducky
2015-12-11Add support for printf and asserts, add testbench for asserts and printfducky
2015-12-11Merge pull request #64 from ucb-bar/optionablebundleAdam Izraelevitz
Add Option support in Bundle
2015-12-10Add Option support in Bundleducky
2015-12-09Refactor testharness generation to create directories and have minimal APIducky
2015-12-09Optional additional Verilog sources to include in executeducky
2015-12-09Extend TesterDriver to optionally take in additional Verilog sourcesducky
2015-12-06Split internal and FIRRTL packagesducky
2015-12-06More design rationale for Vecducky
2015-11-04Fix new style errorsducky
2015-11-04Remove Parameters library and refactor Driver.Henry Cook
In addition to removing all the extraneous Driver invocations that created various top-level Parameters instances, this commit also lays the groundwork for stanza-firrtl/verilator based testing of Modules that extend BasicTester. The execution-based tests have been updated accordingly. They will only succeed if firrtl and verilator binaries have been installed. Further work is needed on individual tests to use assertions instead of .io.error.
2015-11-03Add documentation on some non-intuitive partsducky
2015-11-02Remove implementation details from scaladoc.ducky
You didn't want it, so Imma getting rid of it...
2015-11-02Add Scalastyle rule to check lines ending with a ;, fix some instancesducky
2015-11-02Scalastyle ignore ## and printlns in Error.scaladucky
2015-11-02Remove "generates {,no} logic" commentsPalmer Dabbelt
At least one of these is incorrect.
2015-11-02Deprecations and better documentation for Aggregate.scaladucky
2015-11-02Break out Utils.scala into smaller portionsducky
2015-10-30Merge pull request #47 from ucb-bar/corebitsfixAndrew Waterman
Fix whitespace in Bits
2015-10-30Fix whitespaceducky
2015-10-30Move Cat into utilsducky
2015-10-30Resolve some review todos in Bitsducky
2015-10-29Merge pull request #43 from ucb-bar/corebitpatAndrew Waterman
Fix review todos in BitPat.scala
2015-10-29Fix review todos in BitPat.scaladucky
2015-10-29Resolve review todos for Data.scaladucky
2015-10-28Merge pull request #38 from ucb-bar/internalsplitJim Lawson
Move internal files into their own directories
2015-10-26Merge pull request #39 from ucb-bar/coresplitAndrew Waterman
Break Core.scala into bite-sized pieces
2015-10-26Remove (broken) floating point data typesducky
2015-10-26Break Core.scala into bite-sized piecesducky
2015-10-26Move internal files into their own directoriesducky
2015-10-26Add scalastyle ignore commentsducky
2015-10-26Make all the log2 functions take BigInt (in addition to Int)Andrew Waterman
2015-10-22Make that one last if block scalastyle compliant by making it ternary-likeducky
2015-10-21Add explicit types for public methodsducky
2015-10-21Scalastyle fixes involving changing codeducky
2015-10-20Make if / else braces style conformant to Scalastyle checkerducky
2015-10-20Whitespace / comment style fixesducky
2015-10-19Core.scala API documentationducky
2015-10-16Remove old Literal object; fold the parseLit into UIntAndrew Waterman
2015-10-08Handle IllegalArgumentExcetions that mean a cloneType is neededPalmer Dabbelt
When trying to cloneType() on classes that take a builtin (like Int), we get an IllegalArgumentException instead of a InvocationTargetException. This change prints a nice error message instead of a stack trace.
2015-10-07Fix for getDump with empty parameters.Jim Lawson
Avoid: [error] (run-main-0) java.lang.UnsupportedOperationException: empty.reduceLeft java.lang.UnsupportedOperationException: empty.reduceLeft when invoked via chiselMain() with no Parameters.
2015-10-01Flip Mem/SeqMem argument order; deprecate old orderingAndrew Waterman
2015-09-25Improve coverage of default cloneType method; add commentsAndrew Waterman