Index: trunk/sim/simula.do
===================================================================
--- trunk/sim/simula.do	(revision 27)
+++ trunk/sim/simula.do	(revision 34)
@@ -49,12 +49,15 @@
 #vsim -c -t ps -novopt +notimingchecks work.tb_top glbl
 
-add wave sim:/tb_top/W1_inst/dram_wb_inst/*
+#add wave sim:/tb_top/W1_inst/dram_wb_inst/*
 #exit
-pause
+#pause
 onerror {resume}
 #Log all the objects in design. These will appear in .wlf file#
 log -r /*
+run -all
+exit
+
 #View sim_tb_top signals in waveform#
-add wave sim:/tb_top/*
+#add wave sim:/tb_top/*
 
 #Change radix to Hexadecimal#
Index: trunk/sw/uart.c
===================================================================
--- trunk/sw/uart.c	(revision 33)
+++ trunk/sw/uart.c	(revision 34)
@@ -3,4 +3,5 @@
 const long UART_BASE_ADR[1] = {0x800000FFF0C2C000};
 const int UART_BAUDS[1] = {0};
+const int BAUD_RATE =100000;
 const int IN_CLK =50000000;
 
@@ -59,5 +60,5 @@
 	long allone=0xffffffffffffffff;
 	int divisor;
-	float float_divisor;
+	//float float_divisor;
 	/* Reset receiver and transmiter */
 	REG8( UART_FCR ) = UART_FCR_ENABLE_FIFO | UART_FCR_CLEAR_RCVR | UART_FCR_CLEAR_XMIT | UART_FCR_TRIGGER_14;
@@ -73,8 +74,9 @@
 	
 	/* Set baud rate */
-	float_divisor = (float) IN_CLK/(16 * UART_BAUDS[core]);
-	float_divisor += 0.50f; // Ensure round up
-	divisor = (int) float_divisor;
-	
+	//float_divisor = (float) IN_CLK/(16 * UART_BAUDS[core]);
+	//float_divisor += 0.50f; // Ensure round up
+	//divisor = (int) float_divisor;
+	divisor = BAUD_RATE;
+
 	REG8(UART_BASE_ADR[core] + UART_LCR) |= UART_LCR_DLAB;
 	REG8(UART_BASE_ADR[core] + UART_DLL) = divisor & 0x000000ff;
