Save this video free

CSCE 611 Fall 2026 Lecture 8: RISC-V Microarchitecture 1

Jason D. Bakos · 1:16:27 · Watch on YouTube

Part of University of South Carolina CSCE 611. See all 12 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Jason D. Bakos reviews SystemVerilog timing and coding semantics, then introduces the RISC-V microarchitecture required for Lab 3: a 22-instruction, three-stage CPU implemented with an instruction ROM, 32x32 three-port register file, combinational ALU, and CSRRW-based FPGA I/O. The lecture emphasizes nonblocking assignments, pipeline timing, RISC-V R/I/U encodings, register-file bypassing, and the difference between instruction latency and throughput.

Key takeaways

Chapters

0:00 SystemVerilog Quiz: Latches, Assignment Timing, and Reset Semantics
9:00 Tracing Next-State Logic and Bit-Level State Evolution
17:00 SystemVerilog Combinational Rules and Testbench Truth Tables
24:00 Instruction RAM and the RISC-V Three-Address Register File
30:00 Register-File Hardware, Read-After-Write Behavior, and Bypass Logic
37:00 Combinational ALU Operations and Manual Arithmetic Right Shifts
40:00 Lab 3 Scope: A 22-Instruction RISC-V CPU
45:00 RISC-V R, I, and U Encodings for Datapath Control
50:00 CSRRW-Based FPGA I/O with Switches and Hex Displays
55:00 CPU Module Structure, Instruction ROM, and Program Loading
1:00:00 Fetch, Execute, and Write-Back Pipeline Organization
1:05:00 Pipeline Timing, Stage-Specific Signals, and Reset Flushing
1:10:00 Register Destination Delays and Three-Stage Alignment
1:14:00 CPU Verification Programs and Binary-to-Decimal Demonstration

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:00 Okay. So, um, some of these questions I wrote and some of these questions Alex wrote. So, um, um, so you see different writing style here. Um, so first one is what's the problem with this system module which is intended to be a MX if any. [snorts] So we have an always comm uh there's a case statement. There's no begin and end on the always comm because the case statement counts as one statement. So you don't need that. But you'll notice that the case statement doesn't have a default. So um the problem is is that if the select input is something other than these three options, then the always com won't know how to assign the output which is Y in this case and thus this will end up being a latch. Of course I mean it would

0:48 behave as a latch nominally but it would actually not even compile because this always underscorecom. So this all this underscorecom is a system verarilog as opposed to verarilog feature that's designed to protect you against accidentally creating uh latches. So this would actually give you an error for that reason. Does that make sense? You guys with me? Okay. So yeah, the the latch is inferred by the case statement because we're missing um one one. So we have we account for the input being 0 0 1 1 0 but not one one. Um yeah and select is two bits. Okay. Uh what happens to the values of A and B after this block of code runs on each clock edge? This one is intended to

1:38 uh check to see if you understand blocking versus non-blocking assignment. So this one is using the so-called blocking assignment, the equal sign. And so in this case when you get a positive

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Jason D. Bakos.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.