- Notifications
You must be signed in to change notification settings - Fork5
Flip flop setup, hold & metastability explorer tool
License
NotificationsYou must be signed in to change notification settings
mattvenn/flipflop_demo
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Made for a video about flip flops:https://www.youtube.com/watch?v=5PRuPVIjEcs
For theZero to ASIC course
git clone https://github.com/mattvenn/flipflop_democd flipflop_demo/spicetar xf csv.tar.bz2./wave.py
You will probably need to install therequirements
pip3 install -r spice/requirements.txt
After install of openlane/pdk etc, copy this directory to $OPENLANE_ROOT/designs. Then:
cd $OPENLANE_ROOTmake mount./flow.tcl -design flipflop_demo
This will simulate moving a data pulse through the setup and hold times of a d type flop.
make setupmake sim
Takes about 8 mins on my laptop.
Schematic generated with schemdraw with thanks to Proppy.
The flip flop is one of the largest and most complexstandard cells. Here's theGDS layout:
- 26 fets, 13 CMOS pairs
- 7 inverters
- 2 tristate inverters
- 2 transmission gates
About
Flip flop setup, hold & metastability explorer tool