Mike Treseler <> wrote in message news:<FOqdnUlazdu0K3ndRVn->...
> Pino wrote:
>
> > I'm not completely clear on how to use bidirectional ports in VHDL for
> > use with connecting to SDRAM shared data lines. How do I specify this
> > in my state machine if I am to read and then write to the line?
>
> http://groups.google.com/groups?q=vhdl+inout+oe
>
> -- Mike Treseler
Thanks, I think this might be what I was looking for; however, just
one more clarification in case I mis-interpreted the solution. It
seems from this example you need to identify an input port, an output
port, and the bidirectional port.
When you want to be able to place data to the memory shared data line,
you take this from a instantiated input port and multiplex it directly
to the INOUT bidirectional port using an OE line; i.e, Z <= A;
If you want information from the memory data line, then you multiplex
in the data when OE = '0', and assign it to the bidirectional port,
but to what? This is where I am a bit confused.....sorry. That is Y
<= Z? Is this correct way of interpreting the response
Note Z represents the bidirectional port, A is an input port and Y is
an output port as per the example.
Your help is appreciated....
Pino