diff options
author | Alex AUVOLAT <alex.auvolat@ens.fr> | 2014-01-14 14:20:57 +0100 |
---|---|---|
committer | Alex AUVOLAT <alex.auvolat@ens.fr> | 2014-01-14 14:20:57 +0100 |
commit | 4447c0027a3009eb280e2e08ca6b9753d265938e (patch) | |
tree | 39c3cb716381bb6c5b723a6f5f785bdb3a46adf0 | |
parent | da001d3b59438bd14443fa5978ae3be7e308d348 (diff) | |
download | SystDigit-Projet-4447c0027a3009eb280e2e08ca6b9753d265938e.tar.gz SystDigit-Projet-4447c0027a3009eb280e2e08ca6b9753d265938e.zip |
Division now works :)
-rw-r--r-- | cpu/cpu.ml | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -163,7 +163,7 @@ let rl, rh, i, ex, exf, pc = let wr = mux instr_alu_finished wr i_r in let rwd = mux instr_alu_finished rwd alu_d1 in let wr = mux instr_alu_store_2 wr (const "101") in - let rwd = mux instr_alu_store_2 rwd alu_d2 in + let rwd = mux instr_alu_store_2 rwd (reg 16 alu_d2) in let exec_finished = mux instr_alu exec_finished (mux double_instr_alu instr_alu_finished instr_alu_store_2) in |