Forum Discussion
Altera_Forum
Honored Contributor
16 years agotime in generic clause of entity for synthesis
Dear All, is it possible to use generic of type 'time' in an entity declaration which is used for synthesis? I'd like to use time specification as top-entity generic parameter, which is in the sub...
Altera_Forum
Honored Contributor
16 years agoI just wanted to re-open this subject because I've found why it does not compile.
In my original designs I have used '1 s' to declare the time generic. This did not compile with quartus. It always ended with 'unknown symbol 's''. However when the 1s is replaced by '1000 ms', everything compiles fine. As '1s' declaration works well in modelsim, it seems that quartus compiler does not recognize '1s' as 'one-second', but as a number associated with some symbol/variable.