Displaying posts in the categoryInterview Questions
Interview Questions articles
Verification
Sometimes the order of entries is not enough; you also need to know how long each one has waited. A request that sits in a queue too long should time out. A performance monitor wants the latency of every transaction. A flow that must hold data for a fixed delay needs to know when that delay has passed. All of these need a timestamp stored with each entry, and a way to compare it with the current time. The catch is that hardware time counters a…
by
The Semiconductor Hub
December 02, 2026
Verification
Some messages are meant for many receivers at once. An invalidation goes to every cache that might hold a line. A configuration write goes to every engine in a cluster. A multicast packet in a network-on-chip goes to a set of destinations chosen per packet. In each case one entry enters a queue and must reach every receiver in its target set, exactly once, before it leaves. Part 29 gave each consumer its own read pointer over shared storage. T…
by
The Semiconductor Hub
December 02, 2026
Verification
Sometimes one stream has more than one consumer. A trace stream goes both to an on-chip buffer and to an external port. A tile of activations is read by two compute units. A packet is sent to its destination and copied to a monitor. Each consumer needs every entry, in order, but they do not run in lockstep: one may stall for a while, another may run at full rate. You could give each consumer its own FIFO and copy every push into all of them, b…
by
The Semiconductor Hub
December 01, 2026
Verification
Most FIFOs spend most of their time nearly empty. A response queue sized for the worst burst may hold one or two entries on a normal day, yet every flop in it is clocked every cycle and every bit of its SRAM leaks whether it holds data or not. On a chip with hundreds of FIFOs, that idle cost adds up, and in battery-powered or thermally limited designs it is often worth real effort to remove. This part builds a low-power FIFO in two layers. The…
by
The Semiconductor Hub
December 01, 2026
Verification
A FIFO that holds data for only a few cycles still holds it in storage that can be upset. A particle strike, a marginal SRAM cell at low voltage, or a weak flop at a corner can flip a bit between the push and the pop. In a chip that must not return wrong data silently, such as a server memory path, an automotive controller or a network switch, every FIFO on the data path is part of the error budget. This part adds SECDED protection to a FIFO: …
by
The Semiconductor Hub
November 30, 2026
SystemVerilog
A speculative producer writes into a FIFO before it knows whether the work is real. A branch predictor fills an instruction queue down the predicted path, a prefetcher queues requests it may cancel, a decoder pushes micro-ops past an instruction that might fault. When the guess turns out wrong, everything written after the guess has to go, and everything written before it has to stay, in order, ready for the reader. Part 25 handled one specula…
by
The Semiconductor Hub
November 30, 2026