summaryrefslogtreecommitdiff
path: root/src/main/scala/Chisel
AgeCommit message (Collapse)Author
2016-02-22Merge pull request #99 from ucb-bar/chisel_tester_supportRichard Lin
Chisel tester support
2016-02-10TesterDriverSpec is simpler and cleaner, extraneous circuit has been removed.chick
Cleanup comment for finish method in BasicTester, and finishWrapper in TesterDriver.
2016-02-10Added some comments describing potential use of the finish method hookchick
clean up the test example
2016-02-09Merge pull request #98 from ucb-bar/prettyassertAndrew Waterman
Separate assertion failure message from source locator line
2016-02-09Added support for finish method of BasicTester to be overridden in a ↵chick
subclass which allows tester to have clean up and other construction code executed after a user code executed during constructor of that subclass
2016-02-08Merge pull request #95 from ucb-bar/flippedChick Markley
Add Flipped trait; fix DeqIO, this fix looks good to go
2016-02-08Separate assertion failure message from source locator lineducky
2016-02-08Escape control characters in Printf string literalsAndrew Waterman
If we end up generalizing Strings, this code should be moved elsewhere. Note FIRRTL doesn't handle this stuff right, so I'm not committing the companion test yet.
2016-02-08Use Flipped trait to implement DeqIOAndrew Waterman
2016-02-08Add Flipped trait that flips an AggregateAndrew Waterman
2016-02-03Merge branch 'master' into blackboxAndrew Waterman
2016-02-03Merge pull request #76 from ucb-bar/assertmacroAndrew Waterman
Make assert failures more informative using macros
2016-02-02Add some Chisel2 driver emulation methodsPalmer Dabbelt
I don't want to have to maintain a big rocket-chip fork to have it run through Chisel3, so instead I'm adding back some of the driver routines that existed in Chisel2.
2016-01-30Add BlackBox support and test, refactor execute => assertTesterPassesducky
2016-01-28Add macros so assert prints prettierducky
2016-01-28Merge branch 'master' into modrefactorAndrew Waterman
2016-01-28Use FIRRTL is invalid constructAndrew Waterman
2016-01-27Use FIRRTL nodes add+tail instead of addwAndrew Waterman
2016-01-27Use FIRRTL node rem, not mod, for %Andrew Waterman
2016-01-27Remove unsupported FIRRTL node bit(); use bits()Andrew Waterman
2016-01-27In FIRRTL, bitwise operators return UIntAndrew Waterman
2016-01-27New FIRRTL syntax for regAndrew Waterman
2016-01-27Only deduplicate when Module classname is the sameducky
2016-01-25Emit FIRRTL muxes for aggregatesAndrew Waterman
2016-01-24Disallow weak connect for VecAndrew Waterman
2016-01-23Implement first draft of new FIRRTL changesAndrew Waterman
2016-01-23Change implicit clock name to clk to match Chisel2Andrew Waterman
This allows us to share Verilog test harnesses between the two.
2016-01-23Don't use deprecated constructsAndrew Waterman
2016-01-23Move firrtl subpackage to inside internal subpackage.jackkoenig
2016-01-17Remove unused WhenElse IR nodeAndrew Waterman
2016-01-17Improve code generation for WhenAndrew Waterman
The change to fix elsewhen/otherwise blew up the node count.
2016-01-17Merge pull request #89 from ucb-bar/whenAndrew Waterman
Fix when / elsewhen / otherwise behavior and add unit test
2016-01-17Add =/= operator to BitPatAndrew Waterman
2016-01-16Disallow Muxing between bundles whose fields have different widthsAndrew Waterman
2016-01-16Allow Wire() to be called from parameterized functionsAndrew Waterman
Accomplish this by avoiding default-null parameters on the apply methods.
2016-01-16Add When test and fix when / elsewhen / otherwise behaviorducky
2016-01-15flatten should return Seq[Bits], not Seq[UInt]Andrew Waterman
Calling toBits inside of flatten makes asInput/asOutput/asDirectionless fail on SInts. Also, the abstract type Data was already defining it to return Seq[Bits], so this change didn't really change the API.
2016-01-12elaboration-time asserts should call Predef.assertAndrew Waterman
2016-01-12Catch yet another missing-cloneType caseAndrew Waterman
2016-01-11Add a dummy chiselMainPalmer Dabbelt
We don't have this in Chisel3, but for compatibility with berkeley-hardfloat I want a function header. This lets me keep the test harness in upstream hardfloat so I don't have to fork it for Chisel3 testing.
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