Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Flip flop setup, hold & metastability explorer tool

License

NotificationsYou must be signed in to change notification settings

mattvenn/flipflop_demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Made for a video about flip flops:https://www.youtube.com/watch?v=5PRuPVIjEcs

For theZero to ASIC course

screenshot

To play with bundled data set from SKY130 df transmission gate flip flop

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

If you want to build the GDS of the design

After install of openlane/pdk etc, copy this directory to $OPENLANE_ROOT/designs. Then:

cd $OPENLANE_ROOTmake mount./flow.tcl -design flipflop_demo

Create the dataset yourself

This will simulate moving a data pulse through the setup and hold times of a d type flop.

make setupmake sim

schematic

Takes about 8 mins on my laptop.

Schematic generated with schemdraw with thanks to Proppy.

Fun facts

The flip flop is one of the largest and most complexstandard cells. Here's theGDS layout:

gds

  • 26 fets, 13 CMOS pairs
  • 7 inverters
  • 2 tristate inverters
  • 2 transmission gates

[8]ページ先頭

©2009-2025 Movatter.jp