commit | 056af9a3708f139a79e6138eaada8d0971bf51b3 | [log] [tgz] |
---|---|---|
author | Harrison Pham <harrison@harrisonpham.com> | Sun Oct 24 17:07:45 2021 -0700 |
committer | Harrison Pham <harrison@harrisonpham.com> | Sun Oct 24 17:07:45 2021 -0700 |
tree | 4df630d6f216d43f7b39d2875708cb9c07fb8303 | |
parent | 48e2c9a274604ce70779678e486c4b8692bc3125 [diff] |
Add ring0 test out
Randsack is a test chip for trying out random number generators and PUFs.
dtop
- Digital top sea of gates containing control logic and digital peripherals.dgpio
- GPIO peripheral.collapsering_macro
- Trimmable collapsing ring oscillators for generating random numbers with a configurable output divider. See ip/randsack/sch/collapsering.sch
xschem schematic for design.ringosc_macro
- Trimmable ring oscillator.The more analog-like blocks like the ring oscillators are designed using stdcells in xschem and then simulated with ngspice.
Due to limited time all blocks are synthesized using the standard openlane flow instead of hand layout. The resulting netlist is inspected to ensure minimal modifications by the tools. The resulting extracted spice file is then simulated.
Unfortunately the process to do backannotated timing sims (SDF) doesn‘t appear simple. Hope is the small macros are small and that any delays are tiny and don’t cause issues.
All simulations are performed at tt/ff/ss corners to ensure reasonable performance across PVT.
A bunch of knobs are built into the design to minimize risk. All blocks feature many trim bits and output dividers in case performance ends up being too fast for the synthesized digital control blocks.
The output of the oscillator blocks can be muxed to output GPIOs for debug. GPIOs are limited to ~60 MHz so the internal clock dividers should be used.