Memristor cnn
sebishniraula·memristor-cnn·simulation/connectivity.net
About the Memristor cnn PCB
Memristor cnn is an open source RP2040/RP2350 PCB design by sebishniraula, published on GitHub. It is a board, with 86 components from 42 distinct parts.
Its main chip is the RaspberryPi_Pico, from the RP2040/RP2350 family. Other key parts include the TLV172IDCK, DAC80508ZRTET, ADS1115IDGS, MAX333ACPP+ and TLV9004PWR. By type, the board carries 25 capacitors, 25 resistors, 13 test points, 9 ICs, 3 diodes and 1 module.
From the project
Memristor based convolution neural network to predict digits(eventually)
These scripts reproduce the prototype's math and validate its exported wiring. They do not operate hardware or implement CNN training.
Use Python 3.10+ from the repository root. No pip dependencies are needed.
For the analog DC cases, install the ngspice command-line program and run:
The script writes simulation/results/dc-results.json; that generated directory is ignored by Git. --netlist selects another KiCad S-expression netlist and --output changes the JSON destination. The expected pins and component roles are specific to this design.
Main components on the Memristor cnn
Memristor cnn bill of materials (BOM)
86 components, 42 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 4 | TLV172IDCK | SOT-353_SC-70-5 | U1, U2, U8, U9 |
| 1 | DAC80508ZRTET | DAC80508_RTE0016D | U4 |
| 1 | ADS1115IDGS | TSSOP-10_3x3mm_P0.5mm | U5 |
| 2 | MAX333ACPP+ | DIP-20_W7.62mm | U6, U7 |
| 1 | TLV9004PWR | TSSOP-14_4.4x5mm_P0.65mm | U10 |
| 1 | RaspberryPi_Pico | Pico_40pin_Socket | A1 |
| 1 | POWER: +5V / GND / -5V | PinHeader_1x03_P2.54mm_Vertical | J1 |
| 1 | WRITE ARM | PinHeader_1x03_P2.54mm_Vertical | JP1 |
| 1 | EXT CELL A1 | PinSocket_1x02_P2.54mm_Vertical | MR1 |
| 1 | EXT CELL A2 | PinSocket_1x02_P2.54mm_Vertical | MR2 |
| 1 | EXT CELL A3 | PinSocket_1x02_P2.54mm_Vertical | MR3 |
| 1 | EXT CELL A4 | PinSocket_1x02_P2.54mm_Vertical | MR4 |
| 1 | EXT CELL B1 | PinSocket_1x02_P2.54mm_Vertical | MR5 |
| 1 | EXT CELL B4 | PinSocket_1x02_P2.54mm_Vertical | MR6 |
| 1 | EXT CELL B3 | PinSocket_1x02_P2.54mm_Vertical | MR7 |
| 1 | EXT CELL B2 | PinSocket_1x02_P2.54mm_Vertical | MR8 |
| 1 | GND | TestPoint_Pad_D1.5mm | TP1 |
| 1 | +3V3 | TestPoint_Pad_D1.5mm | TP2 |
| 1 | +5VA | TestPoint_Pad_D1.5mm | TP3 |
| 1 | -5VA | TestPoint_Pad_D1.5mm | TP4 |
Show 22 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | REF_BUF | TestPoint_Pad_D1.5mm | TP5 |
| 1 | PROG_CMD | TestPoint_Pad_D1.5mm | TP6 |
| 1 | PROG_LIMITED | TestPoint_Pad_D1.5mm | TP7 |
| 1 | PROG_BUS | TestPoint_Pad_D1.5mm | TP8 |
| 1 | OUT_A | TestPoint_Pad_D1.5mm | TP9 |
| 1 | OUT_B | TestPoint_Pad_D1.5mm | TP10 |
| 1 | ADC_A | TestPoint_Pad_D1.5mm | TP11 |
| 1 | ADC_B | TestPoint_Pad_D1.5mm | TP12 |
| 1 | ADC_BASE | TestPoint_Pad_D1.5mm | TP13 |
| 3 | BAT54S | SOT-23 | D1, D2, D3 |
| 16 | 100n | C_0805_2012Metric | C1, C3, C5, C10, C11, C12, C13, C14 +8 |
| 1 | 4.7u | C_0805_2012Metric | C2 |
| 1 | 220n | C_0805_2012Metric | C4 |
| 2 | 10u / 16V | C_0805_2012Metric | C6, C7 |
| 2 | 100p C0G | C_0805_2012Metric | C8, C9 |
| 3 | 10n | C_0805_2012Metric | C18, C19, C20 |
| 1 | 10k | R_0805_2012Metric | R1 |
| 2 | 4.7k | R_0805_2012Metric | R2, R3 |
| 7 | 10k 0.1% | R_0805_2012Metric | R5, R6, R7, R8, R11, R14, R17 |
| 4 | 1k | R_0805_2012Metric | R9, R12, R15, R18 |
| 3 | 30k 0.1% | R_0805_2012Metric | R10, R13, R16 |
| 8 | 100k | R_0805_2012Metric | R19, R20, R21, R22, R23, R24, R25, R26 |
Memristor cnn design files
The KiCad project lives in the sebishniraula/memristor-cnn repository on GitHub; these links point at the commit this page was built from.
- Netlistsimulation/connectivity.net
Memristor cnn: common questions
What microcontroller does the Memristor cnn use?
The Memristor cnn is built around the RaspberryPi_Pico, from the RP2040/RP2350 family.
How many components are on the Memristor cnn?
86 components, from 42 distinct parts. The full bill of materials is listed on this page.
Where can I download the Memristor cnn design files?
From the sebishniraula/memristor-cnn repository on GitHub, which has a netlist; the links under Design files point to each one.
Can I use the Memristor cnn design in my own project?
The repository has no license, so all rights stay with sebishniraula. Use it as a reference, and ask the author before reusing the design.
Can I test firmware for the Memristor cnn without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug RP2040/RP2350 firmware against it before you order a PCB.
Similar boards
RP2040/RP2350
OSO-BOOK-C1
joeycastillo
85 × 115 mm29 parts2LCC-BY-SA-4.08.1kRP2040/RP2350
Corne cherry
foostan
277.2 × 107.5 mm164 parts2LCC-BY-4.07.7kRP2040/RP2350
Corne chocolate
foostan
277.2 × 107.5 mm164 parts2LCC-BY-4.07.7kRP2040/RP2350
Jitx design
gusmanb
55.5 × 65 mm26 parts4LGPL-3.05.0kRP2040/RP2350
LogicAnalyzer
gusmanb
57 × 55.2 mm6 parts2LGPL-3.05.0kRP2040/RP2350
Main
google
98 × 71 mm102 parts2LApache-2.02.9k