I'm looking at the Digilent RS232 reference component available from http://www.digilentinc.com/Products/Detail.cfm?Prod=S3EBOARD for the Spartan 3E Starter Kit. I began putting together a testbench, but the VHDL code contains an 'inout' port.
I've been looking at the code for the RS232 component, and I don't see how the RDA port is ever an input port - RDA is "Read Data Available", which indicates that there is a word ready to be read; I see that as an output function. I thought it would be clear why this was 'inout' after reading the code, but I cannot see how this is an input function at all.
Any thoughts? Thanks for your help, all.