summaryrefslogtreecommitdiff
path: root/src/test
AgeCommit message (Collapse)Author
2017-01-31Add compile [to Verilog] to ChiselRunnersJack
2017-01-31Fix spelling of ChiselExecutionSuccessJack
2017-01-31Move blackbox verilog implementations within reach of verilator (#453)Chick Markley
* Move blackbox verilog implementations within reach of verilator Blackbox implementers can annotate the modules with information on where to get the source verilog This API is very lightweight, real work is done in firrtl in companion PR Added some verilog to BlackBoxTest.v resource for testing * if a file named black_box_verilog_files.f exists add a -f black_box_verilog_files.f to the verilog to cpp command
2017-01-30Add shift register with reset (#439)Stevo
* [stevo]: add reset initialization to shift register * [stevo]: better comment * [stevo]: add tests, fix bug
2017-01-27Add basic Chisel2 compatibility sanity checks. (#340)Jim Lawson
2017-01-25Better name propagation by macros (#327)Richard Lin
* Name propagation * chiselName everywhere at best-effort level * Better collision handling * Allow recursing into inner anonymous functions * Add for loop and anonymous inner function tests
2017-01-20Add Record as new superclass of Bundle (#366)Jack Koenig
Record gives uses the power to create collections of heterogenous elements. Bundle is a special case of Record that uses reflection to populate the elements of the collection. Bundle also attempts to implement cloneType whereas users of Record are required to supply one.
2017-01-20Mark Annotation and FixedPoint as experimental (#444)Chick Markley
* Mark Annotation and FixedPoint as experimental Fix tests and other references to these constructs * Made experimental imports more specific where possible
2017-01-13Make fromBits work with types other than UInt (#424)grebe
* Make fromBits work with types other than UInt * Oops, left in a println * Add test for truncation/expansion * Fix stuff that broke when FixedPoint fromBits PR was merged. * Use .BP shorthand added in previous PR
2017-01-11Merge branch 'master' into fixedPointFromBitsAdam Izraelevitz
2017-01-10Make stop() immediately end simulation for Verilator tests (#434)Jack Koenig
2016-12-22Merge branch 'master' into fixedPointFromBitsgrebe
2016-12-19Merge branch 'master' into exceptionfixJim Lawson
2016-12-15Merge branch 'master' into fixedPointFromBitsgrebe
2016-12-14Final steps for annotations getting from chisel to firrtl (#405)Chick Markley
Pass transforms along with Annotations when calling firrtl compiler This introduces new requirement that firrtl.Transform subclasses (that are associated with an annotation) do not have parameters in their default constructor Add new test for NoDedup annotation that shows how to annotate a module instance
2016-12-13Fix test.Paul Rigge
2016-12-13CheckpointPaul Rigge
2016-12-13Add a test for fromBits on fixed point numbers.Paul Rigge
2016-12-12Add Cookbook examples Reg of Vec and FSM (#404)Jack Koenig
2016-12-07Support for creating chisel annotations that are consumed by firrtl (#393)Chick Markley
* Support for creating chisel annotations that are consumed by firrtl Update annotation serialization in Driver Add DiamondAnnotation Spec that illustrates how to do simple annotations frontEnd must have dependency on firrtl Add annotation method to Module Circuit has extra optional parameter that is Seq of Annotations In Builder add annotation buffer to DynamicContext to store annotations created in modules Added explicit types on naming api methods to avoid type confusion Because some names are not available until elaboration create intermediate ChiselAnnotation that gets turned into a firrtl Annotation after elaboration In execute pass firrtl text and annotation to firrtl are now passed in through optionManager, though intermediate file .fir and .anno files are still created for inspection and/or later use * Somehow missed ChiselAnnotation * fixes for Jack's review of PR
2016-12-05Merge branch 'master' into exceptionfixJack Koenig
2016-12-05Fix literal width (#389)Jack Koenig
Fixes #388
2016-12-02Merge branch 'master' into exceptionfixJim Lawson
2016-11-23Simplify Enum API (#385)Richard Lin
Get rid of some cruft exposed in #373 This also allows Bits.fromtInt(...) to be removed. Yay! All old APIs (with some new restrictions, rocket still works fine) are preserved without deprecation in Chisel._, aside from the non-compile-time-checkable Map[] enum constructor which probably should have been deprecated during chisel2. The Map[] enums have been removed from chisel3._ without deprecation. The new restriction is that nodeType (legacy API) may only be of UInt type with unspecified width. Note that Bits() creates a UInt, and if you can't control the enum values, it makes little sense to specify a bitwidth.
2016-11-21Deboilerplate the implicit conversions, add support for long.Uducky
2016-11-21Convert rest of testsducky
2016-11-21Remove () from as_Intducky
2016-11-21Fix all deprecations from new styleducky
2016-11-21All remaining automatable regex re-stylesducky
2016-11-21Restyle a lot of test code, mainly with regexducky
2016-11-21SInt conversion finished, everything builds againducky
2016-11-21Move ChiselRange to experimentalducky
2016-11-21Address review commentsducky
2016-11-21Fix open-open range specifier, remove dead code, restyle testsducky
2016-11-21Add invalid range specifier testducky
2016-11-21Oops, forgot to include literal expressions.Paul Rigge
2016-11-21Write range macro tests in a better way.Paul Rigge
2016-11-21Add interpolated variables to range macro test.Paul Rigge
2016-11-21Change some of the test names.Paul Rigge
2016-11-21Add a macro test casePaul Rigge
2016-11-21Incorporate feedback.Paul Rigge
2016-11-21Add some more tests.Paul Rigge
2016-11-21Delete RangeMacroTest now that RangeSpec exists.Paul Rigge
2016-11-21simple test that range interpolator works with UInt factory methodchick
2016-11-21Rename RangeMacro, remove nameprop depsducky
2016-11-21Better testing, better parsingducky
2016-11-21Range macro initial implducky
2016-11-18Add support for parameterized BlackBoxesjackkoenig
Also restrict black boxes to not allow hardware inside of them since it was being silently dropped anyway. Resolves #289
2016-11-14Add checks for misuse or omission of Module()Jack
Implemented by adding a Boolean to check for alternating invocations of object Module.apply and the constructor of abstract class Module. Fixes #192
2016-11-14Avoid dynamicContext issues - use ChiselRunners.elaborate()Jim Lawson