Pipelined RISC-V Computer Architecture

A Beginner-Friendly Guide to Logic Gates, Assembly Programming, and the Hardware Software InterfaceBy Tomasz Zielinski
Listen with Sir Michael Caine™ and 1,000+ voices
Length16h 7m

About this audiobook

Start at a single logic gate and finish able to explain how a pipelined processor executes your C code. This book never skips a layer. You build combinational blocks into an arithmetic logic unit, add flip-flops and timing constraints, design finite state machines, and model all of it in a hardware description language with testbenches. Then you meet the instruction set: register formats, encodings, assembly control flow, procedures and the stack, and the exact path from C source through compiler and linker to memory. From there you construct a single-cycle datapath, pipeline it, resolve data and control hazards with forwarding and stalls, and measure the result. Caches, virtual memory, multicore parallelism and device input and output close the book. Every chapter connects the abstract model to the concrete hardware, so you always know which layer you are standing on and why the next one matters. What you will learn: • Convert between number systems and represent signed and unsigned values in binary • Apply Boolean algebra to simplify expressions and build logic gates • Combine gates into adders, multiplexers, decoders and other combinational blocks • Use flip-flops, clocks and timing constraints to create reliable sequential logic • Design finite state machines and implement them in a hardware description language with testbenches • Read and write RISC-V assembly, including control flow, procedures and stack discipline • Trace the path from C source through compiler and linker to machine code in memory • Construct a single-cycle datapath and then pipeline it with forwarding and stalls • Evaluate branch prediction, caches, virtual memory, parallelism and input-output For computer engineering students and self-taught systems programmers who want a complete, hands-on path from digital logic to a working pipelined RISC-V processor. If you have basic programming experience and are ready to understand the hardware-software interface from the ground up, this book is for you.

Audiobook details

GenreTechnology
Length16 hrs 7 mins
Narrated byListen with 1,000+ voices
FormateBook with Audio
Publish dateSep 28, 2026
LanguageEnglish

Table of contents

1Pipelined RISC-V Computer Architecture
2Foreword
3Preface
4About This Book
5Chapter 1: Number Systems and Binary Representation
Show all chapters
61.1 Positional Notation and Base Conversion
71.2 Unsigned Binary Arithmetic and Range
81.3 Two’s Complement and Signed Arithmetic
91.4 Overflow Detection and Saturation
101.5 Fixed-Point and Floating-Point Formats
111.6 Precision, Rounding and Representation Limits
12Chapter 2: Boolean Algebra and Logic Gates
132.1 Logic Values, Gates and Truth Tables
142.2 Boolean Theorems and Algebraic Simplification
152.3 Canonical Forms and Standard Representations
162.4 Karnaugh Maps and Minimisation
172.5 Don’t-Care Conditions and Practical Minimisation
182.6 From Equations to Gate Networks
19Chapter 3: Combinational Building Blocks
203.1 Half Adders, Full Adders and Ripple Carry
213.2 Carry-Lookahead and Prefix Adders
223.3 Subtraction, Comparators and Condition Flags
233.4 Multiplexers, Decoders and Encoders
243.5 Shifters and Barrel Shifters
253.6 The Arithmetic Logic Unit
26Chapter 4: Sequential Logic
274.1 Latches, Flip-Flops and Level versus Edge Triggering
284.2 Registers, Register Files and Counters
294.3 Timing Analysis: Setup, Hold and Clock Skew
304.4 Metastability and Synchronizers
314.5 Reset Strategies and Clock Enables
32Chapter 5: Finite State Machines
335.1 State Diagrams, Moore and Mealy Models
345.2 State Encoding and State Assignment
355.3 Next-State and Output Logic Design
365.4 A Worked Controller: Traffic Light with Pedestrian Request
37Chapter 6: Hardware Description Languages
386.1 Modules, Ports and Structural Modelling
396.2 Behavioural and Dataflow Modelling
406.3 Parameterised Modules and Generate Constructs
416.4 Testbenches and Simulation
426.5 What Synthesis Produces and What It Rejects
43Chapter 7: The RISC-V Instruction Set
447.1 Registers, Program Counter and Instruction Categories
457.2 R, I, S, B, U and J Instruction Formats
467.3 Addressing Modes and Memory Access
477.4 Control Flow Instructions and Comparison
48Chapter 8: Assembly Programming
498.1 Arithmetic, Logic and Shift Instructions in Assembly
508.2 Branches, Loops and Conditional Execution
The Honey BusMeredith May9h 31m4.4 (16.6K)$25 · $0.00
Collected Writings of Nikola TeslaThomas Commerford Martin, Nikola Tesla19h 42m4.4 (2.8K)$1.99 · $0.00
Operation PedestalMax Hastings12h 29m4.4 (5.2K)$29 · $0.00
When the Heavens Went on SaleAshlee Vance18h 20m4.4 (3K)$40 · $0.00
Everybody Has a Podcast (Except You)Justin McElroy, Travis McElroy, Griffin McElroy5h 9m4.3 (2.3K)$24 · $0.00
Hands of TimeRebecca Struthers8h 8m4.4 (1.3K)$26 · $0.00
Never Lost AgainBill Kilday10h 1m4.4 (805)$29 · $0.00
How the Internet HappenedBrian McCullough13h 28m4.3 (2.7K)$23 · $0.00
Collected Writings of Nikola TeslaNikola Tesla, Thomas Commerford Martin21h 50m4.3 (1.7K)$1 · $0.00
Just AspireAjai Chowdhry9h 13m4.4 (260)$29 · $0.00
The Little Book of AliensAdam Frank8h 20m4.3 (1.3K)$26 · $0.00
The inventions, researches and writings of Nikola Tesla (Annotated)Thomas Commerford Martin16h 59m4.3 (1.3K)$2 · $0.00
KargilV.P. Malik15h 18m4.3 (2K)$24 · $0.00
Experiments with Alternating CurrentsNikola Tesla9h 16m4.3 (874)$1.99 · $0.00
Fire on the HorizonTom Shroder, John Konrad8h 23m4.3 (858)$26 · $0.00
The Smell of Kerosene (Annotated)National Aeronautics and Space Administration, Donald L. Mallick, Peter W. Merlin11h 32m4.3 (523)$2 · $0.00
The Boy Who Harnessed the WindWilliam Kamkwamba, Bryan Mealer10h 5m4.2 (78.9K)$29 · $0.00
Across the Airless WildsEarl Swift10h 8m4.3 (1.3K)$29 · $0.00
Console WarsBlake J. Harris20h 41m4.2 (13.7K)$46 · $0.00
Improvised Munitions HandbookU.S. Department of Defense4h 49m4.3 (1.6K)$1.99 · $0.00

