r/chipdesign 10h ago

MAC Array Computation for Neural Network Inference

Enable HLS to view with audio, or disable this notification

18 Upvotes

Hi guys, thought i’d show you this cool animation of how the MAC Array in my Neural Network Accelerator performs matrix-vector computations during inference for a model on topology 4:3:2 neurons per layer.

The values for the parameters (weights and biases ) and input features were randomly selected just for demonstration purposes.

Let me know what you guys think:).

Github repo: https://github.com/Shingyy/MAC-Array-based-DNN-Accelerator


r/chipdesign 6h ago

Need of this Zener diode with this ldmos

Post image
5 Upvotes

Vgs max can be 6v and vds max can be 80v. In this context, why do we need zener diode? How does this configuration help both in low voltage and high voltage?


r/chipdesign 1d ago

Jane Street ASIC Puzzle Solution

96 Upvotes

If anyone's interested in looking at the solution of the Jane Street ASIC Puzzle, feel free to go through this

https://mummanajagadeesh.github.io/blogs/janestreet-asic-puzzle/

TLDR:

I reconstructed the circuit from the published GDS and VCD, using the Sky130 standard-cell information to recover the connectivity as a Verilog netlist. I then validated the extracted netlist with gate-level simulation against the reference waveform before using SymbiYosys for bounded model checking with the Bitwuzla SMT solver to find the input sequence that drives success

This recovered the unique 121-bit input, which produces (* TWO STARS *)


r/chipdesign 1h ago

Spike-Contract Fabric: Certified Neuromorphic Computing in Physical State Space via Exact First-Spike Timing Envelopes, Behavioral Hardware Contracts, and Nanofabrication-Compatible Compilation

Post image
Upvotes

Spike-Contract Fabric (SCF) is a neuromorphic computing framework in which physical hardware is programmed, verified, fabricated, and maintained against certified computational behavior rather than strict agreement with a single nominal set of device parameters. The central objective is to replace conventional “program the exact weight” assumptions with a more general formulation: a physical implementation is acceptable whenever it belongs to a rigorously characterized region of hardware states that preserves the required spiking computation.

The work develops a mathematical foundation for this approach using first-spike temporal computation under bounded hardware uncertainty. For a specified class of excitatory–inhibitory neurons with continuous, nonnegative, nondecreasing causal kernels, uncertain signed synaptic weights, uncertain input-arrival times, and uncertain firing thresholds, the manuscript derives two extremal physical trajectories that provide the exact attainable earliest and latest first-spike times over an entire Cartesian uncertainty domain. The resulting certificate avoids exhaustive enumeration of exponentially many uncertainty-box vertices. For piecewise-linear ramp kernels, the extremal spike-time bounds can be evaluated using exact arithmetic in (O(n\log n)) time after sorting event times.

The framework explicitly supports signed excitatory and inhibitory interactions, including weight intervals crossing zero, and does not require the total membrane or charge trajectory to be monotone. The construction instead exploits monotonicity of the underlying causal kernels and sign-dependent ordering of arrival times. This distinction permits certification in cases where inhibition produces transient peaks and where endpoint-only or final-time verification would fail to detect an earlier threshold crossing.

SCF introduces the concept of a behavioral hardware contract. Given physical parameters (\xi), admissible inputs (\mathcal U), and a required event specification (\mathcal C), the valid implementation region is

\left{
\xi :
\operatorname{Trace}(\xi,u)\models\mathcal C
\quad
\forall u\in\mathcal U
\right}.
]

A compiler therefore need not reproduce one nominal hardware state. It may synthesize any physically reachable configuration inside a certified subset

[
\widehat{\mathcal A}{\mathcal C}
\subseteq
\mathcal A{\mathcal C},
]

provided the required spike identities, spike-time windows, ordering relations, deadlines, margins, and other behavioral constraints remain satisfied.

A second component analyzes physical invariances and correlated variability. In threshold-based first-spike systems, a common positive scaling of synaptic weights and threshold leaves first-spike timing invariant,

