P
Pontus Stenstrom
Guest
Subcomponents have the GENERIC "input" port to enable parametrisation
of
the component itself, however this might also require some changes of
the instantiating part.
It would be nice to have a GENERIC "ouput" so that the instatiating
component could take care of some of the requirements induced by the
current parametrisation. Is there a method for this?
Example:
At reset you want to restart from a given state, and to get into this
state might take some time, FFs with async reset immidiatly go to
there
reset state, but what about deep chains of FFs without async reset, or
shift registers, or block RAMs etc. It may take a number of clocks
to clear all.
So a shift register with depth of 10 would need 10 cycles, etc.
The block generating reset would need to know the requirements off all
subcomponents and then select the largest value.
Then it can release reset, and all components will be fully reset.
Handshake is one solution, but that is not solving the problem at
compile-time (synt).
/Pontus
of
the component itself, however this might also require some changes of
the instantiating part.
It would be nice to have a GENERIC "ouput" so that the instatiating
component could take care of some of the requirements induced by the
current parametrisation. Is there a method for this?
Example:
At reset you want to restart from a given state, and to get into this
state might take some time, FFs with async reset immidiatly go to
there
reset state, but what about deep chains of FFs without async reset, or
shift registers, or block RAMs etc. It may take a number of clocks
to clear all.
So a shift register with depth of 10 would need 10 cycles, etc.
The block generating reset would need to know the requirements off all
subcomponents and then select the largest value.
Then it can release reset, and all components will be fully reset.
Handshake is one solution, but that is not solving the problem at
compile-time (synt).
/Pontus