summaryrefslogtreecommitdiff
path: root/cpu/netlist_gen.ml
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/netlist_gen.ml')
-rw-r--r--cpu/netlist_gen.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/netlist_gen.ml b/cpu/netlist_gen.ml
index 0c38b6f..1aad452 100644
--- a/cpu/netlist_gen.ml
+++ b/cpu/netlist_gen.ml
@@ -198,7 +198,7 @@ let program entries outputs =
{ p_inputs = p.p_inputs;
p_eqs = p.p_eqs;
p_vars = p.p_vars;
- p_outputs = outputs }
+ p_outputs = List.rev outputs }
(* Netlist printer *)