chisel-tutorial icon indicating copy to clipboard operation
chisel-tutorial copied to clipboard

how to run chisel-tutorial in the IntelliJ IDE with Scala and SBT plug-ins?

Open Ravenwater opened this issue 5 years ago • 4 comments

I imported the chisel-tutorial into IntelliJ and it recognized the sbt project. Inside the sbt console I can successfully run the builds and tests, but when I try to use the editor, the environment can't resolve the chisel3 import.

Being new to scala, sbt, chisel, and the IntelliJ scala/sbt environment, I need a little help finding the pieces in the environment that are not configured correctly.

Ravenwater avatar Jun 16 '19 19:06 Ravenwater

facing the same! please give some solution to this. How can we run this tutorial in the IntelliJ scala environment?

ShraddhaDevaiya avatar Oct 17 '19 09:10 ShraddhaDevaiya

Not super elegant, but you can use the terminal in the IntelliJ editor to type the sbt commands to run your code. So you can still use IntelliJ for editing (that's my default development setup).

There is also a sbt window available within IntelliJ that you can use, it just takes some time to start.

Cheers, Martin

On 17 Oct 2019, at 05:59, Shraddha Devaiya [email protected] wrote:

facing the same! please give some solution to this. How can we run this tutorial in the IntelliJ scala environment?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

schoeberl avatar Oct 17 '19 20:10 schoeberl

when I execute the command 'run' in sbt command window to build the definition, it is giving me an error like the following: [IJ]sbt:chisel-tutorial> run [warn] [warn] Note: Unresolved dependencies path:

[error] stack trace is suppressed; run 'last update' for the full output [error] (update) sbt.librarymanagement.ResolveException: Error downloading edu.berkeley.cs:chisel-iotesters_2.13:1.2.+ [error] No version found for [1.2,1.2.max] in [error] No version found for [1.2,1.2.max] in

[error] not found: C:\Users\Pvips_Admin.ivy2\local\edu.berkeley.cs\chisel-iotesters_2.13 [error] not found: https://repo1.maven.org/maven2/edu/berkeley/cs/chisel-iotesters_2.13/maven-metadata.xml [error] not found: https://oss.sonatype.org/content/repositories/snapshots/edu/berkeley/cs/chisel-iotesters_2.13/maven-metadata.xml [error] not found: https://oss.sonatype.org/content/repositories/releases/edu/berkeley/cs/chisel-iotesters_2.13/maven-metadata.xml [error] Error downloading edu.berkeley.cs:chisel3_2.13:3.1.+ [error] No version found for [3.1,3.1.max] in [error] No version found for [3.1,3.1.max] in [error] not found: C:\Users\Pvips_Admin.ivy2\local\edu.berkeley.cs\chisel3_2.13 [error] not found: https://repo1.maven.org/maven2/edu/berkeley/cs/chisel3_2.13/maven-metadata.xml [error] not found: https://oss.sonatype.org/content/repositories/snapshots/edu/berkeley/cs/chisel3_2.13/maven-metadata.xml [error] not found: https://oss.sonatype.org/content/repositories/releases/edu/berkeley/cs/chisel3_2.13/maven-metadata.xml [error] Total time: 9 s, completed 18-Oct-2019, 11:21:31 am [IJ]sbt:chisel-tutorial>

so what can I do for this?

ShraddhaDevaiya avatar Oct 18 '19 05:10 ShraddhaDevaiya

Hello, It is working fine now. there was one JDK version error, it is supported JDK 11.0 and I had configured JDK 13.0.

ShraddhaDevaiya avatar Oct 31 '19 09:10 ShraddhaDevaiya