Creating Your First Open MPW or chipIgnite Project

The article show you how to create your first Caravel project ready for the Open MPW or chipIgnite Shuttles using OpenLane on the Efabless platform.

If you haven’t already, register on the Efabless site using the button in the top right on the home page. You will be asked to use an existing LinkedIn, Google or Github account for authentication on the platform.

After logging in, navigate to the MARKETPLACE by selecting the button in the upper menu on the home page.

At the top of the list on the ‘SoC Platform’ tab, you should find CARAVEL USER PROJECT. Click on the title or MORE INFO to get the detailed page.

Screen-Shot-2021-05-31-at-10.30.48-AM-1536x1404.png

Screen-Shot-2021-05-31-at-10.33.30-AM-1-1536x1404.png

From the detailed page, select the ‘Create Open Galaxy Workspace’ button, and provide a name for your new workspace in the dialog. This will create a copy of the design files for Caravel User Project in a new workspace accessible from a virtual desktop on the platform. This will happen in the background and you will see a green notification message when the copy has finished.

To get to the desktop, navigate to the DASHBOARD using the blue button in the upper menu.

Screen-Shot-2021-05-31-at-10.22.35-AM-1-1536x1404.png

Select MY WORKSPACE and you should see the name of your new workspace listed on the Open Galaxy tab. At the top, select the Launch Open Galaxy link to launch you desktop.

Screen-Shot-2021-05-31-at-11.09.47-AM-1536x1404.png

The first time you launch you Open Galaxy Desktop, the system will spin up your new desktop on the system. You will get redirected to a notifications page and will see a new message when you desktop is ready to use. You then launch from the notification message or go back to the MY WORKSPACE page.

Once you have accessed you desktop, you should see a new tab in your browser similar to the following. Right click anywhere in the desktop to create a terminal window.

Screen-Shot-2021-05-31-at-11.18.42-AM-1536x1404.png

Screen-Shot-2021-05-31-at-11.20.27-AM-1536x1404.png

Clicking in the lower left on the Efabless icon will also bring up the Open Galaxy project manager.

From the terminal window, change directory to the new workspace / project you created by going to parent directory -> design -> [ workspace name ].

Screen-Shot-2021-05-31-at-11.25.41-AM-1536x967.png

There are two macros in Caravel User Project to be hardened: user_proj_example and user_project_wrapper.

Note – you do NOT need to make openlane or make pdk. Both of these are pre-built and exist on the platform already.

To run OpenLane to harden the first macro, type ‘make user_proj_example‘ from the project root directory. The make target will issue a command called ‘openlane-cli’ to submit the job to the background job manager to execute.

Screen-Shot-2021-05-31-at-11.29.52-AM-1536x965.png

It will wait for the job to start which takes about 5-6 minutes and then tail the log output once it begans.

Wait for the job to complete successfully and then press ‘ctl-c’ to stop tailing the log output. Results from the job can be found under ./openlane/user_proj_example/openlane/runs/user_project_example/.

Screen-Shot-2021-05-31-at-11.46.23-AM-1536x973.png

After hardening user_proj_example, you need to copy the newly generated files from the job results to the target directories for the project. To do this, type ‘make migrate‘.

Screen-Shot-2021-05-31-at-11.47.38-AM-1536x965.png

You will see some errors for missing files related to ‘user_project_wrapper’.

Next, you need to harden user_project_wrapper. To do so, run ‘make user_project_wrapper‘ from the project root directory. You will see the same output waiting for the job to start, and then tailing the log output.

Screen-Shot-2021-05-31-at-12.05.21-PM-1536x968.png

Once the OpenLane job completes, you will need to migrate the generated files to the target directories as before. Run ‘make migrate‘ to copy the files.

Screen-Shot-2021-05-31-at-12.06.15-PM-1536x966.png

You can see the final GDS using klayout. From the root directory, type ‘klayout gds/user_project_wrapper.gds‘.

Screen-Shot-2021-05-31-at-12.09.25-PM-1-1536x1262.jpg

Note – you can select the ‘sky130A’ tech file in the menu at the top as shown to display the correct layer mapping. Also increase the hierarchy level (e.g. 20) to see all cells in the design.

To learn more about Caravel, Caravel User Project, or OpenLane, see one the following links.

Caravel User Project

Caravel

OpenLane

SkyWater Open Source PDK