summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-08-24Per Chisel meeting.chick
signalName -> instanceName SignalId -> InstanceId Based on Stephen's comments on PR
2016-08-21AnnotatingExample:chick
Removed extraneous logic Renamed doStuff to buildAnnotatedCircuit Removed println's
2016-08-21Add AnnotationSpec file which provides an example of a way to implement ↵chick
generation of annotations in a chisel circuit that could be used by custom firrtl passes This spec also shows and tests in a limited way the new API of .signalName, .pathName, parentModName which allows access to the various path information of a chisel component (something that subclasses SignalId, most prominently SubClasses of Data and Module
2016-08-21Add annotating example to test new signal name apichick
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.
2016-08-16Add component to signature.Jim Lawson
2016-08-16Provide public SignalID trait to be used to conjure up a signal identifier.Jim Lawson
2016-08-15Make "def width" a private API; expose isWidthKnown instead (#257)Andrew Waterman
* Make "def width" a private API; expose isWidthKnown instead Resolves #256. Since width was used to determine whether getWidth would succeed, I added def isWidthKnown: Boolean but another option would be to expose something like def widthOption: Option[Int] ...thoughts? * Document getWidth/isWidthKnown * Add widthOption for more idiomatic Scala manipulation of widths
2016-08-09Support Module name overrides with "override def desiredName"Andrew Waterman
The API allowed this before, but not safely, as users could create name conflicts. This exposes the pre-deduplication/sanitization naming API, and closes the other one.
2016-08-09Legalize identifier names before printingAndrew Waterman
It's not entirely clear what the FIRRTL implementation supports, so I'm using the ANSI C requirements for the time being.
2016-08-09counter(inc,n) example should reflect actual use (#252)Colin Schmidt
2016-07-31Remove deprecated FileSystemUtilitiesAndrew Waterman
This has been deprecated for a long time now (and really shouldn't have existed to begin with).
2016-07-31Expose asUInt from DataAndrew Waterman
Deprecating toBits removes the capability to cast an arbitrary type to UInt. While it's still possible to do so using asBits.asUInt, this creates boilerplate. (asBits is almost never useful itself.)
2016-07-31Fix two deprecation warningsAndrew Waterman
2016-07-20Generate better names for nodes (#190)Jack Koenig
For Chisel nodes defined in Module class-level values of type Option or Iterable, we can still use reflection to assign names based on the name of the value. This works for arbitrary nesting of Option and Iterable so long as the innermost type is HasId. Note that this excludes Maps which always have an innermost type of Tuple2[_,_].
2016-07-15Improve PopCount implementationAndrew Waterman
Clean up Scala code, and use +& to generate a lot less FIRRTL
2016-07-11bitpat should keep the width of uint (#232)Donggyu
2016-07-07Don't check GCD result before sending it a requestAndrew Waterman
2016-07-07Improve QoR for Log2Andrew Waterman
For reasonable circuit delay, need to divide & conquer.
2016-07-07Improve Fill code generationAndrew Waterman
2016-07-07Correct erroneous Log2 documentationAndrew Waterman
2016-07-07Avoid needlessly creating VecsAndrew Waterman
2016-07-01Reflectively name Module fields declared in superclassesAndrew Waterman
Closes #229 h/t @sdtwigg @davidbiancolin
2016-06-28Merge pull request #224 from ucb-bar/renamechisel3Richard Lin
renamechisel3 - "chisel" -> "chisel3"
2016-06-28Merge branch 'master' into renamechisel3Jim Lawson
2016-06-27Guard firrtl stop, fixing pipelined resetAndrew Waterman
2016-06-24Merge branch 'master' into renamechisel3Jim Lawson
2016-06-23Expose FIRRTL stop constructAndrew Waterman
2016-06-22Merge branch 'master' into renamechisel3Jim Lawson
2016-06-20fix BlackBox setRefs to correctly handle arbitrarily nested bundles as ports ↵Howard Mao
(#223)
2016-06-20make sure MuxCase and MuxLookup can take all subclasses of Data (#222)Howard Mao
2016-06-20Rename "package", "import", and explicit references to "chisel3".Jim Lawson
2016-06-20Rename chisel3 package.Jim Lawson
2016-06-15Generate better node names when names collide (#221)Andrew Waterman
Rather than using a global counter, memoize the last returned value for colliding names to generate smaller sequence numbers.
2016-06-08Merge pull request #197 from ucb-bar/lowercaseChiselRichard Lin
Rename package Chisel to chisel, add Chisel package for compatibility
2016-06-08Move deprecated debug into compatibilityducky
2016-06-08Package split chisel coreducky
2016-06-08Move chisel/... to chisel/core/..., make chisel/compatibility ↵ducky
package/folder, move more things into utils
2016-06-08Move utils into utilsducky
2016-06-08Add implicit xToLiteral, add Element, use internal package objectducky
2016-06-08Rename Chisel -> chisel in testsducky
2016-06-08Rename packages to lowercase chisel, add compatibility layerducky
2016-06-08For Module instances we haven't named, suggest the Module class nameAndrew Waterman
2016-06-06Merge pull request #211 from ucb-bar/front_end_dependencyJim Lawson
Move more publishing definitions into commonSettings.
2016-06-06Move more publishing definitions into commonSettings.Jim Lawson
This should have been part of PR #194.
2016-06-03Merge pull request #194 from ucb-bar/front_end_dependencyJim Lawson
Add a hack to build.sbt to allow local publishing We're merging this despite the failing tests (Jenkins ghprb isn't communicating with GitHub following security and authentication updates). We'd prefer to package all the sbt subprojects in a single jar, but current attempts to do so fail. See #208.
2016-06-03Update publishing dependenciesJim Lawson
Until we sort out how to include the subproject classes in a single jar file, we need to explicitly publish all subprojects.
2016-06-03Merge branch 'master' into front_end_dependencyJim Lawson
2016-06-01Fix a fairly serious bug whereby Vec's could incorrectly compare as equal (#204)Wesley W. Terpstra
* chiselTests: include an example of two empty Vectors killing FIRRTL * Aggregate: fix a bug whereby Vec[T] was using equals/hashCode of Seq In Chisel, two vectors are NOT equal just if their contents are equal. For example, two empty vectors should not be considered equal. This patch makes Vec use the HasId._id for equality like other Chisel types. Without this fix, Bundle.namedElts.seen: HashSet[Data]() will eliminate one of the named vectors and emit bad IR.
2016-05-31Remove unsafe implicit conversions from BitPatducky