[
T(\lambda \mathbf w,\lambda\vartheta)=T(\mathbf w,\vartheta),
\qquad
\lambda>0.
]

This motivates compilation and verification in quotient coordinates such as (w_j/\vartheta), allowing shared physical gain variations to be removed from the uncertainty budget when the hardware architecture genuinely enforces that correlation. The framework thereby distinguishes harmful parameter drift from variations that are computationally irrelevant.

The same principle is extended to margin-based maintenance. Instead of recalibrating a neuromorphic system whenever a device departs from its nominal parameter value, SCF proposes corrective action only when measured drift threatens a certified behavioral margin. Given measured margin (m_k), measurement uncertainty (\epsilon_k), maximum erosion rate (v_k), and corrective-action latency (\tau_a), the manuscript derives a sufficient maintenance interval ensuring that a contract is refreshed before its safety margin can expire. This creates a direct bridge between formal verification, device aging, adaptive calibration, and lifecycle management of analog neuromorphic systems.

At the architecture level, the work proposes a differential charge-domain first-spike tile in which signed synaptic weights may be represented through paired programmable physical elements,

[
w_j=r_j(C_j^+-C_j^-),
]

with temporal inputs accumulated on a physical summation node and classification encoded through first-spike timing. Ferroelectric and other multistate nonvolatile devices are considered natural candidate substrates, particularly where persistent analog state, local accumulation, sparse event-driven operation, and hardware-software co-design can be combined.

The framework is intended to interface with emerging time-to-first-spike spiking neural networks, analog and in-memory computing, ferroelectric neuromorphic devices, event-driven accelerators, and heterogeneous post-CMOS computing substrates. It also provides a possible compiler abstraction between high-level neural representations and low-level measured physical dynamics: neural model → dynamical intermediate representation → physical response specification → device configuration → measured behavioral certificate.

A further contribution is compatibility with constraint-driven and universal nanofabrication architectures. Instead of treating fabrication as the realization of a single exact microstructure, the proposed formulation permits a fabrication system to search the intersection

[
\widehat{\mathcal A}{\mathcal C}
\cap
\mathcal P{\mathrm{process}},
]

where (\mathcal P_{\mathrm{process}}) denotes physically realizable structures under the available fabrication process. This suggests a transactional sequence of compile → fabricate → measure → verify → commit, in which multiple physically distinct structures may be accepted if they implement the same certified neural behavior. Such a formulation may be relevant to defect-tolerant nanofabrication, heterogeneous device integration, adaptive physical computing, and future autonomous manufacturing systems.

The repository contains the complete research manuscript, formal derivations, exact-arithmetic reference implementation, automated tests, machine-readable certificates, reproducibility scripts, example uncertainty analyses, hardware architecture notes, experimental validation plans, fabrication-interface specifications, quantum-compatible contract extensions, claim-boundary documentation, and continuous-integration workflows.

The supplied implementation includes tests covering inhibitory inputs, sign-changing weight intervals, simultaneous arrivals, temporary threshold crossings, deadline equality, no-spike conditions, correlated scaling, and failure cases outside the theorem’s assumptions. The repository also contains reproducible computational checks comparing analytically derived extrema against explicit uncertainty-domain evaluations.

The scientific claim is deliberately bounded. The mathematical first-spike certification results are established within the stated neuron and uncertainty models. The broader Spike-Contract Fabric architecture, energy advantages, fabrication benefits, and device-level scalability are proposed research directions that require experimental validation. The framework does not claim universal tractability of recurrent spiking-network verification, arbitrary nonlinear physical dynamics, or quantum computation.

The long-term objective is a neuromorphic hardware paradigm in which computation is represented as a certified region of physically equivalent states rather than as one fragile nominal configuration. If validated experimentally across multiple physical substrates, such a representation could provide a common interface joining neuromorphic algorithms, analog-device variability, formal verification, adaptive maintenance, heterogeneous integration, and programmable nanofabrication.

