T
Tom
Everyone,
I've got a 'black box' component which has in, out and inout ports.
This component is an existing design of a chip which cannot (should
not) be modified. The VHDL model of this chip does not include any
delays (in simulations all signals change immediately after the clock
edge).
For system-level simulations, I am building a wrapping entity around
this 'black box' chip in which I model the delays on the output
signals.
This goes as follows:
* input signals are assigned directly:
input_signal_internal <= input_signal_external;
* for output signals the real chip's delay is added:
output_signal_external <= output_signal_internal after <whatever> ns;
But what do I do for bidirectional signals ? Does a similar setup like
for output signals work? Note that I do not have a simple handshake
signal which tells me whether the bidirectional line is an input or an
output at any specific time, but if needed I can probably infer the
direction by decoding a bunch of external signals.
Any suggestions? Is this possible without a direction signal?
greetings,
Tom
I've got a 'black box' component which has in, out and inout ports.
This component is an existing design of a chip which cannot (should
not) be modified. The VHDL model of this chip does not include any
delays (in simulations all signals change immediately after the clock
edge).
For system-level simulations, I am building a wrapping entity around
this 'black box' chip in which I model the delays on the output
signals.
This goes as follows:
* input signals are assigned directly:
input_signal_internal <= input_signal_external;
* for output signals the real chip's delay is added:
output_signal_external <= output_signal_internal after <whatever> ns;
But what do I do for bidirectional signals ? Does a similar setup like
for output signals work? Note that I do not have a simple handshake
signal which tells me whether the bidirectional line is an input or an
output at any specific time, but if needed I can probably infer the
direction by decoding a bunch of external signals.
Any suggestions? Is this possible without a direction signal?
greetings,
Tom