commit | 4376ed5acbfc0fe80e2d2f998e091af18fc2bb1a | [log] [tgz] |
---|---|---|
author | dineshannayya <dinesh.annayya@gmail.com> | Tue Nov 23 14:02:30 2021 +0530 |
committer | dineshannayya <dinesh.annayya@gmail.com> | Tue Nov 23 14:02:30 2021 +0530 |
tree | f2df07cc2431c5e4d9ebce78d49197c922d99d59 | |
parent | 59a04a6e6cb7af4a528b180a2d19ec4dbafa3d3d [diff] |
Timing clean up
MBIST Controller 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.
MBIST is a self-testing and repair mechanism which tests the memories through an effective set of algorithms to detect possibly all the faults that could be present inside a typical memory cell whether it is stuck-at (SAF), transition delay faults (TDF), coupling (CF) or neighborhood pattern sensitive faults (NPSF). This project uses only open source tool set for simulation,synthesis and backend tools. The SOC flow follow the openlane methodology and SOC environment is compatible with efabless/carvel methodology.
* Open sourced under Apache-2.0 License (see LICENSE file) - unrestricted commercial use allowed. * Mbist controller with memory repair supported * Currently only Row Redudency is supported * 4 Address location memory repair reported * 2KB SRAM * Wishbone compatible design * Written in System Verilog * Open-source tool set * simulation - iverilog * synthesis - yosys * backend/sta - openlane tool set * Verification suite provided.
sudo apt update sudo apt-get install apt-transport-https curl rtificates -agent software-properties-common curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable" sudo apt update apt-cache policy docker-ce sudo apt install docker-ce #Add User Name to docker sudo usermod -aG docker <your user name> # Reboot the system to enable the docker setup
git submodule init
git submodule update
git clone https://github.com/The-OpenROAD-Project/OpenLane.git
export CARAVEL_ROOT=<Carvel Installed Path> export OPENLANE_ROOT=<OpenLane Installed Path> export OPENLANE_IMAGE_NAME=efabless/openlane:latest export PDK_ROOT=<PDK Installed PATH> export PDK_PATH=<PDK Install Path>/sky130A
source ~/.bashrc cd OpenLane make pdk
The simulation package includes the following tests:
Examples:
make verify-wb_port make verify-user_mbist_test1 make verify-wb_port SIM=RTL DUMP=OFF make verify-wb_port SIM=RTL DUMP=ON make verify-user_mbist_test1 SIM=RTL DUMP=OFF make verify-user_mbist_test1 SIM=RTL DUMP=ON
Mbist Controller 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 ChecksReport an issue: https://github.com/dineshannayya/mbist_ctrl/issues