Skip to content

Commit a90bdc0

Browse files
committed
2 parents c14a2db + d93caf3 commit a90bdc0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/info.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,17 +82,17 @@ An edge-detected pushbutton (connected via `uio_in[0]`) triggers instruction loa
8282
#### Control FSM
8383
The `fsm_control` module orchestrates datapath sequencing using a 5-state FSM:
8484

85-
1. `S_IDLE`: Waits for button press and valid instruction
85+
1. `S_IDLE = 0x0`: Waits for button press and valid instruction
8686

87-
2. `S_DECODE`: Decodes opcode, issues control signals for load/store/ALU
87+
2. `S_DECODE = 0x1`: Decodes opcode, issues control signals for load/store/ALU
8888

89-
3. `S_SHIFT_REGS`: Performs serial operations; enables register shifting and accumulator writes
89+
3. `S_SHIFT_REGS = 0x2`: Performs serial operations; enables register shifting and accumulator writes
9090

91-
4. `S_WRITE_ACC`: Special case state for direct writes (not commonly used)
91+
4. `S_WRITE_ACC = 0x3`: Special case state for direct writes (not commonly used)
9292

93-
5. `S_OUTPUT`: Signals end of execution and enables writing to output LEDs
93+
5. `S_OUTPUT = 0x4`: Signals end of execution and enables writing to output LEDs
9494

95-
The FSM generates control signals including `reg_shift_en`, `acc_write_en`, `alu_start`, `alu_op`, and `out_e`n based on instruction type.
95+
The FSM generates control signals including `reg_shift_en`, `acc_write_en`, `alu_start`, `alu_op`, and `out_en` based on instruction type.
9696

9797
#### Register File
9898
The regfile_serial module implements an 8x8 register file, where each register is 8 bits wide. It supports:

0 commit comments

Comments
 (0)