no cloneType for Mem?
<p>I'm wrapping a block of Mem in a fairly generic module called "bank" and instantiating it in a Vec as follows:</p>

<p>val rams = Vec.fill( 100 ) { Module( new bank ).io }</p>

<p>So far so good.  I'm running into problems when I connect the signals.  If I connect the vector of modules' signals directly to vectors of signals, like so:</p>

<pre><code>rams(i).in := io.ins(i)
io.outs(i) := rams(i).out
</code></pre>

<p>...and so forth, I get no errors.</p>

<p>If I connect them in a non-trivial pattern, however, such as to a crossbar, I start getting a weird error that appears to refer to the Mem wrapper I call "bank":</p>

<p>"Parameterized Bundle class ascenium.bank$$anon$1 needs cloneType method."</p>

<p>This error is specifically a Chisel error.  Can anybody tells me what it means and how to fix it?</p>

<p>I can provide source code if need be.</p>