R
Rob Misc
Guest
Hi,
I have a component which has a latency that needs to be known by
anything that instantiates it. The component sits in its own library
and so I've created a package with the latency in that is included by
anything that instantiates the component. Is that the good way of
doing things?
Now, I want to have two different versions of the component,
controlled by a generic. Unfortunately the latency of the component
will be different for each version. How can I go about providing the
latency as a constant now? As I understand it, you can't have generics
in a package.
I suppose an alternative is to create a integer port on the component
which outputs the latency, but that's really horrible. Is there any
better of doing what I've described?
Thanks,
Rob.
I have a component which has a latency that needs to be known by
anything that instantiates it. The component sits in its own library
and so I've created a package with the latency in that is included by
anything that instantiates the component. Is that the good way of
doing things?
Now, I want to have two different versions of the component,
controlled by a generic. Unfortunately the latency of the component
will be different for each version. How can I go about providing the
latency as a constant now? As I understand it, you can't have generics
in a package.
I suppose an alternative is to create a integer port on the component
which outputs the latency, but that's really horrible. Is there any
better of doing what I've described?
Thanks,
Rob.