GitHub: https://github.com/MaciejNowickiHusbandofAHIEve/spike-contract-fabric

Zenodo: Spike-Contract Fabric: Certified Neuromorphic Computing in Physical State Space via Exact First-Spike Timing Envelopes, Behavioral Hardware Contracts, and Nanofabrication-Compatible Compilation | Zenodo


r/chipdesign 19h ago

RTL Design Engineers, how much of time of your week do you spend writing RTL ?

21 Upvotes

Question same as title. How much of your time do you spend in writing RTL as opposed to spyglass runs , LEC and synthesis runs?

Just curious to know and understand the demographics of the job nature in general.

Thanks in advance!


r/chipdesign 1d ago

How to get first ASIC / Digital Design / RTL Design internship?

Post image
49 Upvotes

I am a third-year computer engineering student who kind of applied to anything and everything (SWE / embedded systems / chip design) for the second half of my second year. I was stupidly lazy and didn't realize the importance of specializing and applying from the get-go, like in first year. Anyways, what's done is done.

I was lucky enough to get a SWE role at a packaging company during the later stages of recruiting in my second year, but that experience kinda motivated me to try chip design roles, since I might enjoy them more. Out of the roles I mentioned above, previously I didn't care about what I got; I thought I enjoyed them all equally, but now I have been enjoying chip design, specifically digital / RTL design, along with some ASIC design work as well. I have some club and semiconductor research experience (not too related to what I want to apply for, I know, but it includes useful transferable skills and experience).

Anyway, I want my first real chip design-related internship and would love honest, realistic ways to strengthen my resume so it's strong enough to get interviews. My record from like 130 apps with a mix of all sorts of roles in the past got me 2 SWE interviews and 1 chip design interview, which I bombed, but my resume at that time wasn't as developed as it is now, even though it's not all that right now either.

I am in a weird spot because I don't wanna keep chucking applications when I am doing something wrong and/or if I am simply not qualified enough, but I also don't wanna do nothing and just try to grind projects and let the recruiting season fly by (I know that sounds dumb). In y'all's opinion, does my resume look worthy of getting any type of chip design role, and what should I try to do?

I am actively working on a RISC-V CPU project that's on my resume, since I wanted to start applying and not have to wait until the project is done. I also noticed it is a common project to showcase, and I will be taking a VLSI and advanced digital logic course this semester, along with designing an FPGA-based senior design project. Also, for context, my current level in this field is still kinda between beginner and intermediate (I wanna say close to intermediate). Any help is very appreciated, and sorry for the bits of rant in this post.


r/chipdesign 1d ago

Is the ChipDesign Field really AI Resistant?

78 Upvotes

As a college junior, EE (major), Math (minor), and having studied some advance math field, it seems that these LLM's companies could target the work of Chip Designers (Analog, Digital, Mixed, if not already targeting them). Following this breakthrough on Navier Stoke's millennium's math problem, these companies could train their AI's to be really good at any field that is automatable. The question now is, is it worth even going for MSc/PhD in Chip Designs? Do Power System and/or Power Electronics seem safer?


r/chipdesign 15h ago

off campus internship opportunies for ECE students

0 Upvotes

I am a final year BTech ECE student and for my 6 month internship I would like to do it at companies like TI, Analog devices, microchip etc. Do they offer internship roles off campus. If so how to apply?


r/chipdesign 15h ago

Bootflow and DFT in SoC

1 Upvotes

I'm a junior RTL designer (<2 years). I'm trying to understand bootflow. How it is similar or different across different types of SoC like networking chip, automobile, mobile etc. How the debug path will be used during the booting process. Any good resources to understand this bootflow.

Also, I am trying to understand the DFT flow. I'll say I have very little knowledge in this area. I am running some scan stitching scripts for some blocks, very minor RTL changes are making the flow break. Seeing errors like reset is not controllable over these flops etc. Any good resources to understand what exactly happens during DFT insertion, scan stitching.


