M
Maki
Guest
Hello all,
In top level description of my processor I have few generic constants. One
of them define how much timers exist in the model.
Timers have two registers: TMR_CFG and TMR_VAL. I keep addresses of these in
separate package as a constant.
How can initialize constants in the package depending of the value of
generic which is in top level file.
I other words I need to generate constants in the package depending on the
value of generic. These constants should be diferent for every timer that is
generated.
Any simple solution for this?
Best regards and thanks.
Maki.
--
Veselic Mladen
Laboratorija Sigma
In top level description of my processor I have few generic constants. One
of them define how much timers exist in the model.
Timers have two registers: TMR_CFG and TMR_VAL. I keep addresses of these in
separate package as a constant.
How can initialize constants in the package depending of the value of
generic which is in top level file.
I other words I need to generate constants in the package depending on the
value of generic. These constants should be diferent for every timer that is
generated.
Any simple solution for this?
Best regards and thanks.
Maki.
--
Veselic Mladen
Laboratorija Sigma