20 - Intro to VHDL 13-Jun-116:35 PM EEL 3701 EEL 3701 Menu...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
13-Jun-11—6:35 PM Intro to VHDL 1 University of Florida, EEL 3701 – File 20 © Dr. Eric M. Schwartz EEL 3701 EEL 3701 Menu • VHDL • VHDL: The Entity Look into my . .. •VHL: IEEE 1076 TYPE •VHDL: IEEE 1164 TYPE •VHDL: The Architecture •Mixed-Logic in VHDL 1 University of Florida, EEL 3701 – File 20 © Dr. Eric M. Schwartz •VHDL MUX examples See examples on web-site: (VHDL Examples) NAnd2a.vhd, NAnd2b.vhd, Mux2to1*.vhd, * = a-f, Mux41* See also example file on web: Creating graphical components (Component_Creation.pdf) EEL 3701 EEL 3701 Introduction to VHDL • Q: What is VHDL ? •A: VHSIC Hardware Description Language • Q: What is VHSIC ? V ery H igh S peed I ntegrated C ircuits • Q: What is VHDL used for? • A: To describe and test a digital circuit in a high level language environment. When used in conjunction with a router and logic generator a 2 University of Florida, EEL 3701 – File 20 © Dr. Eric M. Schwartz silicon mask can be created. • A competitor to VHDL is Verilog (older and more widely used until recently, but . ..)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
13-Jun-11—6:35 PM Intro to VHDL 2 University of Florida, EEL 3701 – File 20 © Dr. Eric M. Schwartz EEL 3701 EEL 3701 VHDL Syntax • VHDL is case insensitive >GOOD = Good = good = gOOD •Everyone has their own conventions; mine follows: > Keyword of VHDL are all lower case > Entity and architecture names are all upper case > Identifiers start with a capital > All new words in a given identifier is again capitalized • White space (spaces or tabs) is fine anywhere as separators • The semicolon is a statement terminator 3 University of Florida, EEL 3701 – File 20 © Dr. Eric M. Schwartz • Two dashes (“--”) indicate a comment follows • Identifiers must begin with a letter; subsequent characters are alphanumeric or “_” • No precedence in VHDL; resolves left-to-right; use paren. (except not has precedence over logical operators) EEL 3701 EEL 3701 VHDL: The Entity entity NAND2a is port( A,B: in bit; C: out bit); end NAND2a; The entity is the description of inputs and outputs •Example: Black Box to a black box entity BLACK BOX is port( 4 University of Florida, EEL 3701 – File 20 © Dr. Eric M. Schwartz _ Clock, Reset: Clock, Reset: in in bit; D: in bit_vector(7 downto 0); Q: out bit out bit_vector(7 downto 0); _vector(7 downto 0); CO: out bit); end BLACK_BOX;
Background image of page 2
13-Jun-11—6:35 PM Intro to VHDL 3 University of Florida, EEL 3701 – File 20 © Dr. Eric M. Schwartz EEL 3701 EEL 3701 VHDL: The Entity Entity syntax: entity NAND2a is port( A,B: in bit; C: out bit); end NAND2a; entity ENTITY_NAME is port( -- -- optional parameterized components optional parameterized components Name1: Name1: mode mode type; type; Name2: Name2: mode mode type; type; NameN: NameN: mode mode type); type); end ENTITY_NAME; Names can be a list of names separated by commas 5 University of Florida, EEL 3701 – File 20 © Dr. Eric M. Schwartz • Names can be a list of names separated by commas (as in the NAND2a above right) • Modes describe data direction flow • Types indicate the set of values the port name can be assigned EEL 3701 EEL 3701 entity NAND2a is port( A,B: in bit; C: out bit); end NAND2a; VHDL: The Entity: PORT MODE
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 07/08/2011 for the course EEL 3701 taught by Professor Lam during the Spring '08 term at University of Florida.

Page1 / 15

20 - Intro to VHDL 13-Jun-116:35 PM EEL 3701 EEL 3701 Menu...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online