-- Our first program in VHDL -- This is how comments look in VHDL -- Libraries are needed for std_logic type to be understood LIBRARY ieee; USE ieee.std_logic_1164.ALL; -- Entity part is a specification of the chip interface ENTITY test1 is PORT (a: IN std_logic; b: IN std_logic; x: OUT std_logic); END test1; -- Architecture part (otherwise called: body or implementation) -- determines the operation of a circuitry being designed ARCHITECTURE OfMyTest1 OF test1 IS BEGIN PROCESS(a, b) BEGIN x <= a AND b; END PROCESS; END OfMyTest1; <div align="center"><br /><script type="text/javascript"><!-- google_ad_client = "pub-7293844627074885"; //468x60, Created at 07. 11. 25 google_ad_slot = "8619794253"; google_ad_width = 468; google_ad_height = 60; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><br /> </div>