Repository navigation
Turn the hardware notes into a Digital Design book - #44
Open
patrick-5546 wants to merge 11 commits into
Open
patrick-5546 wants to merge 11 commits into
patrick-5546 wants to merge 11 commits into
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Interviews (was Internship Preparation)
Redirects keep every old
internship_prep/URL working.make lint,make buildandmake linkspass.Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com