mirror of
https://github.com/SpinalHDL/SpinalTemplateSbt.git
synced 2025-10-22 23:58:44 +08:00
better readme
This commit is contained in:
17
README.md
17
README.md
@@ -7,7 +7,6 @@ This repository is a base SBT project added to help non Scala/SBT native people
|
||||
You need to install :
|
||||
|
||||
- Java JDK
|
||||
- Scala
|
||||
- SBT
|
||||
|
||||
And do the following :
|
||||
@@ -15,6 +14,22 @@ And do the following :
|
||||
- Clone or download this repository.
|
||||
- Open a terminal in the root of it and run "sbt run". At the first execution, the process could take some seconds
|
||||
|
||||
Which give on a Debian distribution the following commands :
|
||||
|
||||
```sh
|
||||
sudo apt-get install openjdk-7-jdk
|
||||
|
||||
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 2EE0EA64E40A89B84B2DF73499E82A75642AC823
|
||||
sudo apt-get update
|
||||
sudo apt-get install sbt
|
||||
|
||||
git clone https://github.com/SpinalHDL/SpinalBaseProject.git
|
||||
cd SpinalBaseProject
|
||||
|
||||
sbt run
|
||||
```
|
||||
|
||||
Normally, this command must generate output files MyTopLevel.vhd.
|
||||
The top level spinal code is defined into src\main\scala\MyCode
|
||||
|
||||
|
Reference in New Issue
Block a user