sbt не распознает пакет. Вот ошибки:
[error] /home/xxx/src/main/scala/NoC.scala:12:8: value Grant is not a member of chisel3.Bundle
[error] io.Grant := io.Req & !io.Rls
[error] ^
[error] /home/xxx/src/main/scala/NoC.scala:12:20: value Req is not a member of chisel3.Bundle
[error] io.Grant := io.Req & !io.Rls
[error] ^
[error] /home/xxx/src/main/scala/NoC.scala:12:30: value Rls is not a member of chisel3.Bundle
[error] io.Grant := io.Req & !io.Rls
[error] ^
Воспроизводимый код:
//Priority Encoder
class P_Encoder() extends Module {
val io = IO(new Bundle {
val Req = Input(Bool()) //Requests
val Rls = Input(Bool()) //Releases
val Grant = Output(Bool()) //Grants
})
io.Grant := io.Req & !io.Rls
}
Возможно, я что-то упустил в грамматике, но пока не узнаю. Кто-нибудь может указать на это?