diff options
Diffstat (limited to 'hdl')
| -rw-r--r-- | hdl/top.sv | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -133,7 +133,7 @@ always_ff @(posedge clk) begin | |||
| 133 | if (operand[1]) ++acc; | 133 | if (operand[1]) ++acc; |
| 134 | if (operand[2]) --acc; | 134 | if (operand[2]) --acc; |
| 135 | if (operand[6]) state = MEMORY; | 135 | if (operand[6]) state = MEMORY; |
| 136 | if (operand[7]) state = HALT; | 136 | if (operand == 0) state = HALT; |
| 137 | end | 137 | end |
| 138 | 'h1: acc = sign_extended_operand; | 138 | 'h1: acc = sign_extended_operand; |
| 139 | 'h2, 'h3: begin | 139 | 'h2, 'h3: begin |
