Behavior Model

  • Uploaded by: api-3864016
  • 0
  • 0
  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Behavior Model as PDF for free.

More details

  • Words: 2,290
  • Pages: 40
Overview    



VHDL Processes If-Then-Else and CASE statements Flip-Flop description using VHDL Sequential circuit description (state tables and diagrams) using VHDL Process synchronization

Oct 23, 2008

MKM - 1

VHDL Process 







A group of VHDL statements that are “executed” when one signal in a specified group changes. Many processes can be executed concurrently. “Body” of process implements a sequential program, i.e. signal values are updated only when the process completes. Can also use variables, whose value is updated immediately. Oct 23, 2008

MKM - 2

VHDL Architecture Structure architecture name_arch of name is Signal assignments begin Concurrent statements Process 1

Processes contain sequential statements, but execute concurrently within the architecture body

Concurrent statements Process 2 Concurrent statements end name_arch; Oct 23, 2008

MKM - 3

VHDL Process Syntax Signals and/or Variables

P1: process (<sensitivity list>) begin <sequential statements> end process P1; Optional process label

Oct 23, 2008

Within a process: Variables are assigned using := and are updated immediately. Signals are assigned using <= and are updated at the end of the process. MKM - 4

Signals Vs Variables in a Process Let A, B, and C be integer data types with A=1, B=5, and C=10. A, B, C: signals

A, B, C: variables

begin process … B <= A; C <= B; … end process;

begin process … B := A; C := B; … end process;

B = 1 and C = 5 ( uses original value B (=5) when computing C )

B = 1 and C = 1 ( uses new value of B (=1) when computing C )

Oct 23, 2008

MKM - 5

Methodology

RASSP Reinventing Electronic Design

Architecture

DARPA

● ●

Infrastructure

VHDL Sequential Statements

Tri-Service

Assignments executed sequentially in processes Sequential statements ❍ {Signal,

variable} assignments ❍ Flow control ❑ IF THEN <statements> [ELSIF <statements] [ELSE <statements>] END IF; ❑ FOR LOOP <statements> END LOOP; ❑ WHILE LOOP <statements> END LOOP; ❑ CASE IS WHEN => <statements> {WHEN => <statements>} [WHEN others => <statements>] END CASE; ❍ WAIT [ON <signal>] [UNTIL <expression>] [FOR

Related Documents

Behavior Model
November 2019 8
Model Model
April 2020 51
Behavior Plan
May 2020 0
Behavior Detection
November 2019 17
Agonistic Behavior
December 2019 23