summaryrefslogtreecommitdiff
path: root/cpu/example_cpu.ml
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/example_cpu.ml')
-rw-r--r--cpu/example_cpu.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/example_cpu.ml b/cpu/example_cpu.ml
index e626cae..17106b6 100644
--- a/cpu/example_cpu.ml
+++ b/cpu/example_cpu.ml
@@ -5,7 +5,7 @@ open Netlist_gen
let sumz n i =
let x, set_x = loop n in
let r = reg n x in
- let o1, o2 = Alu.nadder n i r (const "0") in
+ let o1, o2 = Alu.nadder_with_carry n i r (const "0") in
set_x o1, o2
let p =