Build a RISC-V CPU core with TL-Verilog
pip3 install makerchip-appmakerchip riscv.tlv- ALU
- Register file write
7. Branch logic
| Instruction | Meaning | Condition Expression |
|---|---|---|
| BEQ | Branch if equal | x1 == x2 |
| BNE | Branch if not equal | x1 != x2 |
| BLT | Branch if less than | (x1 < x2) ^ (x1[31] != x2[31]) |
| BGE | Branch if greater than or equal | (x1 >= x2) ^ (x1[31] != x2[31]) |
| BLTU | Branch if less than, unsigned | x1 < x2 |
| BGEU | Branch if greater than or equal, unsigned | x1 >= x2 |
- Jump logic
- DMem









