-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Controller Outputs | ||
|
||
``` | ||
rd_sel_o : out std_ulogic_vector (1 downto 0) | ||
sub_sra_o : out std_ulogic | ||
addr_sel_o : out std_ulogic | ||
alu_a_sel_o : out std_ulogic | ||
alu_b_sel_o : out std_ulogic | ||
mem_write_en_o : out std_ulogic | ||
rd_clk_o : out std_ulogic | ||
pc_clk_o : out std_ulogic | ||
ir_clk_o : out std_ulogic | ||
pc_alu_sel_o : out std_ulogic | ||
pc_next_sel_o : out std_ulogic | ||
done_o : out std_logic | ||
``` | ||
|
||
| Instruction | rd[1:0] | sub_sra | addr | alu_a | alu_b | mem_write_en | rd_clk | pc_clk | ir_clk | pc_alu | pc_next | done | | ||
| ----------- | ------- | ------- | ---- | ----- | ----- | ------------ | ------ | ------ | ------ | ------ | ------- | ---- | | ||
| lui | 01 | 0 | 1 | [1] | 1 | 0 | dr | dr | dr | 1 | 0 | 0 | | ||
| auipc | 01 | 0 | 1 | 1 | 1 | 0 | dr | dr | dr | 0 | 0 | 0 | | ||
|
||
[^1] This somehow has to be pointing to 0! how? and the op bits should be add! |