Vec of memories

55 views
Skip to first unread message

Martin Schoeberl

unread,
Mar 20, 2013, 12:11:05 PM3/20/13
to chisel...@googlegroups.com
Hi all,

I would like to have a vector of memories to handle byte, halfword, and word access. Something like:

val mem = Vec(4) { Mem(size, seqRead = true) { Bits(width = 32) } }

The only issue is that the above code does not compile.
Any suggestion is highly appreciated.

Cheers,
Martin

Jonathan Bachrach

unread,
Mar 23, 2013, 2:21:41 AM3/23/13
to chisel...@googlegroups.com
this is not supported at this time.
use scala sequences to hold your memories and then build up wires to these memories using scala accesses.
> --
> You received this message because you are subscribed to the Google Groups "chisel-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to chisel-users...@googlegroups.com.
> To post to this group, send email to chisel...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Reply all
Reply to author
Forward
0 new messages