Skip to content

Turn the hardware notes into a Digital Design book - #44

Open
patrick-5546 wants to merge 11 commits into
mainfrom
digital-design-book
Open

patrick-5546 wants to merge 11 commits into
mainfrom
digital-design-book

Conversation

@patrick-5546

Copy link
Copy Markdown
Owner

Turns the site's hardware interview notes into a textbook-style Digital Design book, and the internship section into Interviews.

Digital Design (new tab): 11 chapters

  • The chapters: logic and synthesis, SystemVerilog and FSMs, timing/clocks/reset, CDC and FIFOs, memory and caches, arithmetic and DSP, FPGA architecture/tools/power, buses and host interfaces, networking datapaths, AES hardware, and low-latency trading systems.
  • Each chapter has Essentials, Depth, Key facts, Standard questions and References, leaving out empty ones.
  • The old Hardware Reference is now the Depth of chapters 1–7. The old Hardware Questions are folded into the chapters' Standard questions, without company names.
  • The rest comes from my 2026 interview preparation, kept as terse checklists. Standard questions name question types only, without answers.
  • 48 inaccuracies are fixed, mostly in the old reference; the medium-confidence ones were checked against sources.

Interviews (was Internship Preparation)

  • Adds the interview loop, recruiter calls, a study plan, questions to ask and hardware resources.
  • Folds the software questions into the software reference as standard question types, and adds a "Coding for Hardware Roles" section.

Redirects keep every old internship_prep/ URL working. make lint, make build and make links pass.

Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com

patrick-5546 and others added 11 commits December 5, 2026 23:11
The internship preparation pages were under internship_prep/, in an
"Internship Preparation" tab. They're now under interviews/, in an
"Interviews" tab: the next commit moves the hardware notes out into a
Digital Design book, which leaves the section about applying and
interviewing. The old URLs redirect to the new ones, so links to them keep
working. The home page and the site's description name the new section, and
the Zensical page says what the redirects are for.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The hardware notes were two pages under Interviews: a reference, and a list
of the questions that past interviews asked, grouped by internship and naming
the companies. They're now a Digital Design book of seven chapters, in a
textbook's order, so that each topic has a page to grow in. A chapter's Depth
section holds its part of the reference, moved verbatim and nested under
Depth. Its Standard questions section lists the questions on its topic as
prompts, without answers or companies, so that the site keeps to the kinds of
questions that interviews ask. The book's index explains the sections, lists
the chapters, and takes the CPEN 311 credit and the VLSI questions link. The
old pages redirect to the index, the interview pages link to the book, the
glossary gains the DSP and FIFOs of the chapter titles, and the README says
how a chapter is laid out.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The software questions were a page of their own, listing the questions that
past interviews asked, with their details and the companies that asked them.
They're now a Standard questions section at the end of the software
reference, which names the kinds of questions without the problems
themselves, as the Digital Design chapters do. The two interviewbit links stay
as references for the object-oriented and embedded C questions. The note that
LeetCode has the same questions goes, since the list no longer names any, and
the reference's study method already covers LeetCode. The Interviews tab's
Software entry is now the reference alone, and the questions page's old URL
redirects to it.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The abbreviations file defined 31 terms, so most of the ones that the
filled-in chapters, the four new chapters and the Interviews pages use, such
as AXI, CDC and PCIe, would have no tooltip. It now also defines the 139 of
them that some page uses in its text, in alphabetical order. MAC expands to
both of its meanings, since the arithmetic chapter uses it for
multiply-accumulate and the networking ones for media access control. IP, L2,
L3, CAS and DC stay undefined, since each has more than one meaning, such as
IP for the Internet Protocol and for a vendor's hard IP. typos takes Synopsys,
in the SDC and SNUG expansions, for a misspelling, so its configuration now
accepts the name.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Chapters 1–4 held only what the old hardware reference and questions pages
had on their topics: some Depth, and a few standard questions. They now have
the notes I wrote preparing for full-time hardware interviews, on logic and
synthesis, SystemVerilog and FSMs, timing, clocks and resets, and clock
domain crossings and FIFOs. Each gains an Essentials checklist, more Depth,
Key facts, and more kinds of standard questions, so that a chapter covers
what interviews ask on its topic. Chapters 2–4 cite the SNUG papers and the
book chapter that they draw on, and a misspelling in the MTBF note is fixed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Chapters 5–7 held only what the old hardware reference and questions pages
had on their topics. They now have the notes I wrote preparing for full-time
hardware interviews: memory types, lookups, pipeline hazards, error
correction and caches; adders, constant multiplication, barrel shifters,
number formats and FIR filters; and the FPGA flow, on-chip debug, simulators
and low-power techniques. Each gains an Essentials checklist, Key facts, and
more kinds of standard questions, as chapters 1–4 did, and Memory and Caches
cites the course slides it draws on.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The book's seven chapters cover the fundamentals, so my notes on the systems
that FPGAs sit in had no chapter. Four new ones hold them: Buses and Host
Interfaces, on AXI, PCIe and low-speed I/O; Networking Datapaths, on
Ethernet, queueing, arbitration and frame processing; AES Hardware; and
Low-Latency Trading Systems, drawn from public talks on high-frequency
trading. They're in the nav and the book's chapter list. The CPEN 311 credit
said that most of the Depth sections came from that course, but Depth now
holds newer notes too, so it names the old hardware reference instead.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The Interviews pages came from my internship search. They now add what
looking for a full-time role taught me: keeping the resume as code, a private
folder per company, the stages of a full-time hardware loop, recruiter and
headhunter calls, a study plan, questions to ask interviewers, resources for
hardware roles, and asking for feedback. The software reference gains the
light coding that hardware interviews ask for, such as bit manipulation,
scripting and concurrency, and its standard questions gain those kinds.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The chapters were filled in from separate notes, so some facts were in two
places: the FPGA design flow and what a LUT is, distributed vs block RAM,
clock-gating circuits, FPGA clock sources and rate limits, FIFO sizing for
read latency, the PMA and PCS, head-of-line blocking, parsing packets as they
arrive, and, in the trading chapter, FPGA building blocks, number formats,
and compare-and-swap, which the software reference explains. Some kinds of
standard questions were in two chapters too. Each now has one home, in the
chapter whose topic it is, and the others link to it there, so that a fix
lands in one place. Facts move with their wording, so the claims awaiting an
accuracy check keep theirs. No page uses CLB on its own any more, so its
abbreviation goes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
An accuracy review of the chapters found 47 errors and an uncredited
figure. Some formulas were wrong, like the carry-lookahead delay, 7 × 2 as
7 << 2 and the setup required time; some claims were inverted, like what
parity misses, the XOR glitch and a reorder buffer's fill order; and some
were outdated or too broad, like Verilator having no delays, 64b/66b under
PCIe and every PCIe write being posted. All 47 are now fixed, so the public
notes teach the right thing: the 20 high-confidence ones directly, and each
of the 27 medium-confidence ones only after a primary or authoritative
source confirmed it, such as the IEEE 1800 text, AMD and Altera user guides,
Arm's AXI guide, FIPS 197, Harris and Harris, Cummings' papers and
Verilator's docs. The carry-lookahead figure and its delay equation are
from Harris and Harris, as their own slides show, so the arithmetic chapter
now credits them in the figure's caption and in a new References section.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
The Ask for feedback section listed four themes to work on for hardware
final rounds. It now keeps only the advice to ask the recruiter for feedback
and practice what it names, as those themes stay in my private notes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant