Altera_Forum
Honored Contributor
15 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 component be mapped to a port declared in the Entity as an input? 2) What does it mean when a signal is mapped to more than one component? For example, I have, ARCHITECTURE arch of ent IS .... signal CLK: STD_LOGIC; .... BEGIN component1: ENTITY work.PLL PORT MAP ( OUTCLK => CLK ); ... ... component2: ENTITY work.CLKOUT PORT MAP ( CLKOUT => CLK ); ... END ARCHITECTURE arch In this case, what does it mean to have two clocks mapping to one input? The code is concurrent, so what effects does it have when two mapping to one signal? Thank you very much.