P
parag_paul@hotmail.com
Guest
hi All,
lets way we have the following scenario
library IEEE;
use IEEE.std_logic_1164.all;
entity bot is
port (i: input std_logic);
end entity bot;
architecture arc of bot is
begin
end architecture arc;
entity top is
port (j: input std_logic);
end entity top;
architecture arc of top is
begin
t1: entity WORK.bot port map (i=>j);
end architecture arc;
Now, one thing I dont understand is, if we are not allowed to connect
i from bot as output port, how do we send values up , to the top level
entity,.
What is the need to call ports as input or output then
What is the need to keep constraints for connections when we can
coerce everything,
In hardware , a wire is simply a wire, How does it know that which
direction to transfer signals
-Parag
lets way we have the following scenario
library IEEE;
use IEEE.std_logic_1164.all;
entity bot is
port (i: input std_logic);
end entity bot;
architecture arc of bot is
begin
end architecture arc;
entity top is
port (j: input std_logic);
end entity top;
architecture arc of top is
begin
t1: entity WORK.bot port map (i=>j);
end architecture arc;
Now, one thing I dont understand is, if we are not allowed to connect
i from bot as output port, how do we send values up , to the top level
entity,.
What is the need to call ports as input or output then
What is the need to keep constraints for connections when we can
coerce everything,
In hardware , a wire is simply a wire, How does it know that which
direction to transfer signals
-Parag