From 5859664630f0690fa9d0eacd9e1d0bc45438c8f4 Mon Sep 17 00:00:00 2001 From: Roberto Hexsel <roberto@inf.ufpr.br> Date: Fri, 14 Apr 2017 16:25:15 -0300 Subject: [PATCH] 2nd attempt: new baud rates for UART --- cMIPS/vhdl/uart.vhd | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/cMIPS/vhdl/uart.vhd b/cMIPS/vhdl/uart.vhd index adc1d5a..efd0fc2 100644 --- a/cMIPS/vhdl/uart.vhd +++ b/cMIPS/vhdl/uart.vhd @@ -27,8 +27,7 @@ -- 010: 1/16 CPU clock rate -- for VHDL/C debugging only -- 011: 1/32 CPU clock rate -- for VHDL/C debugging only -- 100: 230.400 baud --- 100: 115.200 baud --- 101: 57.600 baud +-- 101: 115.200 baud -- 110: 19.200 baud -- 111: 9.600 baus -- b3=1: signal interrupt on RX buffer full, when a new octet is available @@ -570,7 +569,6 @@ begin 32/2 when b"011", 217/2 when b"100", -- 230.400 434/2 when b"101", -- 115.200 - 868/2 when b"110", -- 57.600 2604/2 when b"110", -- 19.200 5208/2 when others; -- 9.600 @@ -579,8 +577,7 @@ begin -- 010: 1/16 CPU clock rate -- for VHDL/C debugging only -- 011: 1/32 CPU clock rate -- for VHDL/C debugging only -- 100: 230.400 baud --- 100: 115.200 baud --- 101: 57.600 baud +-- 101: 115.200 baud -- 110: 19.200 baud -- 111: 9.600 baus @@ -621,7 +618,6 @@ begin 32/2 when b"011", 217/2 when b"100", -- 230.400 434/2 when b"101", -- 115.200 - 868/2 when b"110", -- 57.600 2604/2 when b"110", -- 19.200 5208/2 when others; -- 9.600 @@ -1064,7 +1060,6 @@ begin 32/2 when b"011", 217/2 when b"100", -- 230.400 434/2 when b"101", -- 115.200 - 868/2 when b"110", -- 57.600 2604/2 when b"110", -- 19.200 5208/2 when others; -- 9.600 @@ -1093,7 +1088,6 @@ begin 32/2 when b"011", 217/2 when b"100", -- 230.400 434/2 when b"101", -- 115.200 - 868/2 when b"110", -- 57.600 2604/2 when b"110", -- 19.200 5208/2 when others; -- 9.600 -- GitLab