better readme

This commit is contained in:
Dolu1990
2016-12-29 16:46:23 +01:00
parent 41ea312215
commit a36ebc76ef

View File

@@ -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