1Learning Outcomes¶
TODO
TODO
🎥 Lecture Video
2Tracing the Branch Datapath¶
3Branch Comparator Block¶

Figure 1:Branch Comparator Block
This subcircuit takes two inputs and outputs the result of comparing the two inputs. This output later is used to implementing branches.
3.1Course Project Details¶
Table 1:Signals for Branch Comparator. Course project signal names, if different, are in parentheses.
| Name | Directino | Bit Width | Description |
|---|---|---|---|
A (BrData1) | Input | 32 | First value to compare |
B (BrData2) | Input | 32 | Second value to compare |
BrUn | Input | 1 | 1 when an unsigned comparison is wanted, and 0 when a signed comparison is wanted |
BrEq | Output | 1 | Set to 1 if the two values are equal |
BrLt | Output | 1 | Set to 1 if the value in rs1 is less than the value in rs2 |