Forum Discussion
Altera_Forum
Honored Contributor
17 years agoHi,
I had a quick look at your code. A possible pitfall is the bidirectional assignment... here is how it could go wrong: if B1 and B2 are two bidirectional nodes(inout ports) then any wiring assignment must take into account double driving. for example: B1 <= B2; doesn't mean they are wired up contrary to popular belief. It means B2 is driving B1 but not the other way round hence you must also add: B2 <= B1; You will need appropriate mux to avoid multiple drivers Kaz