From 2392043f5e44af97a8d84d05fa02c13ece0adcb0 Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Fri, 3 Jan 2014 22:50:46 +0100 Subject: Corrected serial mmio --- cpu/cpu.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/cpu.ml b/cpu/cpu.ml index e47c0c8..23c0875 100644 --- a/cpu/cpu.ml +++ b/cpu/cpu.ml @@ -54,7 +54,7 @@ let cpu_ram ra we wa d = let ser_busy = nonnull 8 ser in let read_data = set_ser_in_busy ser_busy ^. - set_next_ser ser ^. + set_next_ser (mux read_ser ser (zeroes 8)) ^. mux read_ser read_data ser in set_dbg_ra ra ^. -- cgit v1.2.3