Category: Design Example
Verilog/SystemVerilog: Why use structs?
“Why do we need structs when we can represent all our ports and internal signals with wires, registers, and logic type?” This is one of…
Design Example: CPU Registers 01
A module that implements registers in a CPU. There are 8 registers R0 – R7. Each register is 32-bits wide. Each register has an input…
Design Example: ALU 01 Testbench (alu_01_tb_01)
Testbench for ALU 01 design example is shown below.