Ubuntu安装SpinalHDL

sudo apt-get install openjdk-8-jdk
sudo apt-get install scala
echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 642AC823
sudo apt-get update
sudo apt-get install sbt
git clone https://github.com/SpinalHDL/SpinalTemplateSbt.git SpinalTemplateSbt
cd SpinalTemplateSbt
sbt run # select "mylib.MyTopLevelVhdl" in the menu
ls MyTopLevel.vhd
————————————————
版权声明:本文为CSDN博主「夏天望月兔」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/AS7062031/article/details/110850892

 

SBT切换国内源:

 

 ~/.sbt 路径下,新建一个repositories文件(可以覆盖sbt的镜像源)

添加以下内容:

[repositories]
local
huaweicloud-maven: https://repo.huaweicloud.com/repository/maven/
maven-central: https://repo1.maven.org/maven2/
sbt-plugin-repo: https://repo.scala-sbt.org/scalasbt/sbt-plugin-releases, [organization]/[module]/(scala_[scalaVersion]/)(sbt_[sbtVersion]/)[revision]/[type]s/[artifact](-[classifier]).[ext]
————————————————
版权声明:本文为CSDN博主「大海Git」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/binbinczsohu/article/details/105289456

 

下载SpinalHDLTemplate:

git clone https://github.com/SpinalHDL/SpinalTemplateSbt.git

下载完成后,在SpinalTemplateSbt目录下输入sbt run

 

Ubuntu安装SpinalHDL

上一篇:[vim]vim 在win下乱码解决


下一篇:mac cmake编译libuv