Presentation is loading. Please wait.

Presentation is loading. Please wait.

ECE 331 – Digital System Design Course Introduction and VHDL Fundamentals (Lecture #1)

Similar presentations


Presentation on theme: "ECE 331 – Digital System Design Course Introduction and VHDL Fundamentals (Lecture #1)"— Presentation transcript:

1 ECE 331 – Digital System Design Course Introduction and VHDL Fundamentals (Lecture #1)

2 ECE 331 - Digital System Design2 Course Introduction (see Syllabus)

3 ECE 331 - Digital System Design3 Expectations

4 ECE 331 - Digital System Design4 I (Dr. Lorie) am expected to: 1.Properly prepare for each lecture. 2.Attend every class. 3.Do my best to teach the material so that the students learn and understand it. 4.Be available during office hours and other scheduled meeting times to answer questions. 5.Give exams that fairly test the students on the material taught in the class.

5 ECE 331 - Digital System Design5 You (the student) are expected to: 1.Attend class. 2.Spend a minimum of 9 hours each week outside of class learning the material. 3.Read the text book. 4.Do the homework. 5.Attend the lab and complete all of the lab experiments.

6 ECE 331 - Digital System Design6 Questions?

7 ECE 331 - Digital System Design7 The Design Process

8 ECE 331 - Digital System Design8

9 9

10 10 Design conception VHDL Schematic capture DESIGN ENTRY Design correct? Functional simulation No Yes No Synthesis Physical design Chip configuration Timing requirements met? Timing simulation

11 ECE 331 - Digital System Design11 VHDL Fundamentals

12 ECE 331 - Digital System Design12 Introduction to VHDL What is VHDL?  Very High Speed Integrated Circuit (VHSIC)  Hardware  Description  Language VHDL: a formal language for specifying the behavior and structure of a digital circuit. Note: there are hardware description languages other than VHDL, namely Verilog.

13 ECE 331 - Digital System Design13 Basic VHDL Convention VHDL is case insensitive Naming and Labeling  All names should start with a letter  Should contain only alphanumeric characters, and the underscore; no other characters allowed Should not have two consecutive underscores Should not end with an underscore  All names and labels in a given entity and architecture must be unique

14 ECE 331 - Digital System Design14 Basic VHDL Convention Free format language  i.e. allows spacing for readability Comments start with “--” and end at end of line Use one file per entity File names and entity names should match

15 ECE 331 - Digital System Design15 Logic Circuits in VHDL VHDL description includes two parts  Entity statement  Architecture statement Entity  Describes the interface (i.e. inputs and outputs) Architecture  Describes the circuit implementation

16 ECE 331 - Digital System Design16 The Entity Statement Keyword: Entity Requires a name Specifies the input and output ports  Ports have Name Mode Data type

17 ECE 331 - Digital System Design17 Ports: Mode IN  Driver outside entity  Can be read OUT  Driver inside entity  Cannot be read INOUT  Driver inside and outside entity  Can be read BUFFER  Driver inside entity  Can be read

18 ECE 331 - Digital System Design18 The Architecture Statement Keyword: Architecture Requires a name  The model is typically chosen as the name References the name in the associated Entity Specifies the functionality of the Entity  Using one of several types of implementations Architecture is associated with an entity  There can be multiple architectures for one entity, but only one can associated at a time.

19 ECE 331 - Digital System Design19 The Architecture Statement VHDL Architecture Models  FunctionalLogic Functions  BehavioralIncludes Timing Information  StructuralIncludes Components and “Wires”  PhysicalSpecifies Package Information Each model can be used to describe the functionality of a logic circuit. Models are not mutually exclusive.

20 ECE 331 - Digital System Design20 VHDL: Signals Can be wires or buses (groups of wires)  Wire SIGNAL a:STD_LOGIC;  Bus (with 8 wires) SIGNAL b8: STD_LOGIC_VECTOR(7 DOWNTO 0);  Bus (with 16 wires) SIGNAL b16: STD_LOGIC_VECTOR(15 DOWNTO 0); Can be used to connect entities Used in the structural architecture model

21 ECE 331 - Digital System Design21 f x 3 x 1 x 2 VHDL Example Entity Architecture

22 ECE 331 - Digital System Design22 ENTITY example1 IS PORT ( x1, x2, x3 : IN BIT ; f : OUT BIT ) ; END example1 ; mode data type VHDL Example name

23 ECE 331 - Digital System Design23 ARCHITECTURE LogicFunc OF example1 IS BEGIN f <= (x1 AND x2) OR (NOT x2 AND x3) ; END LogicFunc ; Architecture name Entity name Boolean expression VHDL Example


Download ppt "ECE 331 – Digital System Design Course Introduction and VHDL Fundamentals (Lecture #1)"

Similar presentations


Ads by Google