Forum Discussion
Altera_Forum
Honored Contributor
14 years agoThey are not equivalent. The first one is the right code, if I understood what you mean.
The second one doesn't make sense: you'd always get a high level on that pin, unless you have an external pull DOWN instead of the internal pull up.