RapidWright IntelliJ Setup

Step-by-Step Instructions

  1. 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/bin folder to your PATH environment variable.
  2. Download Eclipse: https://www.jetbrains.com/idea/download/
  3. Install IntelliJ using the setup executable.
  4. Run IntelliJ, and navigate to the main application window.
  5. Create a new project within IntelliJ under File->New->Project from Existing Sources …
  1. 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.

  1. Choose “Create the project from existing sources”. Click Next to accept:
  1. Specify a project name or use the default. Click Next to accept:
  1. The directory containing source files that are found by the import wizard will be marked. Click Next to accept:
  1. The jar libraries found by the import wizard will be listed. Click Next to accept:
  1. Module dependencies on the jars from the previous step will be marked. Click Next to accept:
  1. 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.
  1. 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.
  1. After the project is created, the project files should be visible within the left panel.
  1. 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.
  1. It is also recommended to test the environment by running Lesson1 as below:
  1. The application will display terminal output within the Run panel as below:
  1. The IntelliJ environment should be correctly configured at this point, for creating new programs.