- Overview
- Documentation & Resources
- Prerequisites
- Project Structure
- Starting Your Project
- Development Flow
- Local Precheck
- Checklist for Shuttle Submission
OpenFrame is a ChipFoundry project template that provides only a bare padframe (no integrated SoC), giving you a 15 mm² user area and 44 GPIOs to design your own custom chip. You are free to implement your design and directly connect it to the available GPIOs throught the pins provided on the openframe wrapper.
For detailed hardware specifications and design guidelines, refer to the following official documents:
- ChipFoundry Marketplace: Access additional IP blocks, EDA tools, and shuttle services.
Ensure your environment meets the following requirements:
A successful OpenFrame project requires a specific directory layout for the automated tools to function:
| Directory | Description |
|---|---|
openlane/ |
Configuration files for hardening macros and the wrapper. |
verilog/rtl/ |
Source Verilog code for the project. |
verilog/gl/ |
Gate-level netlists (generated after hardening). |
verilog/dv/ |
Design Verification (cocotb and Verilog testbenches). |
ip/ |
IPM-installed IPs (for example CF_gpio_config). Track ip/dependencies.json only. |
gds/ |
Final GDSII binary files for fabrication. |
lef/ |
Library Exchange Format files for the macros. |
Create a new repository based on the openframe_user_project template and clone it to your local machine:
git clone <your-github-repo-URL>
pip install chipfoundry-cli
cd <project_name>Important
Run this first! Initialize your project configuration:
cf initThis creates .cf/project.json with project metadata. This must be run before any other commands.
If you are logged in (cf login) and this repo is not yet linked to the platform, cf init asks which platform action to take:
- Link to an existing platform project (the default). Use this when the design is already registered on the ChipFoundry platform. Init lists your projects and stores the one you pick in
.cf/project.json. Later commands, including submission, use that project. Linking is the default so a second platform project is not created by accident. - Create a new platform project. Use this the first time you register this design. Init asks you to pick a shuttle and creates a Draft project on the platform.
If you are not logged in, cf init only writes the local config. Log in, then run cf init again or cf link. You can change the link later with cf link and cf unlink.
Install the ChipFoundry CLI tool and set up the local environment (PDKs, OpenLane, and OpenFrame):
cf setupThe cf setup command installs:
- OpenFrame: The OpenFrame harness template.
- OpenLane: The RTL-to-GDS hardening flow.
- PDK: Skywater 130nm process design kit.
- Timing Scripts: For Static Timing Analysis (STA).
- IPM: The ChipFoundry IP Manager (
cf-ipm) used to install listed IPs.
IPs listed in ip/dependencies.json (for example CF_gpio_config) are not stored in git. After cloning, install them with:
ipm install-dep --ip-root ipThis is required for GPIO pad configuration and any other IPM-managed blocks in ip/.
Hardening is the process of synthesizing your RTL and performing Place & Route (P&R) to create a GDSII layout.
Create a subdirectory for each custom macro under openlane/ containing your config.json.
cf harden --list # List detected configurations
cf harden <macro_name> # Harden a specific macroInstantiate your module(s) in verilog/rtl/openframe_project_wrapper.v.
Update openlane/openframe_project_wrapper/config.json environment variables (VERILOG_FILES_BLACKBOX, EXTRA_LEFS, EXTRA_GDS_FILES) to point to your new macros.
Finalize the top-level user project:
cf harden openframe_project_wrapperConnecting to Power:
- Ensure your design is connected to power using the power pins on the wrapper.
- Use the
vccd1_connectionandvssd1_connectionmacros, which contain the necessary vias and nets for power connections.
We use cocotb for functional verification. Tests live under verilog/dv/cocotb/<test_name>/. The template includes hello_world and timer, which checks the example 7-segment clock (verilog/rtl/timer.v) on GPIOs 0–12.
cf verify --all does not discover tests on its own. It runs the list in verilog/dv/cocotb/user_proj_tests/user_proj_tests.yaml (and user_proj_tests_gl.yaml for gate-level). Add one entry there for each test you want included. Run cf setup (cocotb is installed as part of setup) before the first verify.
Run one RTL test:
cf verify timerRun one Gate-Level (GL) test:
cf verify timer --sim glRun every test in the list:
cf verify --all
cf verify --all --sim glBefore submitting your design for fabrication, run the local precheck to ensure it complies with all shuttle requirements:
cf precheckYou can also run specific checks or disable LVS:
cf precheck --disable-lvs # Skip LVS check
cf precheck --checks license --checks makefile # Run specific checks only- Top-level macro is named openframe_project_wrapper.
- Full Chip Simulation passes for both RTL and GL.
- Hardened Macros are LVS and DRC clean.
- openframe_project_wrapper matches the required pin order/template.
- Design is properly connected to power (vccd1/vssd1).
- Design passes the local cf precheck.
- Documentation (this README) is updated with project-specific details.
