--- Quote Start ---
hello,
in my attachment is my zpu_core(my processor) and a uart. mem_write is data output from my
processor.it has 32 bits width.how to write an address decoder between zpu_core and uart serial?? i'm still thinking about it...any starting idea would be greatly appreciated..
Thx
--- Quote End ---
I saw your attachment. However all the signals for the uart can not be seen in the snapshot (please post it again). A rough idea is as follows:
1. You need to decode the address to select the uart component. This means when the address lines of the processor are loaded with values pertaining to the address space of the uart, there has to be some means to start the uart operation.
2. I don't see any address lines in the uart component. Does it have a select/enable component? In that case when the uart address is loaded on the zpu address bus, the select/enable lines should go high for the uart. You need to write an if-else type of construct for this. This is what we would call address decoding in this case.