Git Product home page Git Product logo

caravel_timing_analysis-old-caravel-version's Introduction

AS efabless/caravel IS BEING REPLACED WITH efabless/caravel_openframe THIS REPOSITORY'S TEST DON'T APPLY ANYMORE

Caravel timing analysis test

Environment variables needed

PDK_ROOT

OPENLANE_ROOT

run the default empty caravel with no user project inside

make caravel_sta-empty

run some custom user project

make caravel_sta-[NAME_OF_PROJECT_FOLDER]

run caravel .spef generation only

make caravel_rcx

create a new user project

  • Create the folder /user_projects/[NAME_OF_PROJECT_FOLDER] (you can duplicate user_projects/empty to use as a template)
  • Add the extra verilog and spef files you need to /user_projects/[NAME_OF_PROJECT_FOLDER]
  • Create or modify the script file /user_projects/[NAME_OF_PROJECT_FOLDER]/sta_caravel.tcl to use the extra files
  • The folder /user_projects/[NAME_OF_PROJECT_FOLDER] is going to be mapped to /project_files, so use that path in the .tcl script to refer to your extra files (ej: read_verilog /project_files/verilog/user_project_wrapper.v)
  • Create or modify the SDC file /user_projects/[NAME_OF_PROJECT_FOLDER]/caravel.sdc

results

caravel spef files in /caravel/spef

sta log files in /results/[NAME_OF_PROJECT_FOLDER]


some notes

The default script right now loads most of the caravel modules (.v & .spef) for the analysis, but there are still some missing, mainly the chip_io and sram

It uses a placeholder for the chip_io module that forwards the clock to core_clock:

  • [NAME_OF_PROJECT_FOLDER]/verilog/chip_io_PLACEHOLDER.v

The current test are focused on the timing analysis inside the mgmt_core and between the mgmt_core (soc) and the user_project_wrapper (mprj)

Right now is only using the sky130_fd_sc_hd cell lib

TODO

  • Confirm that the current mpw-3a tag of the efabless/caravel repository is correct
  • Confirm that the default make rcx-module from the caravel Makefile is the correct way to generate the missing caravel module's .spef files? (as the current make caravel_rcx is a copy of that script with a minor change)
  • Analyze all the warnings to check if there might me some files missing that are really needed or might affect the results
  • Make some user_project_wrapper with some identifiable cells to connect the ports of the user area and analyze the input and output delays

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.