command line for synthax checking and simulation ghdl -a and2.vhdl ghdl -a and2_tb.vhdl ghdl -r and2_tb --vcd=and2.vcd (CTRL+C to stop after few seconds) display in gtkwave gtkwave and2.vcd