Your First VhDL design --2 input AND gate Entity simard is Port( a, b: in bit c: out bit) end simard architecture simand body of simand is begin c<=a and b end simand body 目日日日日日日 100 <Go To Equations [2] LC1_B1=LCELLC-EQ001) EQ001=a& b: Copyright 1997 Altera Corporation 2/22/2021P16 favara
Copyright © 1997 Altera Corporation 2/22/2021 P.16 Your First VHDL design -- 2 input AND gate Entity simand is Port ( a, b : in bit; c : out bit); end simand; architecture simand_body of simand is begin c <= a and b; end simand_body;
More detail a. b in bit 402 c out bit C<=a and b Copyright 1997 Altera Corporation 2/22/2021P17 favara
Copyright © 1997 Altera Corporation 2/22/2021 P.17 More detail
Why I use VHDL instead of Graphic ■ Easy to Modify a It is more powerful than Graphic VHDL is a portable language because is device independent the same code can be applied to Device manufactured by Company A or Company B Copyright 1997 Altera Corporation 2/22/2021P18 favara
Copyright © 1997 Altera Corporation 2/22/2021 P.18 Why I use VHDL instead of Graphic ◼ Easy to Modify ◼ It is more powerful than Graphic ◼ VHDL is a portable language because – is device independent – the same code can be applied to Device manufactured by Company A or Company B
■ Graphic VS VHDL Graphic is what you draw is what you get tell me what hardware you want and I will give it to you VHDL is what you write is what functional you get tell me how your circuit should behave and the VHDL compiler will give you the hardware that does the job but the designer can not control how the circuit implement Copyright 1997 Altera Corporation 2/22/2021P19 favara
Copyright © 1997 Altera Corporation 2/22/2021 P.19 ◼ Graphic vs VHDL – Graphic is what you draw is what you get • “ tell me what hardware you want and I will give it to you” – VHDL is what you write is what functional you get • “ tell me how your circuit should behave and the VHDL compiler will give you the hardware that does the job” • but the designer can not control how the circuit implement
Learning vhdl must learn What is Combinatorial logic What is Sequential Logic What is Concurrent statement What is Process statement Copyright 1997 Altera Corporation 2/22/2021P20 favara
Copyright © 1997 Altera Corporation 2/22/2021 P.20 Learning VHDL must learn What is Combinatorial Logic What is Sequential Logic What is Concurrent Statement What is Process Statement