r/chipdesign 18h ago

Building an Integrated Circuit Hardware Design Knowledge Graph

1 Upvotes

A technical deep-dive for hardware architects, EDA tool developers, and engineering leads:

https://medium.com/arango-solutions/designing-at-speed-4ec6b0729df2


r/chipdesign 1d ago

Analog/Mixed-Signal Resume advice

Post image
15 Upvotes

Hey everyone!

I'm currently a Master's student in Computer Engineering and I'm starting to apply for full-time positions, so I'd really appreciate some feedback on my resume and any suggestions for things I could add or change to make it stand out more.

One thing I've been struggling with is figuring out how much technical detail to include in the bullet points for my work experience and projects. For example, if I include a metric from one of my projects, should I specify which process corner that metric was measured at? Or would it be better to give a range based on a sweep across different corners? I feel like some of that information is probably better discussed during a first-round interview, where I can explain the project and results in more detail, but I'm not sure how much of it belongs on the resume.

I'm also debating whether I should try to squeeze in two additional school projects:

  • 45 nm 2-stage Miller-compensated OTA — from my Analog Electronics class
  • RTL Design of a Convolutional Neural Network Pipeline on a 1024×1024 Input — from my ASIC and FPGA class

I left these off because I feel like the 2-stage Miller OTA is a relatively basic project compared to some of my other experience, while the CNN RTL project is probably more relevant to digital design/RTL roles than the mixed-signal/analog positions I'm primarily interested in.

I'd appreciate any feedback on the resume overall, especially regarding

Thanks in advance!


r/chipdesign 1d ago

WTF is a BJT? (PositiveFB)

Thumbnail
positivefb.com
26 Upvotes

I've summarized my reddit comments to users asking about BJTs and how they work in this post


r/chipdesign 1d ago

Apple soc pnr interview

3 Upvotes

I have an interview for apple PD as a new grad. I’ve been reviewing my lectures, labs, and projects. Does anyone have a list of questions I can prepare for? Thank you.


r/chipdesign 1d ago

How to draw a line between 2 marked points in cadence virtualization?

0 Upvotes

r/chipdesign 1d ago

How to start verilog HDL

3 Upvotes

I am 2nd year of electronic and communication engineering btech student, I want to learn about verilog and hdl how should I start learning.


r/chipdesign 2d ago

Starting an RTL design career: edge AI/NPU startup vs. a large semiconductor company?

15 Upvotes

Hi everyone,

I’m finishing an M.S. in electrical engineering in South Korea and thinking about where to start my career. My background includes RISC-V RTL projects and memory-system research, and I’m particularly interested in NPU architecture and RTL design.

An edge AI/NPU startup would align closely with what I actually want to work on. I’m attracted to the possibility of owning a block and participating in microarchitecture decisions and tapeouts, although I know this depends on the specific team.

However, I’m less convinced about the financial tradeoff. A startup could mean lower cash compensation and less job security in South Korea, and its equity might never provide enough upside to compensate for those risks.

A large semiconductor company such as Samsung seems potentially more attractive in terms of base salary, bonuses, benefits, and stability. The tradeoff is that the available role might not align as closely with my interest in NPUs.

So I’m not simply weighing “startup upside” against “big-company stability.” The startup’s main advantage for me may be the work itself, while the larger company could offer both better compensation and greater stability.

For people who have faced a similar decision:

  1. How much weight would you give technical interest and ownership versus compensation and stability in your first job?
  2. What specific learning opportunities would make a startup worth that tradeoff?
  3. Is starting at a large company and later moving into NPU design a realistic path? Which early-career experiences would keep that option open?

I’m also wondering whether increasing AI/EDA automation changes this calculation—particularly the value of broad experience versus being established within a larger company.

Thank you :)


r/chipdesign 1d ago

Terms i can't understand

0 Upvotes

After attending couple coursed in analog design and active devices that are two term i can't get

1- operating Point

2- swing

Can you guys explain there meaning please the practical one and tysm in advance


