Skip to content

AyaseErii/UCounter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Caravel User Project

License UPRJ_CI Caravel Build

❗ GF180mcuC shuttle MPW0

Counter

This is a counter with clock, reset, io_out.

The counter design (gdsii file) is located at here and the wrappered counter (gdsii file) is located at here.

Step 1: Create the Digital Counter Design

Before running the design flow, please make sure the gf180 PDK was installed correctly. For the information about switching PDK from sky130 to gf180mcuC, you may refer to this video. (Great thanks to Matt)

Once you have done with PDK setups, you can simply follow the commands below after you changed the corresponding cntr_example.v, config.tcl file, all files in the includes directory, the uprj_netlists.v of the counter, and user_defines.v.

git clone https://github.com/AyaseErii/Counter.git
cd Counter
make cntr_example

The command above will generate the digital counter design (gdsii) and all necessary files for the next step---wrapper the design in to user_project_wrapper.

Step 2: Create the Wrappered Digital Counter

Before running the flow of user_project_wrapper, please make sure you changed the user_project_wrapper.v, config.tcl of the user_project_wrapper.v, and macro.cfg for macro placement.

Once you have done with the above commands, you need to go to Counter directory again, and use the command below:

make user_project_wrapper

After the flow compeleted, you can repeat the Step 2 iteratively until you get a satisfied design.

Step 3: Run the precheck

Before running the precheck, you need to modify the user_defines.v to define GPIOs. Then you need to install the local precheck module which will just take a few seconds to finish the installation.

cd {YOUR_PROJECT_DIR}
make precheck

After that you can start precheck process:

make run-precheck

This will take a few minutes to a few hours, depending on the size of the entire design.

If the precheck finished with {{SUCCESS}} All Checks Passed !!!, you are done with the design and ready for tape-out, and congradulations!

Contributors

Jun (Jerry) Yin, Ceylan M. Morgul, Rahul Sreekumar, Xuanjia (Eric) Bi, and Mircea R. Stan.

ECE department of University of Virginia

Additional Information about Caravel

Refer to README for a quickstart of how to use caravel_user_project

Refer to README for this sample project documentation.