镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

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

Open

Description

@Ravenwater

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.

Activity

  1. ShraddhaDevaiya commented on Oct 17, 2019

    @ShraddhaDevaiya

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

  2. schoeberl commented on Oct 17, 2019

    @schoeberl
    Member
  3. ShraddhaDevaiya commented on Oct 18, 2019

    @ShraddhaDevaiya

    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?

  4. ShraddhaDevaiya commented on Oct 31, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions