Codync
A free, open-source 1:1 alternative to Grok Bot and Muse. Message Claude Code, Codex, Cursor and 40+ coding agents as persistent bots from your iPhone, Mac or Linux desktop. Group chats, threads, appr
Three parameters in, a verified memory macro out. Checked from every shape to data stored in time.
Translation pending
Developer toolsPython · SourcePawnGitHub @Samcooper01OnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Open Source SRAM compiler for the ASAP7 7nm process, with its own verification stack
Taken from the repository README
Loading the full README.
Read the full README ↗A memory compiler for a 7 nanometre process, built with open-source tools only.
sramforge generates SRAM (Static Random-Access Memory) blocks from 1 to 8 kilobytes:
the full transistor-level layout, plus the abstract, timing library and behavioural
model. It comes with its own verification stack, which checks each block from every
shape in place to data stored in time.
Every chip needs memory, and memory is not written in a hardware description language like the rest of a design. It is drawn. A memory compiler takes the size you want and assembles the transistor-level layout. Those compilers are normally supplied by the foundry or bought, and closed. This one is written in Python for ASAP7 (Arizona State Predictive Process Design Kit, 7 nanometre), an open kit for a 7 nanometre process. It starts from the leaf cells in the kit's SRAM (Static Random-Access Memory) release, builds everything around them, and checks the result using only open tools: KLayout, OpenROAD, ngspice and OpenVAF.
How the generator builds a block, to scale, with measured values in amber: one cell tiled into strips and arrays, mirrored around the shared read and write column, and stacked into the full block; then each of the three parameters changed in turn.
The generated 2 kilobyte block, shown on its side: 16,384 memory cells in two mirrored halves, with the decoder and control logic between them. It is 9.6 by 77.8 micrometres.
Measured on that block: the area from its outline, the rest by simulating the transistors extracted from it, at the typical corner.
| Property | Value | Meaning |
|---|---|---|
| Size | 747.9 square micrometres | 63.9 per cent of it is memory cells |
| Speed | 1.94 gigahertz | A 516 picosecond period: the 430 picoseconds confirmed in simulation, plus a fifth as margin |
| Read latency | 243 picoseconds | From the clock edge to data on the output pins |
| Read energy | 0.615 picojoules | Charge drawn from the supply for one access |
| Idle power | 773 nanowatts | Leakage while the block is idle |
| Cell stability | 154 millivolts | The noise a stored bit tolerates while being read, out of a 700 millivolt supply |
The largest block taken through the same measurements holds 65,536 memory cells.
The block has never been made in silicon, so every answer comes from the generated layout itself. Each question relies on the ones before it.
| Question | Answer for the 2 kilobyte block | Checked by |
|---|---|---|
| Is every shape where it should be? | Identical to the kit's own block on all 31 layers | test_golden.py, test_invariants.py |
| Is it wired the way it should be? | Every bit line, word line and supply is one unbroken wire, and no two touch | test_connectivity.py |
| Can it be manufactured? | Passes all 97 rules from the kit's rule manual | test_drc.py |
| Are the transistors the ones we meant? | All 114,454 extracted and accounted for; each cell matches the six-transistor schematic | test_lvs.py |
| Does it store and return data? | Every address opens exactly the right cells, and bits written are read back | test_functional.py, writeread_sweep.py |
| Does it work in time? | The sense amplifier fires after its farthest cell is ready | test_sense_timing.py, characterize.py |
Five of the checks are fed deliberately damaged layouts every time they run and must reject them, and the rule and transistor checks agree with independently written tools. The walkthrough states which other sizes each answer covers.
| Path | What |
|---|---|
sramforge/ | the compiler and its checks |
tests/ | the checks behind the seven questions; tests/run_all.py runs them all |
scripts/ | measurements, cell extraction, control-logic edits, and the project page |
pnr/, sta/ | placing and routing the rebuilt control, and timing the finished block, with OpenROAD |
spice/ | transistor models and circuit testbenches |
cells/ | the leaf cells, extracted from the kit's release |
out/ | the committed measurement records |
examples/ | a pre-built 2 kilobyte block |
docs/ | the project page, its images, and the design documents |
Needs Python 3.10 or later and the KLayout Python module:
pip install klayout
python3 -m sramforge --out out/ # the reference 2 kilobyte block
python3 -m sramforge --bits 16 --depth 64 --out out/ --lef
Each build writes the layout, the behavioural model and a manifest; --lef adds the
abstract. The checks compare against the kit's release, cloned beside this repository:
git clone https://github.com/The-OpenROAD-Project/asap7_sram_0p0.git ../asap7_sram_0p0
python3 tests/run_all.py
The checks that need only Python and KLayout run on every code change. The measurements need
ngspice with the kit's transistor models compiled by OpenVAF (SRAMFORGE_NGSPICE and
SRAMFORGE_OSDI point at them), and the timing run needs Docker with the
openroad/orfs image, so those run locally and their records are committed.
The leaf cells in cells/ come from the kit's SRAM (Static Random-Access Memory)
release, copyright 2023 The OpenROAD Project, and the transistor models in
spice/models/ are converted from the ASAP7 (Arizona State Predictive Process Design
Kit, 7 nanometre) kit, copyright 2020 Lawrence T. Clark, Vinay Vashishtha, or Arizona
State University. Both are used under their owners' BSD (Berkeley Software
Distribution) 3-Clause licences, as credited in NOTICE.
| Do the files a chip designer uses tell the truth? | The abstract matches the layout exactly, and every timing value traces to a measurement | test_lef.py, test_liberty.py |
out/.