Forum Discussion
Altera_Forum
Honored Contributor
16 years agoWhen you build an SOPC component, signals are active high, except if you add '_n' to the name. i.e. if you call your reset signal 'reset', then it is active high. If you call it 'reset_n', then it is active low, and SOPC builder will invert the signal for you.
I prefer to use active high signals when I can, and when I don't/can't, I always add a _n to the name, even if I'm not working with SOPC builder. In my opinion using things like "if reset = '0' then" is less intuitive and makes code more difficult to maintain.