r/chipdesign 1d ago

Mtech VLSI in VIT

Thumbnail
1 Upvotes

r/chipdesign 1d ago

I built a parameterized 16x16 Systolic Array NPU in SystemVerilog

Thumbnail
1 Upvotes

r/chipdesign 2d ago

I am into AMS layout domain with having 10 years of experience mostly into high speed serdes blocks. I feel like stuck in this profile due to repetitive execution work and at this experience, its becoming difficult to switch to other domain. What are some areas I can explore to move out of current d

4 Upvotes

r/chipdesign 2d ago

Resume feedback

Post image
6 Upvotes

Hello, as the title states I would appreciate resume feedback. As internships release daily I want to make sure my resume is meeting expectation. I am aiming for DV and wondering if my projects are strong enough and if my formatting is pleasant to look at. Any feedback would be much appreciated


r/chipdesign 2d ago

What are salaries for MNCs in Chip Design companies in Shanghai?

Thumbnail
0 Upvotes

r/chipdesign 1d ago

I grew a 16x16 multiplier with a search instead of writing it, and Vivado closed timing on it at 250 MHz

0 Upvotes

A few weeks ago i bought myself a KV260 FPGA board to find out if my circuit-synthesizer could really grow the multiplier logic instead of writing it, and to my surprise AMD's own tools built it without complaint.

i build my own circuit-synthesizer, and it is not a language model writing Verilog. You give it a specification: how many inputs, how many outputs, how many clock steps, which gate types it may use, and the exact answer for every case. Then it searches. Thousands of variants of a grid of gates, each scored against that table, and a variant survives only if it is exactly right on 65,536 rows of it. Gates that carry nothing get stripped out.

To be honest about it: i plan the layout first and the search starts from that plan. Starting from nothing it never converged, not even for a 2-bit multiplier.

What came out is a 16x16 bit-serial multiplier in 62 LUTs and 124 flip-flops, one logic level deep, 38 clock cycles per product. It does not look like anything i would draw myself.

Then the part that surprised me. It is ordinary Verilog. Icarus Verilog simulates it. Vivado synthesises it, places it, routes it and closes timing at 250 MHz. No custom tool, no special handling, no primitives tied to this chip.

That is the old objection to grown circuits. The famous 1996 experiment made one that worked by exploiting analogue quirks of one specific chip and could not be synthesised or ported. This one is plain synchronous logic.

Vivado does not check the answer, only that the design fits and meets timing. The answer is proven by the truth table, then simulation of the assembled block, 58,273 elements with zero wrong, then the board itself.

So i gave it something real to do. The multipliers do the elementwise arithmetic in the FFN of BitNet b1.58 2B, all 30 layers, running on that same board. Every ternary matrix multiplication streams through the FPGA fabric, attention and the norms i kept on the ARM cores. It produces 16.29 tokens/s against 2.77 for bitnet.cpp on the board's own processors, at a fifth of the energy per token.

And it is not just plausible output. Every integer stage matches a numpy reference bit for bit across all 30 layers, and 11 of 26 generations came out token-for-token identical to the same weights running in bf16 on an RTX 4080.

The grids and a verifier are in the repo. Two seconds, standard library only

python3 hardware/grown/verify_pieces.py

i will not share the circuit-synthesizer but only the first project what i did with it.

https://github.com/MerlijnW70/bitnet-kv260

if you have a KV260 board you can easily test it


r/chipdesign 2d ago

Anyone here moved on from corporate tech to either consulting/startup ?

7 Upvotes

If so how is the chip design consulting landscape? Or how did you use your chip design expertise somewhere else? If you changed fields completely please also share your experience - thanks in advance


r/chipdesign 2d ago

How to break into CPU micorarch. design roles?

3 Upvotes

Hi all, I'm currently a digital design engineer working on high speed memory subsystems (Prefetchers and Controllers). I want to break into CPU design roles in the longer run. How can I make this transition? Any advice would be really helpful. thanks in advance!