From f4abb6c6014eb8a46236bf44eecea82f44124d75 Mon Sep 17 00:00:00 2001 From: oharboe Date: Thu, 4 Sep 2008 12:17:30 +0000 Subject: a bit of info on implementing a UART --- zpu/docs/zpu_arch.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/zpu/docs/zpu_arch.html b/zpu/docs/zpu_arch.html index 5404057..67a572e 100644 --- a/zpu/docs/zpu_arch.html +++ b/zpu/docs/zpu_arch.html @@ -1582,7 +1582,15 @@ of the simpler ones: http://www.opencores.org/projects.cgi/web/uart/overview - +

Implementing your own UART / debug channel

+The first thing you need to do is to choose a debug channel for your +hardware. This could be a UART, but it doesn't have to be. +

+Secondly you should write a small HDL module that interface between +the ZPU memory map of debug channel to the UART. This should + be relatively simple as all you need to do is to let the ZPU + query the FIFO in/out for busy flag and allow the ZPU to read/write + data to the UART via the memory map.

About zpu_core.vhd

The zpu_core.vhd has a single port memory interface. All data, code and IO is -- cgit v1.1