I am learing Chisel3.
I have some questions about the codes.
val myVec = Wire(Vec(5, SInt(width = 23))) // Vector of 5 23-bit signed integers.
I thought if I declare a vector and I need to write "Wire",but I was wrong when I saw these codes.
class BigBundle extends Bundle {
val myVec = Vec(5, SInt(width = 23)) // Vector of 5 23-bit signed integers.
val flag = Bool()
// Previously defined bundle.
val f = new MyFloat
}
It punchs on my face suddenly,so I want to know when do I use "Wire"?
Thanks in advance.