VexRiscv icon indicating copy to clipboard operation
VexRiscv copied to clipboard

Support Scala 2.13

Open piegamesde opened this issue 2 years ago • 2 comments

As far as I can tell (and as far as I tried), compiling with Scala 2.13 is not supported.

piegamesde avatar Dec 15 '21 13:12 piegamesde

Right. Normaly, the process to make it possible is about :

  • creating Bool need to be with brackets "Bool()"
  • Fixing Seq by import scala.collection.Seq in everyfile where it is a issue.

I guess those two things should fix the majority of issues.

Dolu1990 avatar Dec 15 '21 13:12 Dolu1990

I just pushed in the master branch a fix to get scala 2.13 working. I merged it in dev too, but for dev, sbt hell make SpinalHDL using scala 2.11 instead XD

Maybe some magic in the https://github.com/lucidsoftware/sbt-cross could fix it for dev.

Dolu1990 avatar Dec 20 '21 08:12 Dolu1990