SpinalHDL icon indicating copy to clipboard operation
SpinalHDL copied to clipboard

How to update spinal to the latest version for existing projects

Open Aaronwangyilun opened this issue 3 years ago • 4 comments

I am a beginner, I would like to ask how to update spinal to the latest version for existing projects.

Aaronwangyilun avatar Mar 19 '22 03:03 Aaronwangyilun

If you starts your project from SpinalTemplateSbt, find build.sbt The version of spinal is specified by a variable in that file e.g. val spinalVersion = "1.6.4" To update spinal to the latest version, simply change it to the lastest

tanhongze avatar Mar 21 '22 06:03 tanhongze

Thanks a lot!~now I am using IDEA, can I only regenerate the new project with the new version of build.sbt and include the code in it?

If you starts your project from SpinalTemplateSbt, find build.sbt The version of spinal is specified by a variable in that file e.g. val spinalVersion = "1.6.4" To update spinal to the latest version, simply change it to the lastest

Aaronwangyilun avatar Mar 25 '22 07:03 Aaronwangyilun

If you starts your project from SpinalTemplateSbt, find build.sbt The version of spinal is specified by a variable in that file e.g. val spinalVersion = "1.6.4" To update spinal to the latest version, simply change it to the lastest

Thank you very much! I modified the build.sbt file and updated it, and I succeeded

Aaronwangyilun avatar Mar 25 '22 07:03 Aaronwangyilun

Thanks a lot!~now I am using IDEA, can I only regenerate the new project with the new version of build.sbt and include the code in it?

So normaly, you only need to do a refresh: view/tool windows/sbt and then => image

Dolu1990 avatar Mar 25 '22 10:03 Dolu1990