RISCV ALU Specifications

Status
Not open for further replies.

michaelScott

Junior Member level 2
Joined
Mar 19, 2022
Messages
24
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
161
Hello people,
I am designing an ALU for RISCV processor and i wonder if i need to perform compare and branches instructions inside the alu.
thanks in advance
 

Attachments

  • 1.JPG
    100.4 KB · Views: 176

Hi
i wonder if i need to perform compare and branches instructions inside the alu.
a branch is usually not the task of an ALU
..but the compare usually is performed as a subtract ... by at least setting some flags...

Klaus
 

Hi

a branch is usually not the task of an ALU
..but the compare usually is performed as a subtract ... by at least setting some flags...

Klaus
thanks for the reply,
so we perform arithmetical, logical, compare, jump&link operations in the ALU right?
 

Hi,

sorry for not being clear enough.
Again: I don´t think a "jump" or "branch" belongs to the ALU.

There are internet sites like wikipedia and many others that more exactly define what´s an ALU.

Klaus
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…