You may also like

Information Doesn’t Want to Be FreeCory Doctorow5h 5m4.1 (8.1K)$17
AngelJason Calacanis8h 20m4.4 (4.4K)$26 · $0.00
Powering the FutureRobert B. Laughlin5h 46m3.9 (204)$14
When Bits Become WavesImad Muratspahic1h 17m$14 · $0.00
Cryptocurrency: A Beginner’s Guide to Cryptocurrency and Blockchain (A Beginner's Guide to Investing and Profiting From Digital Assets in the New Economy)Frank Shepard2h 33m$3.50 · $0.00
Build. Test. Secure. Ship.""Alex Renner9h 50m$10
Polygon (MATIC)Isla L. Gallagher4h 18m$4.10 · $0.00
Battery PoweredRichard Skiba12h 32m$2.90 · $0.00
Tube, Train, Tram, and Car; or, Up-to-date locomotionArthur H. Beavan7h 28m$2 · $0.00
Vision by Radio, Radio Photographs, Radio PhotogramsC. Francis Jenkins2h 4m$2.40
AnticipationsH. G. Wells9h 1m3.0 (90)$2.30
Reminiscences of a Liverpool Shipowner, 1850-1920Sir William Bower Forwood1h 58m$1 · $0.00
Direct Conversion of EnergyWilliam R. Corliss1h 53m$1 · $0.00
Viral Video. Content is king, distribution is queen. Social video advertising: discover the most advanced industry techniques to make a Youtube video go viralDario Caiazzo, Andrea Febbraio, Umberto Lisiero3h 7m3.3 (19)$12
Hertzian Wave Wireless TelegraphyJ. A. Sir Fleming5h 29m$2 · $0.00
Blockchain for BeginnersUnknown Author42m$17 · $0.00
Cryptocurrencies: What they are, how they work and how to tax them in BrazilUnknown Author1h$17 · $0.00
Zero GravitySteve Harmon10h 46m2.4 (36)$21
Learner CircleTenzim Norzom7m$4
NFTs : The Future of Digital PropertyUnknown Author43m3.8 (11)$17 · $0.00