summaryrefslogtreecommitdiff
path: root/chiselFrontend/src/main/scala/chisel3
AgeCommit message (Collapse)Author
2017-01-27Have checkpoint report (and clear) non-fatal errors. (#376)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-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
2016-12-22Merge branch 'master' into fixedPointFromBitsgrebe
2016-12-19Merge branch 'master' into exceptionfixJim Lawson
2016-12-13Fix test.Paul Rigge
2016-12-13CheckpointPaul Rigge
2016-12-13Have FixedPoint use asFixedPoint in fromBits.Paul Rigge
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-12-01Fix spelling of "specified". (#392)Jim Lawson
2016-11-29Add feature warnings to build, fix feature warnings, fix some documentation ↵Richard Lin
(#387)
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-22Disallow chained apply (#380)Richard Lin
2016-11-21Fix toBits() deprecation message (to match what it effectively does). (#379)Jim Lawson
Data.toUInt() doesn't exist.
2016-11-21Remove deduplication from Chisel (#347)Donggyu
Remove modName from Module
2016-11-21Deboilerplate the implicit conversions, add support for long.Uducky
2016-11-21better styleducky
2016-11-21Refactor some codeducky
2016-11-21Remove () from as_Intducky
2016-11-21Restyle a lot of test code, mainly with regexducky
2016-11-21Restyle Bool constructors, move compatibility deprecations into ↵ducky
compatibility package object
2016-11-21SInt conversion finished, everything builds againducky
2016-11-21Refactor SInt WIPducky
2016-11-21Deprecate things, split more thingsducky
2016-11-21Break out deprecated literal constructors, refactor all the things!ducky
2016-11-21Fix open-open range specifier, remove dead code, restyle testsducky
2016-11-21simple test that range interpolator works with UInt factory methodchick
2016-11-21first attack on creating a range api for chisel3chick
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-17Eliminate some doc warningsducky
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-14Add SourceInfo.makeMessage to better use SourceInfo in error messagesJack
2016-11-10Replace "throw new Exception" with throwException (consistency).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-11-02Changed T to _T for generated names (#349)Adam Izraelevitz
Prefix temporary names with underscores so Verilator won't trace them Use verilator argument "--trace-underscore" if you want to trace these signals
2016-10-28Plug holes where defaultCompileOptions leaked inAndrew Waterman
defaultCompileOptions is convenient, but it frequently foils the compatibility layer by providing strict defaults rather than passing through the user's CompileOptions. This notably manifests for chiselCloneType, which has different behavior for chisel3 and Chisel. Ideally, we'd get rid of defaultCompileOptions within chisel3.core and only supply it to people who import chisel3._ (attn. @ucbjrl). That would statically prevent further regressions of this nature within the core. The change to Vec.truncateIndex seems extraneous, but I chose an alternate implementation rather than requiring compileOptions in another place.
2016-10-28Preserve legacy cloneType behavior in compatibility modeAndrew Waterman
f1507aa7cec86ca8f5de13ddc96fd046370dfe1d triggers a rocket-chip regression, because Chisel used to not preserve flippedness on cloneType.
2016-10-27Merge pull request #339 from ucb-bar/fix_seqmem_enableDonggyu
fix SeqMem's read port creation
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-23create SeqMems' read ports inside when statementDonggyu Kim
this helps firrtl to infer read enable signals
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