From a36ebc76ef3ae962102f85b0a1145e961e48509a Mon Sep 17 00:00:00 2001 From: Dolu1990 Date: Thu, 29 Dec 2016 16:46:23 +0100 Subject: [PATCH] better readme --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9c3a465..aa89149 100644 --- a/README.md +++ b/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