Save this video free

CSCE 611 Fall 2026 Lecture 2: RISC-V ISA 1

Jason D. Bakos · 1:15:57 · 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 RISC-V assembly concepts needed to design a CPU, then demonstrates instruction execution and debugging in RARS. He also introduces fixed-point arithmetic, showing how scaling and 64-bit product re-normalization support Lab 1’s FPGA square-root calculator using 18 switches and hex displays.

Key takeaways

Chapters

0:00 Course Plan, RARS Setup, and Lab 1 Logistics
2:29 Why CPU Design Requires RISC-V Assembly and Load-Store Thinking
5:05 RISC-V Register Numbers, ABI Names, and the Zero Register
9:27 Immediate Instructions and Register-Lifetime Bugs
15:39 Branch Logic, If-Else Translation, and Array Loop Counters
22:42 The RISC-V Instruction Subset for the Course CPU
25:23 RARS Assembly, Machine Code, and Single-Step R-Type Demos
34:01 Immediate Arithmetic and Shifts in the RARS Simulator
36:44 Conditional Branches, Jump-and-Link, and Link Addresses
42:14 Base-Offset Loads and Computing Array Element Addresses
48:22 CSR-Based FPGA I/O with RISC-V CSRRW
54:28 RARS Console System Calls and Lab 1 Input/Output
58:26 Binary Place Values, Unsigned Ranges, and Two’s-Complement Ranges
1:01:41 Fixed-Point Scaling, Fractional Bits, and Numeric Resolution
1:07:31 64-Bit Fixed-Point Products and Lab 1’s FPGA Square-Root Search

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

Transcript excerpt

0:00 Today, I my [clears throat] plan is to briefly review what I talked about in lab last week and then I'm going to hopefully finish introducing all the risk five assembly language stuff. Um and then part of that is we'll I'll show you some demos, we'll run some code. And then I'm going to switch topics a bit and talk about something called fixed point representation. Have any of you heard of that? Use that in 313 at all? Used to. Um and but we'll talk about that and then I'll introduce lab one. So, if you go to Dropbox, it should be updated now. I've got the syllabus, the lecture recordings on there. Um under important links, there's a thing called

0:47 JRE download to run RARS. So, we use a simulator a risk five simulator called RARS. Uh it's runs in Java, so you need a Java virtual machine. So, I got a link there if you want to run that on your on your own system. Uh then we've got some other miscellaneous downloads. We've got RARS itself. RARS is on a GitHub repo, but we've got a modified version that allows you to do IO with the FPGA boards and I'll talk more about that uh soon. But you can download that there or you can use it on the lab machines. Um lab one is is where you use RARS basically write some code. It's the only lab where you don't need the FPGA boards in the lab. So, you could do lab one on your own system if you want to. Um

1:34 lecture slides are under downloads. I've got the first lab already posted. Uh so, I mentioned in the when I was talking about the syllabus that late penalties only accrue during school

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.