RapidWright IntelliJ Setup¶
- Make sure you have Java JDK 1.8 (or later) installed: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html Follow the instructions when running the downloaded executable. Add the
$(YOUR_JDK_INSTALL_LOCATION)/jdk1.x.x_x/binfolder to your
- Download Eclipse: https://www.jetbrains.com/idea/download/
- Install IntelliJ using the setup executable.
- Run IntelliJ, and navigate to the main application window.
- Create a new project within IntelliJ under File->New->Project from Existing Sources …
- Choose the location where RapidWright was installed from e.g. running the RapidWright Java-based installer:
Please note that e.g. com should be a subdirectory to the directory that is selected.
- Choose “Create the project from existing sources”. Click Next to accept:
- Specify a project name or use the default. Click Next to accept:
- The directory containing source files that are found by the import wizard will be marked. Click Next to accept:
- The jar libraries found by the import wizard will be listed. Click Next to accept:
- Module dependencies on the jars from the previous step will be marked. Click Next to accept:
- Please note for this step it is important to select the same version of Java that was used earlier, when the RapidWright command-line installer application was run. For example, on this particular machine, two options are shown below. Since Java version 10 was used on this machine, when running the command line installer, this was manually selected here.
- The import wizard will lastly search for frameworks, and it will return a message saying that no frameworks were detected. Click Finish to finalize the project.
- After the project is created, the project files should be visible within the left panel.
- Expand the source folder “com.xilinx.rapidwright” to view the provided example programs. It is recommended at this point to test that the project by running Build->Build project. This should complete without any errors, although depending on the version of Java used there might be some warning messages.
- It is also recommended to test the environment by running Lesson1 as below:
- The application will display terminal output within the Run panel as below:
- The IntelliJ environment should be correctly configured at this point, for creating new programs.