summaryrefslogtreecommitdiff
path: root/hdl/top.sv
diff options
context:
space:
mode:
Diffstat (limited to 'hdl/top.sv')
-rw-r--r--hdl/top.sv9
1 files changed, 1 insertions, 8 deletions
diff --git a/hdl/top.sv b/hdl/top.sv
index 4f56b1f..c87cc29 100644
--- a/hdl/top.sv
+++ b/hdl/top.sv
@@ -126,14 +126,7 @@ always_ff @(posedge clk) begin
126 if (operand[3]) --idx; 126 if (operand[3]) --idx;
127 if (operand[4]) {idx, acc} = {acc, idx}; 127 if (operand[4]) {idx, acc} = {acc, idx};
128 if (operand[5]) idx = acc; 128 if (operand[5]) idx = acc;
129 if (operand[6]) begin 129 if (operand[6]) state = MEMORY;
130 if (tx_valid) begin
131 state = MEMORY;
132 end else begin
133 tx_valid = 1;
134 tx_data = acc[7:0];
135 end
136 end
137 if (operand[7]) state = DECODE; 130 if (operand[7]) state = DECODE;
138 end 131 end
139 endcase 132 endcase