Forum Discussion
Altera_Forum
Honored Contributor
16 years agoBeginner questions on HDL component mapping
Hello, I have a couple of confusing points about component port mapping, which I would really appreciate some explanation on. 1) Do the inputs map to inputs only? Can an output of a comp...
Altera_Forum
Honored Contributor
16 years agoYour example doesn't fit your question. CLK isn't a port in the entity, it's a signal.
If the CLK ports would be outputs at both components, you get a "multiple driver" error. The signal CLK can have only one driver. Please consider that VHDL is a hardware description language. The design must be implementable in hardware. Try to draw a hardware logic circuit representing your VHDL design. Where is each signal originated from and where goes it to? P.S.: Without knowing the component declarations, it's unclear what the above example means.