mirror of
https://github.com/SpinalHDL/SpinalTemplateSbt.git
synced 2025-10-24 16:38:43 +08:00
Compare commits
21 Commits
25-readme-
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
324e3dce52 | ||
|
|
976ceca3a3 | ||
|
|
2aefabbbad | ||
|
|
52417f9d8c | ||
|
|
1629b51311 | ||
|
|
fc9ca1ffd9 | ||
|
|
d7575b9a5d | ||
|
|
c2950be884 | ||
|
|
8456715b1c | ||
|
|
4b7dfe2d2b | ||
|
|
3b84555158 | ||
|
|
51249d4c6e | ||
|
|
17607424ab | ||
|
|
f3256ed4e1 | ||
|
|
766b80b3f1 | ||
|
|
f47ac2f65f | ||
|
|
9fe5ded40a | ||
|
|
2bf3acd857 | ||
|
|
a4eb1e65ef | ||
|
|
88fb4a7f49 | ||
|
|
950e9c2c72 |
@@ -1 +1 @@
|
||||
0.9.8
|
||||
0.11.11
|
||||
|
||||
@@ -13,7 +13,7 @@ More specifically:
|
||||
* instructions to get this repository locally are available in the [Create a SpinalHDL project](https://spinalhdl.github.io/SpinalDoc-RTD/master/SpinalHDL/Getting%20Started/Install%20and%20setup.html#create-a-spinalhdl-project) section.
|
||||
|
||||
|
||||
### TL;DR Things have arleady been set up in my environment, how do I run things to try SpinalHDL?
|
||||
### TL;DR Things have already been set up in my environment, how do I run things to try SpinalHDL?
|
||||
|
||||
Once in the `SpinalTemplateSbt` directory, when tools are installed, the commands below can be run to use `sbt`.
|
||||
|
||||
|
||||
@@ -1,14 +1,15 @@
|
||||
ThisBuild / version := "1.0"
|
||||
ThisBuild / scalaVersion := "2.12.16"
|
||||
ThisBuild / scalaVersion := "2.13.14"
|
||||
ThisBuild / organization := "org.example"
|
||||
|
||||
val spinalVersion = "1.7.3"
|
||||
val spinalVersion = "1.12.3"
|
||||
val spinalCore = "com.github.spinalhdl" %% "spinalhdl-core" % spinalVersion
|
||||
val spinalLib = "com.github.spinalhdl" %% "spinalhdl-lib" % spinalVersion
|
||||
val spinalIdslPlugin = compilerPlugin("com.github.spinalhdl" %% "spinalhdl-idsl-plugin" % spinalVersion)
|
||||
|
||||
lazy val projectname = (project in file("."))
|
||||
.settings(
|
||||
name := "myproject",
|
||||
Compile / scalaSource := baseDirectory.value / "hw" / "spinal",
|
||||
libraryDependencies ++= Seq(spinalCore, spinalLib, spinalIdslPlugin)
|
||||
)
|
||||
|
||||
4
build.sc
4
build.sc
@@ -1,9 +1,9 @@
|
||||
import mill._, scalalib._
|
||||
|
||||
val spinalVersion = "1.7.3"
|
||||
val spinalVersion = "1.12.3"
|
||||
|
||||
object projectname extends SbtModule {
|
||||
def scalaVersion = "2.12.16"
|
||||
def scalaVersion = "2.13.14"
|
||||
override def millSourcePath = os.pwd
|
||||
def sources = T.sources(
|
||||
millSourcePath / "hw" / "spinal"
|
||||
|
||||
@@ -9,7 +9,7 @@ object Config {
|
||||
defaultConfigForClockDomains = ClockDomainConfig(
|
||||
resetActiveLevel = HIGH
|
||||
),
|
||||
onlyStdLogicVectorAtTopLevelIo = true
|
||||
onlyStdLogicVectorAtTopLevelIo = false
|
||||
)
|
||||
|
||||
def sim = SimConfig.withConfig(spinal).withFstWave
|
||||
|
||||
@@ -1 +1 @@
|
||||
sbt.version=1.6.0
|
||||
sbt.version=1.10.2
|
||||
|
||||
Reference in New Issue
Block a user