Forum: FPGA, VHDL & Verilog doubt on how to connect the ports in vhdl

von Elaine S. (Company: estudy) (elainen)

Rate this post
0 useful
not useful
I'm doing a vhdl code and need to connect the input directly at the 
exit, as I do this? Always connect the main exit at the exit doors ands, 
ors, etc..

von Lothar M. (lkmiller) (Moderator)

Rate this post
0 useful
not useful
Take ANY book about VHDL synthesis and look on the very first pages...
library IEEE;

entity InToOut is
    Port ( output : out STD_LOGIC;
           input  : in  STD_LOGIC);
end InToOut;

architecture Behavioral of InToOut is

  output <= input;

end Behavioral; 


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.