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
To use Cat(x,y) and Fill(x,y) one need to import chisel3.utils._ besides import chisel3._
It's demonstrated in examples so it's not critical issue but I believe it should be stated in Chisel Tutorial in explicit way.
When you are reading a tutorial you assume that you don't need to do anything special to be able to use all Chisel operators ( Cat(x,y) and Fill(x,y) are mentioned in section "5. Builtin Operators" and in "Table 1: Chisel operators on builtin data types" )
After reading Scala documentation I expected that import chisel3._ would automatically import chisel3.utils._ but it seems to be wrong. If you don't import chisel3.utils._ while using Cat(x,y) or Fill(x,y) you will get compilation error: not found: value Cat or not found: value Fill
The text was updated successfully, but these errors were encountered:
To use
Cat(x,y)
andFill(x,y)
one need toimport chisel3.utils._
besidesimport chisel3._
It's demonstrated in examples so it's not critical issue but I believe it should be stated in Chisel Tutorial in explicit way.
When you are reading a tutorial you assume that you don't need to do anything special to be able to use all Chisel operators (
Cat(x,y)
andFill(x,y)
are mentioned in section "5. Builtin Operators" and in "Table 1: Chisel operators on builtin data types" )Chisel Manual and Chisel CheatSheet doesn't mention it either.
Chisel 3 Wiki mentions only
import chisel3._
in xviii and xix.After reading Scala documentation I expected that
import chisel3._
would automatically importchisel3.utils._
but it seems to be wrong. If you don't importchisel3.utils._
while usingCat(x,y)
orFill(x,y)
you will get compilation error:not found: value Cat
ornot found: value Fill
The text was updated successfully, but these errors were encountered: