summaryrefslogtreecommitdiff
path: root/chiselFrontend
AgeCommit message (Collapse)Author
2016-10-27Refactor and fix field reflection (#342)Andrew Waterman
No more need for e.g. new Bundle { def foo(dummy: Int): Data } as now you can write new Bundle { def foo: Data } This also removes code duplication with Module. h/t @sdtwigg
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-19Deprecate "!=". (#323)Jim Lawson
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 branch 'master' into tobits-deprecationJim Lawson
2016-10-05Update @sdtwigg's PR #199 - Add Assert Data.Jim Lawson
2016-10-05Merge pull request #315 from ucb-bar/fix-rocket-chipJim Lawson
Give <> and := legacy behavior in compatibility mode
2016-10-05Use modulo addressing for dynamic Vec/Mem accessesAndrew Waterman
Static accesses are strictly checked.
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-04Suppress some scala compiler warningsAndrew Waterman
@unchecked is better than matching on _ in this case, because we want to fail on an unexpected case, rather than silently proceed.
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-30clone firrtlDirection when cloningJim Lawson
2016-09-29Manual dead code elimination.Jim 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-28Don't use firrtlDirection for direction checks - fix #298.Jim Lawson
firrtlDirection should only be used for emitting firrtl. Any checks on the actual direction should use the bound Direction `dir`.
2016-09-26Add Strict default for compile optionsducky
2016-09-23Merge branch 'master' into gsdtJim Lawson
2016-09-23Merge pull request #291 from ucb-bar/utilscaladocsJim Lawson
Scaladocs for utils
2016-09-21Improved scaladoc in utils and friendsducky
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-21Make implicit clock name consistent (#288)Andrew Waterman
In the Chisel frontend, the implicit clock is named clock, but in the generated FIRRTL, it is named clk. There is no reason for this discrepancy, and yet fixing it is painful, as it will break test harnesses. Better to take the pain now than later. Resolves #258.
2016-09-15add optional directionality assumption to BiConnect.elemConnectJim Lawson
2016-09-15Revert "Add direction-only (no width) UInt factory method."Jim Lawson
This reverts commit 920f6dc168d8e486733666368c7e363065b685ee.
2016-09-15Add direction-only (no width) UInt factory method.Jim Lawson
2016-09-15Merge branch 'master' into gsdtJim Lawson
2016-09-09Convert to NotStrict for internal connection checks.Jim 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-02Add/cleanup UInt/SInt factory methods.Jim Lawson
2016-09-02Deprecate asBits; modify deprecation warnings accordinglyAndrew Waterman
2016-09-01Remove O(n^2) code in Vec.apply(Seq)Andrew Waterman
The O(n) type legality check was redundantly executed n times. D'oh.
2016-09-01Deprecate Vec.fill() offering Vec(Seq.fill()).Jim Lawson
2016-09-01Move connection implicits from Module constructor to connection methods.Jim Lawson
Eliminate builder compileOptions.
2016-08-31Check that Vecs have homogeneous typesAndrew Waterman
Vec[Element] can have heterogeneous widths. Vec[Aggregate] cannot (but possibly could relax this by stripping widths from constituent Elements and relying on width inference).
2016-08-30Merge branch 'master' into gsdtJim Lawson
2016-08-30Use correct case for Strict/NotStrict compile options.Jim Lawson
2016-08-29Check module-specific compile options.Jim Lawson
Import chisel3.NotStrict.CompileOptions in Chisel package. Add CompileOptions tests.
2016-08-29Rename CompileOptions implicit objects.Jim Lawson
2016-08-29Pass compileOptions as an implicit Module parameter.Jim Lawson
2016-08-29Rename individual compile options.Jim Lawson
Stricter values are "true". Current default (not strict) values are "false".
2016-08-25Use bulkConnect in Vec,fill if any (flattened) element of the Vec has a ↵Jim Lawson
direction associated with it. This impetus for this came out of discussion during the chisel meeting of 8/24/16 in response to errors running the chisel tutorial examples Adder test.
2016-08-24Per Chisel meeting.chick
signalName -> instanceName SignalId -> InstanceId Based on Stephen's comments on PR
2016-08-23Swap name of compileOption "assumeNoDirectionIsOutput" to ↵Jim Lawson
"assumeNoDirectionIsInput".
2016-08-21provides signal name methods for firrtl annotation and chisel testersDonggyu Kim
* signalName: returns the chirrtl name of the signal * pathName: returns the full path name of the signal from the top module * parentPathName: returns the full path of the signal's parent module instance from the top module * parentModName: returns the signal's parent **module(not instance)** name.