summaryrefslogtreecommitdiff
path: root/src/test
AgeCommit message (Collapse)Author
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
2016-11-10Throw exceptions for cloneType failures - fix #358Jim Lawson
Add a Builder.exception() method for those cases where continuing is likely to mask the initial error.
2016-10-25FixedPoint number support for chisel3 (#328)Chick Markley
* FixedPoint number support for chisel3 FixedPoint numbers have a width and a binary position Either, neither or both maybe inferred. Firrtl will convert these to SInts during lowering passes * Fixes based on Jack's comments on PR #328 * Add experimental warning to FixedPoint class and object * Fixed comment per Adam's comment on PR #328
2016-10-24Merge branch 'master' into tobits-deprecationJim Lawson
2016-10-14Implement a standardized execution scheme for chiselchick
Provide support for chisel options Provide support for firrtl options when called as part of chisel compile provide command line support the above options via scopt provide and execution result class that can be used when chisel3 is part of some externally controlled toolchain
2016-10-06Merge pull request #312 from ucb-bar/improveunboundioerrormessage305Jim Lawson
Generate a better error message for missing IO() wrapper - fix #305
2016-10-06Merge pull request #307 from ucb-bar/clonefirrtldirectionJim Lawson
clone firrtlDirection when cloning - Issue #306
2016-10-06Add comments; correct Complex definition (use cloneType).Jim Lawson
2016-10-06Merge pull request #285 from ucb-bar/cookbook-testsJim Lawson
Add Cookbook tests
2016-10-06Update Driver: Check the simulation exit code #281Jim Lawson
Merge with master and support checking for failure with an explicit assertion message.
2016-10-06Merge branch 'master' into tobits-deprecationJim Lawson
2016-10-05Give <> and := legacy behavior in compatibility modeAndrew Waterman
2016-10-05Make asInput/asOutput/flip deprecation warnings dynamicAndrew Waterman
Code that imports Chisel._ shouldn't see them. Not sure if requireIOWrap is the right condition... or if cyan is a good choice of color for deprecation warnings.
2016-10-04Add CompileOptions implicits to all Module constructors - fix #310. (#311)Jim Lawson
2016-10-04Generate a better error message for missing IO() wrapper - fix #305Jim Lawson
2016-09-29Consolidate CompileOptions and re-enable NotStrict pending macro work.Jim Lawson
2016-09-29Massive rename of CompileOptions.Jim Lawson
Massage CompileOption names in an attempt to preserve default (Strict) CompileOptions in the absence of explicit imports. NOTE: Since the default is now strict, we may encounter errors when we generate connections for clients (i.e., in Vec.do_apply() when we wire up a sequence). We should really thread the CompileOptions through the macro system so the client's implicits are used.
2016-09-23Merge branch 'master' into gsdtJim Lawson
2016-09-21Add Cookbook testsjackkoenig
These tests are intended to be the examples in the Chisel3 Wiki Cookbook.
2016-09-21Expose FIRRTL asClock constructAndrew Waterman
Additionally, fix Clock.asUInt (previously, it threw an esoteric exception), and add a simple test of both.
2016-09-15Merge branch 'master' into gsdtJim Lawson
2016-09-07Fix bug in Printable FullName of submodule portjackkoenig
Printable was using HasId.instanceName to get full names of Chisel nodes. instanceName uses the parent module of the HasId to get the Component to use in calling fullName on the underlying Ref. Unfortunately this means that any reference to a port of a instance will leave off the instance name. Fixing this required the following: - Add Component argument to Printable.unpack so that we can call Arg.fullName directly in the Printable - Pass the currently emitting module as the Component to Printable.unpack in the Emitter - Remove ability to create FullName Printables from Modules since the Module name is not known until after the printf is already emitted This commit also updates the PrintableSpec test to check that FullName and Decimal printing work on ports of instances
2016-09-07Add Printable (#270)Jack Koenig
Printable is a new type that changes how printing of Chisel types is represented It uses an ordered collection rather than a format string and specifiers Features: - Custom String Interpolator for Scala-like printf - String-like manipulation of "hardware strings" for custom pretty-printing - Default pretty-printing for Chisel data types
2016-09-06Verify we can suppress the inclusion of default compileOptions.Jim Lawson
2016-09-01Move connection implicits from Module constructor to connection methods.Jim Lawson
Eliminate builder compileOptions.
2016-08-30Merge branch 'master' into gsdtJim Lawson
2016-08-30Make compileOptions in the Chisel package effective.Jim Lawson
Remove references to the Chisel package in favor of explicit chisel3 imports in tests,