YiFive SOC Permission to use, copy, modify, and/or distribute this soc for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOC IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOC INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOC.
YiFive is a 32 bit RISC V based SOC design targeted for efebless Shuttle program. This project uses only open source tool set for simulation,synthesis and backend tools. The SOC flow follow the openlane methodology and SOC enviornment is compatible with efebless/carvel methodology.
|verilog | ├─ rtl | | |- syntacore | | | |─ scr1 | | | | ├─ **docs** | **SCR1 documentation** | | | | | ├─ scr1_eas.pdf | SCR1 External Architecture Specification | | | | | └─ scr1_um.pdf | SCR1 User Manual | | | | |─ **src** | **SCR1 RTL source and testbench files** | | | | | ├─ includes | Header files | | | | | ├─ core | Core top source files | | | | | ├─ top | Cluster source files | | | | |─ **synth** | **SCR1 RTL Synthesis files ** | | |- sdram_ctrl | | | |- **src** | | | | |- **docs** | **SDRAM Controller Documentation** | | | | | |- sdram_controller_specs.pdf | SDRAM Controller Design Specification | | | | | | | | | |- core | SDRAM Core integration source files | | | | |- defs | SDRAM Core defines | | | | |- top | SDRAM Top integration source files | | | | |- wb2sdrc | SDRAM Wishbone source files | | |- spi_master | | | |- src | Qard SPI Master Source files | | |-wb_interconnect | | | |- src | 3x4 Wishbone Interconnect | | |- digital_core | | | |- src | Digital core Source files | | |- lib | common library source files | |- dv | | |- la_test1 | carevel LA test | | |- risc_boot | user core risc boot test | | |- wb_port | user wishbone test | | |- user_risc_boot | user standalone test without carevel soc | |- gl | ** GLS Source files ** | |- openlane |- sdram | sdram openlane scripts |- spi_master | spi_master openlane scripts |- syntacore | Risc Core openlane scripts |- yifive | yifive digital core openlane scripts |- user_project_wrapper | carvel user project wrapper
export STD_CELL_LIBRARY=<Library name, i.e. sky130_fd_sc_ls> export CARAVEL_ROOT=<Carvel Installed Path> export OPENLANE_ROOT=<OpenLane Installed Path> export PDK_ROOT=<PDK Installed Path> export IMAGE_NAME=efabless/openlane:rc7
export CARAVEL_ROOT= export OPENLANE_ROOT= export PDK_ROOT= export IMAGE_NAME=efabless/openlane:rc7
The simulation package includes the following tests:
Examples:
make verify-wb_port make verify-risc_hello
Soc flow uses Openlane tool sets.
yosys
- Performs RTL synthesisabc
- Performs technology mappingOpenSTA
- Pefroms static timing analysis on the resulting netlist to generate timing reportsinit_fp
- Defines the core area for the macro as well as the rows (used for placement) and the tracks (used for routing)ioplacer
- Places the macro input and output portspdn
- Generates the power distribution networktapcell
- Inserts welltap and decap cells in the floorplanRePLace
- Performs global placementResizer
- Performs optional optimizations on the designOpenPhySyn
- Performs timing optimizations on the designOpenDP
- Perfroms detailed placement to legalize the globally placed componentsTritonCTS
- Synthesizes the clock distribution network (the clock tree)FastRoute
- Performs global routing to generate a guide file for the detailed routerCU-GR
- Another option for performing global routing.TritonRoute
- Performs detailed routingSPEF-Extractor
- Performs SPEF extractionMagic
- Streams out the final GDSII layout file from the routed defKlayout
- Streams out the final GDSII layout file from the routed def as a back-upMagic
- Performs DRC Checks & Antenna ChecksKlayout
- Performs DRC ChecksNetgen
- Performs LVS ChecksCVC
- Performs Circuit Validity ChecksFollowing tools in openlane docker is older version, we need to update these tool set.
Report an issue: https://github.com/dineshannayya/yifive_r0/issues