summaryrefslogtreecommitdiff
path: root/eater_cpu/eater_computer.sv
diff options
context:
space:
mode:
authoruvok2026-01-19 19:20:45 +0100
committeruvok2026-01-19 19:20:45 +0100
commitf127505b779dcb134fa48bcf2bf59810b60348c5 (patch)
treedaefefd52ae7e388ddd3faaabd7b1c14939bdd00 /eater_cpu/eater_computer.sv
parent78d771dc71ca266b640d2b791cd1d06b7895b5f2 (diff)
eater: Add subtract flag
Diffstat (limited to 'eater_cpu/eater_computer.sv')
-rw-r--r--eater_cpu/eater_computer.sv2
1 files changed, 1 insertions, 1 deletions
diff --git a/eater_cpu/eater_computer.sv b/eater_cpu/eater_computer.sv
index 7c8eb17..18b6833 100644
--- a/eater_cpu/eater_computer.sv
+++ b/eater_cpu/eater_computer.sv
@@ -130,7 +130,7 @@ eater_alu alu (
.en_output_in(flags.ALU_out),
.A_in(A_out),
.B_in(B_out),
- .subtract_n_add_in(1'b0),
+ .subtract_n_add_in(flags.ALU_subtract_nadd),
.bus_out(bus)
);