diff --git a/.gitignore b/.gitignore index 7e2b277..2fc0a7a 100644 --- a/.gitignore +++ b/.gitignore @@ -20,9 +20,15 @@ project/plugins/project/ .idea out +# Eclipse +bin/ +.classpath +.project +.settings #User *.vhd *.cf *.json !tester/src/test/resources/*.vhd + diff --git a/README.md b/README.md index 9fb669f..9c3a465 100644 --- a/README.md +++ b/README.md @@ -36,3 +36,23 @@ And do the following : - In the project (Intellij project GUI), right click on src/main/scala/MyCode/TopLeve.scala and select "Run MyTopLevel" Normally, this must generate output files MyTopLevel.vhd. + +## Basics, with Eclipse and its scala plugin + +You need to install : + +- Java JDK +- Scala +- SBT +- Eclipse (tested with Mars.2 - 4.5.2) +- [Sacla plugin](http://scala-ide.org/) (tested with 4.4.1) + +And do the following : + +- Clone or download this repository. +- Run ```sbt eclipse``` in the ```SpinalBaseProject``` directory. +- Import the eclipse project from eclipse. +- In the project (eclips project GUI), right click on src/main/scala/MyCode/TopLeve.scala and select "Run as" > "Scala application" + +Normally, this must generate output file ```MyTopLevel.vhd```. + diff --git a/project/plugin.sbt b/project/plugin.sbt deleted file mode 100644 index e69de29..0000000 diff --git a/project/plugins.sbt b/project/plugins.sbt new file mode 100644 index 0000000..ef6ceea --- /dev/null +++ b/project/plugins.sbt @@ -0,0 +1,2 @@ +addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "4.0.0") +