You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
val io = IO(new Bundle {
val i = Input(new Interface(genShort, genLong, includeR, p))
val o = Output(new Interface(genShort, genLong, includeR, p)) })
The particular reflection error is this:
[info] Cause: java.lang.reflect.InvocationTargetException:
[info] at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
[info] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[info] at java.lang.reflect.Method.invoke(Method.java:606)
[info] at chisel3.core.Bundle.chisel3$core$Bundle$$getBundleField(Aggregate.scala:443)
[info] at chisel3.core.Bundle$$anonfun$elements$1.apply(Aggregate.scala:428)
[info] at chisel3.core.Bundle$$anonfun$elements$1.apply(Aggregate.scala:427)
[info] at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:33)
[info] at scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:35)
[info] at chisel3.core.Bundle.elements$lzycompute(Aggregate.scala:427)
[info] at chisel3.core.Bundle.elements(Aggregate.scala:424)
The text was updated successfully, but these errors were encountered:
OK, @sdtwigg helped me debug (and might PR a change later?) It was unhappy that I had a parameter called "width"... getPublicFields of the bundle resulted in
WrappedArray(public chisel3.core.FixedPoint SimpleTB.DataTypeBundle.f(), public chisel3.core.SInt SimpleTB.DataTypeBundle.s(), public chisel3.core.UInt SimpleTB.DataTypeBundle.u(), public chisel3.internal.firrtl.Width chisel3.core.Aggregate.width())
[On latest Chisel, FIRRTL, etc.]
Can anyone see if there's anything wrong with the code here? https://github.com/ucb-art/Chisel3DSPExample/blob/master/src/test/scala/UsefulExamples/SimpleTBwGenTypeOption.scala
Relevant code:
TestParams is a case class.
The IO inside my module looks like this:
The particular reflection error is this:
The text was updated successfully, but these errors were encountered: