SpinalHDL is:
SpinalHDL is simply a set of Scala libraries. Include them into your project and you're good to go! If you're unsure about what to do, simply clone one of our example projects (see links above).
scalaVersion := "2.11.12"
libraryDependencies ++= Seq(
"com.github.spinalhdl" % "spinalhdl-core_2.11" % "latest.release",
"com.github.spinalhdl" % "spinalhdl-lib_2.11" % "latest.release",
compilerPlugin("com.github.spinalhdl" % "spinalhdl-idsl-plugin_2.11" % "latest.release")
)
You can force SBT to pick a specific SpinalHDL version by replacing latest.release
with a specific version.
See the SpinalHDL SBT Template project's build.sbt
file for a full SBT example.
repositories {
mavenCentral()
}
dependencies {
compile group: 'com.github.spinalhdl', name: 'spinalhdl-core_2.11', version: '1.3.6'
compile group: 'com.github.spinalhdl', name: 'spinalhdl-lib_2.11', version: '1.3.6'
}
object MySpinalModule extends ScalaModule {
def scalaVersion = "2.11.12"
def ivyDeps = Agg(
ivy"com.github.spinalhdl::spinalhdl-core:1.4.1",
ivy"com.github.spinalhdl::spinalhdl-lib:1.4.1",
)
def scalacPluginIvyDeps = Agg(ivy"com.github.spinalhdl::spinalhdl-idsl-plugin:1.4.1")
}
https://oss.sonatype.org/content/groups/public/com/github/spinalhdl/spinalhdl-core_2.11/
https://oss.sonatype.org/content/groups/public/com/github/spinalhdl/spinalhdl-lib_2.11/
The files are available on Maven as well.
https://github.com/SpinalHDL/SpinalHDL/tags
The SpinalHDL core is using the LGPL3 license while SpinalHDL lib is using the MIT license. That's for the formalities. But there are some practical statements implied by those licenses:
Your freedoms are:
Your obligations (and my wish) are:
Also, SpinalHDL is provided "as is", without warranty of any kind.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。