SlideShare a Scribd company logo
 
EVEN	
  
	
  
SEMESTER	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
Professor,	
  E&C	
  Department,	
  PESIT	
  SC	
  	
  
	
  
	
  
	
  
Behavioral	
  Descriptions	
  
	
  
• Highlights	
  
	
  
• Structure	
  
	
  
• Sequential	
  Statements:	
  IF,	
  CASE,	
  FOR	
  LOOP,	
  WHILE	
  LOOP,	
  REPEAT,	
  FOREVER	
  
	
  
	
  
	
  
Reference	
  Books:	
  
	
  
• HDL	
  Programming	
  (VHDL	
  and	
  Verilog)-­‐	
  Nazeih	
  M.Botros-­‐	
  John	
  Weily	
  India	
  Pvt.	
  Ltd.	
  
	
  
2008.	
  
	
  
	
  
	
  
UNIT	
  3:	
  	
  
Behavioral	
  Descriptions:	
  Behavioral	
  Description	
  highlights,	
  structure	
  of	
  HDL	
  behavioral	
  
Description,	
  The	
  VHDL	
  variable	
  –Assignment	
  Statement,	
  sequential	
  statements.	
   6	
  Hours	
  
	
  
	
  

HDL	
  DESIGN-­‐4-­‐CLASS	
  NOTES	
  –	
  UNIT3	
  
Shivananda	
  (Shivoo)	
  Koteshwar	
  

P e o p l e s 	
   E d u c a t i o n 	
   S o c i e t y 	
   S o u t h 	
   C a m p u s 	
   ( w w w . p e s . e d u ) 	
  

14	
  
HDL	
  Design	
  (4th	
  Semester	
  VTU)	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  UNIT3	
  Notes	
  v1.0	
  

BEHAVIORAL - HIGHLIGHTS
Models the system as to how the outputs behave with the inputs. The
module includes the predefined word always or initial.
• Behavioral description is a powerful tool to describe systems for
which the digital logic structure are not known or are to generate
• Examples of such systems are complex arithmetic units, computer
control units and biological mechanisms that describe the
physiological action of certain organs such as the kidney or heart
• The behavioral description describes the system by showing how the
outputs behave according to changes in the inputs
• In this description, we do not need to know the logic diagram of the
system; what must be known is how the output behaves in response
to change in the input
• The major behavioral description statements are always and
initial

• For VHDL, the statements inside the process are sequential and in
Verilog all statements are concurrent
The steps in behavioral style are:
1. Understand the logic / Truth Table
2. Use always statement and represent the logic using the code

STRUCTURE OF THE BEHAVIORAL CODE
• The code mainly consists of signal-assignment statements
• The process is executed (activated) only if an event occurs on any
element of the sensitive list; otherwise the process remains inactive. If
the process has no sensitivity list, the process is executed
continuously

	
  
Shivoo	
  Koteshwar’s	
  Notes	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  2	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  shivoo@pes.edu	
  
	
  	
  	
  
HDL	
  Design	
  (4th	
  Semester	
  VTU)	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  UNIT3	
  Notes	
  v1.0	
  

n-bit Full Adder (Using Behavioral Style)

SEQUENTIAL STATEMENT: IF

	
  
Shivoo	
  Koteshwar’s	
  Notes	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  3	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  shivoo@pes.edu	
  
	
  	
  	
  
HDL	
  Design	
  (4th	
  Semester	
  VTU)	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  UNIT3	
  Notes	
  v1.0	
  

SEQUENTIAL STATEMENT : IF ELSE IF

	
  
Shivoo	
  Koteshwar’s	
  Notes	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  4	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  shivoo@pes.edu	
  
	
  	
  	
  
HDL	
  Design	
  (4th	
  Semester	
  VTU)	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  UNIT3	
  Notes	
  v1.0	
  

D-Latch

	
  
Shivoo	
  Koteshwar’s	
  Notes	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  5	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  shivoo@pes.edu	
  
	
  	
  	
  
HDL	
  Design	
  (4th	
  Semester	
  VTU)	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  UNIT3	
  Notes	
  v1.0	
  

SEQUENTIAL STATEMENT : CASE
• The case statement should include all possible conditions (Values)
of the control expression
• The statement default for Verilog ( when others for VHDL ) can
be used to guarantee that all conditions are covered
• begin and end are not needed if only a single statement is included
for any test value
• case resembles if, except that the correct condition in case is
determined directly and not serially as in if statements

	
  
Shivoo	
  Koteshwar’s	
  Notes	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  6	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  shivoo@pes.edu	
  
	
  	
  	
  
HDL	
  Design	
  (4th	
  Semester	
  VTU)	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  UNIT3	
  Notes	
  v1.0	
  

	
  
Shivoo	
  Koteshwar’s	
  Notes	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  7	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  shivoo@pes.edu	
  
	
  	
  	
  
HDL	
  Design	
  (4th	
  Semester	
  VTU)	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  UNIT3	
  Notes	
  v1.0	
  

SEQUENTIAL STATEMENTS : CASEX and CASEZ
• casex ignores the “don’t care” values of the control expression
• casez ignores the “high impedance” values of the control expression
• casez allows for z values to be treated as don't cares, whereas casex
allows for both z and x to be treated as don't cares. Only bit values
other than the don't care bits are used in the comparison.

	
  
Shivoo	
  Koteshwar’s	
  Notes	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  8	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  shivoo@pes.edu	
  
	
  	
  	
  
HDL	
  Design	
  (4th	
  Semester	
  VTU)	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  UNIT3	
  Notes	
  v1.0	
  

Question1: Convert from Dataflow to Conditional Dataflow and then
to IF and CASE

Solution:

	
  
Shivoo	
  Koteshwar’s	
  Notes	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  9	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  shivoo@pes.edu	
  
	
  	
  	
  
HDL	
  Design	
  (4th	
  Semester	
  VTU)	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  UNIT3	
  Notes	
  v1.0	
  

Question2: Write the stimulus block for the following

	
  
Shivoo	
  Koteshwar’s	
  Notes	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  10	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  shivoo@pes.edu	
  
	
  	
  	
  	
  	
  	
  
HDL	
  Design	
  (4th	
  Semester	
  VTU)	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  UNIT3	
  Notes	
  v1.0	
  

Edge Triggered JK Flip Flop

	
  
Shivoo	
  Koteshwar’s	
  Notes	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  11	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  shivoo@pes.edu	
  
	
  	
  	
  	
  	
  	
  
HDL	
  Design	
  (4th	
  Semester	
  VTU)	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  UNIT3	
  Notes	
  v1.0	
  

3 Bit Binary Active High Synchronous Clear Counter

	
  
Shivoo	
  Koteshwar’s	
  Notes	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  12	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  shivoo@pes.edu	
  
	
  	
  	
  	
  	
  	
  
HDL	
  Design	
  (4th	
  Semester	
  VTU)	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  UNIT3	
  Notes	
  v1.0	
  

	
  
Shivoo	
  Koteshwar’s	
  Notes	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  13	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  shivoo@pes.edu	
  
	
  	
  	
  	
  	
  	
  
HDL	
  Design	
  (4th	
  Semester	
  VTU)	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  UNIT3	
  Notes	
  v1.0	
  

3 Bit Binary Active High Asynchronous Clear Counter

	
  
Shivoo	
  Koteshwar’s	
  Notes	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  14	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  shivoo@pes.edu	
  
	
  	
  	
  	
  	
  	
  
HDL	
  Design	
  (4th	
  Semester	
  VTU)	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  UNIT3	
  Notes	
  v1.0	
  

Priority Encoder using CASEX

	
  
Shivoo	
  Koteshwar’s	
  Notes	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  15	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  shivoo@pes.edu	
  
	
  	
  	
  	
  	
  	
  
HDL	
  Design	
  (4th	
  Semester	
  VTU)	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  UNIT3	
  Notes	
  v1.0	
  

SEQUENTIAL STATEMENTS: LOOP
• LOOP is a sequential statement that appears inside always or
initial block
• Loop is used to repeat the execution of statements written inside its
body. The number of repetitions is controlled by the range of the
index parameter

	
  
Shivoo	
  Koteshwar’s	
  Notes	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  16	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  shivoo@pes.edu	
  
	
  	
  	
  	
  	
  	
  
HDL	
  Design	
  (4th	
  Semester	
  VTU)	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  UNIT3	
  Notes	
  v1.0	
  

4 Bit Positive Edge Triggered Counter

	
  
Shivoo	
  Koteshwar’s	
  Notes	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  17	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  shivoo@pes.edu	
  
	
  	
  	
  	
  	
  	
  
HDL	
  Design	
  (4th	
  Semester	
  VTU)	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  UNIT3	
  Notes	
  v1.0	
  

	
  
Shivoo	
  Koteshwar’s	
  Notes	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  18	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  shivoo@pes.edu	
  
	
  	
  	
  	
  	
  	
  
HDL	
  Design	
  (4th	
  Semester	
  VTU)	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  UNIT3	
  Notes	
  v1.0	
  

	
  
Shivoo	
  Koteshwar’s	
  Notes	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  19	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  shivoo@pes.edu	
  
	
  	
  	
  	
  	
  	
  
HDL	
  Design	
  (4th	
  Semester	
  VTU)	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  UNIT3	
  Notes	
  v1.0	
  

4 Bit Positive Edge Triggered Counter With Synchronous Hold

	
  
Shivoo	
  Koteshwar’s	
  Notes	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  20	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  shivoo@pes.edu	
  
	
  	
  	
  	
  	
  	
  
HDL	
  Design	
  (4th	
  Semester	
  VTU)	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  UNIT3	
  Notes	
  v1.0	
  

	
  
Shivoo	
  Koteshwar’s	
  Notes	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  21	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  shivoo@pes.edu	
  
	
  	
  	
  	
  	
  	
  
HDL	
  Design	
  (4th	
  Semester	
  VTU)	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  UNIT3	
  Notes	
  v1.0	
  

Factorial with WHILE LOOP

	
  
Shivoo	
  Koteshwar’s	
  Notes	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  22	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  shivoo@pes.edu	
  
	
  	
  	
  	
  	
  	
  
HDL	
  Design	
  (4th	
  Semester	
  VTU)	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  UNIT3	
  Notes	
  v1.0	
  

	
  
Shivoo	
  Koteshwar’s	
  Notes	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  23	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  shivoo@pes.edu	
  
	
  	
  	
  	
  	
  	
  

More Related Content

What's hot (20)

PPT
Decoder for digital electronics
IIT, KANPUR INDIA
 
PPT
structural modeling, hazards
dennis gookyi
 
PPTX
Status register
Pradeep Kumar TS
 
PDF
Embedded Systems Syllabus
GR Techno Solutions
 
PPTX
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
JatinJatin30
 
PPTX
Rs flipflop or SR flipFlop
Easy n Inspire L
 
PDF
HEVC VIDEO CODEC By Vinayagam Mariappan
Vinayagam Mariappan
 
PPTX
An Introduction to AV1 - The Next-Gen Royalty-Free Codec From the Alliance fo...
Bitmovin Inc
 
PDF
Sequential circuits in digital logic design
Nallapati Anindra
 
PPTX
RISC-V-Introduction-_-Aug-2021.pptx
ssuser300b04
 
PPT
boolean algebra and logic simplification
Unsa Shakir
 
PPTX
Encoder and decoder
Then Murugeshwari
 
PDF
FYBSC IT Digital Electronics Unit I Chapter II Number System and Binary Arith...
Arti Parab Academics
 
PDF
Chapter 1 digital systems and binary numbers
Mohammad Bashartullah
 
PPTX
Overview of Shift register and applications
Karthik Kumar
 
PDF
Chapter 5 introduction to VHDL
SSE_AndyLi
 
PPTX
1. elementary signals
MdFazleRabbi18
 
PPT
Encoder decoder
dennis gookyi
 
PDF
Question paper with solution the 8051 microcontroller based embedded systems...
manishpatel_79
 
PPTX
Digital Electronics - Counters
Jayakrishnan J
 
Decoder for digital electronics
IIT, KANPUR INDIA
 
structural modeling, hazards
dennis gookyi
 
Status register
Pradeep Kumar TS
 
Embedded Systems Syllabus
GR Techno Solutions
 
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
JatinJatin30
 
Rs flipflop or SR flipFlop
Easy n Inspire L
 
HEVC VIDEO CODEC By Vinayagam Mariappan
Vinayagam Mariappan
 
An Introduction to AV1 - The Next-Gen Royalty-Free Codec From the Alliance fo...
Bitmovin Inc
 
Sequential circuits in digital logic design
Nallapati Anindra
 
RISC-V-Introduction-_-Aug-2021.pptx
ssuser300b04
 
boolean algebra and logic simplification
Unsa Shakir
 
Encoder and decoder
Then Murugeshwari
 
FYBSC IT Digital Electronics Unit I Chapter II Number System and Binary Arith...
Arti Parab Academics
 
Chapter 1 digital systems and binary numbers
Mohammad Bashartullah
 
Overview of Shift register and applications
Karthik Kumar
 
Chapter 5 introduction to VHDL
SSE_AndyLi
 
1. elementary signals
MdFazleRabbi18
 
Encoder decoder
dennis gookyi
 
Question paper with solution the 8051 microcontroller based embedded systems...
manishpatel_79
 
Digital Electronics - Counters
Jayakrishnan J
 

Viewers also liked (20)

PPTX
Vhdl basic unit-2
Uvaraj Shanmugam
 
PPTX
Mutual coupling
Jagadish M
 
PDF
OFC notes Unit -8 VTU
Jagadish M
 
PPT
Microcontroller 8051
John Williams
 
PDF
VHDL Reference
Eslam Mohammed
 
PDF
Digital system design practical file
Archita Misra
 
PDF
Optical Amplifier and Networks
Jagadish M
 
PDF
Fundamentals of cmos vlsi
Bhavya Mc
 
PDF
Digital Electronics Basics by Er. Swapnil Kaware
Prof. Swapnil V. Kaware
 
PDF
Organization Behavior - Leadership
Dr. Shivananda Koteshwar
 
PDF
Introduction to metamaterials
Jagadish M
 
PDF
Transistors & Oscillators by Er. Swapnil Kaware
Prof. Swapnil V. Kaware
 
PDF
105926921 cmos-digital-integrated-circuits-solution-manual-1
Savvas Dimopoulos
 
PPT
LED basics by Er. Swapnil V. Kaware
Prof. Swapnil V. Kaware
 
PDF
3Sem-Logic Design Notes-Unit4-Design and Analysis of Combinational Logic
Dr. Shivananda Koteshwar
 
PPTX
concepts and basics of research methodolgy
lakhveer singh
 
PDF
Blue Brain Seminar Report
Varun A M
 
PDF
Verilog tutorial
Abhiraj Bohra
 
PPTX
Digital image processing
lakhveer singh
 
PPT
VHDL
Ramasubbu .P
 
Vhdl basic unit-2
Uvaraj Shanmugam
 
Mutual coupling
Jagadish M
 
OFC notes Unit -8 VTU
Jagadish M
 
Microcontroller 8051
John Williams
 
VHDL Reference
Eslam Mohammed
 
Digital system design practical file
Archita Misra
 
Optical Amplifier and Networks
Jagadish M
 
Fundamentals of cmos vlsi
Bhavya Mc
 
Digital Electronics Basics by Er. Swapnil Kaware
Prof. Swapnil V. Kaware
 
Organization Behavior - Leadership
Dr. Shivananda Koteshwar
 
Introduction to metamaterials
Jagadish M
 
Transistors & Oscillators by Er. Swapnil Kaware
Prof. Swapnil V. Kaware
 
105926921 cmos-digital-integrated-circuits-solution-manual-1
Savvas Dimopoulos
 
LED basics by Er. Swapnil V. Kaware
Prof. Swapnil V. Kaware
 
3Sem-Logic Design Notes-Unit4-Design and Analysis of Combinational Logic
Dr. Shivananda Koteshwar
 
concepts and basics of research methodolgy
lakhveer singh
 
Blue Brain Seminar Report
Varun A M
 
Verilog tutorial
Abhiraj Bohra
 
Digital image processing
lakhveer singh
 
Ad

Similar to 4Sem VTU-HDL Programming Notes-Unit3-Behavioral Descriptions (20)

PDF
4Sem-HDL Programming Notes-Unit8-Synthesis
Dr. Shivananda Koteshwar
 
PDF
3Sem-Logic Design Notes-Unit7-Sequential Design
Dr. Shivananda Koteshwar
 
PDF
Session1pdf
GamalSaied2
 
PDF
DLD5.pdf
Shashi738182
 
PPT
VHDLhshdhdbbdbdbdbdbdbdbbdbrbrbrbfbfbbfb_PPT.ppt
7c7fs5n555
 
PPT
Unit 3 - Styles of Modeling-1 for resource management techniques
MrFanatic1
 
PPTX
Presentación vhdl Peter Ashenden
yhap
 
PPTX
session 3a Hardware description language
dhananjeyanrece
 
PDF
VHDL course
Ibrahim Mezzah
 
PDF
learning vhdl by examples
anishgoel
 
PDF
(eBook PDF) Digital Design: With an Introduction to the Verilog HDL, VHDL, an...
smihtmuangu
 
PDF
DFiant HDL
OronPort1
 
PDF
Learning vhdl by examples
anishgoel
 
PPTX
Intrduction to the course v.3
Start Group
 
PDF
Summer training vhdl
Arshit Rai
 
PPTX
Vlsi(2)
Rritu Bhagat
 
PPTX
System design using HDL - Module 2
Aravinda Koithyar
 
DOCX
Prilimanary Concepts of VHDL by Dr.R.Prakash Rao
rachurivlsi
 
PPT
kalaivaanar_NSK_V3.ppt
VINOTHRAJR1
 
PDF
ECET 230 help A Guide to career/Snaptutorial
pinck243
 
4Sem-HDL Programming Notes-Unit8-Synthesis
Dr. Shivananda Koteshwar
 
3Sem-Logic Design Notes-Unit7-Sequential Design
Dr. Shivananda Koteshwar
 
Session1pdf
GamalSaied2
 
DLD5.pdf
Shashi738182
 
VHDLhshdhdbbdbdbdbdbdbdbbdbrbrbrbfbfbbfb_PPT.ppt
7c7fs5n555
 
Unit 3 - Styles of Modeling-1 for resource management techniques
MrFanatic1
 
Presentación vhdl Peter Ashenden
yhap
 
session 3a Hardware description language
dhananjeyanrece
 
VHDL course
Ibrahim Mezzah
 
learning vhdl by examples
anishgoel
 
(eBook PDF) Digital Design: With an Introduction to the Verilog HDL, VHDL, an...
smihtmuangu
 
DFiant HDL
OronPort1
 
Learning vhdl by examples
anishgoel
 
Intrduction to the course v.3
Start Group
 
Summer training vhdl
Arshit Rai
 
Vlsi(2)
Rritu Bhagat
 
System design using HDL - Module 2
Aravinda Koithyar
 
Prilimanary Concepts of VHDL by Dr.R.Prakash Rao
rachurivlsi
 
kalaivaanar_NSK_V3.ppt
VINOTHRAJR1
 
ECET 230 help A Guide to career/Snaptutorial
pinck243
 
Ad

More from Dr. Shivananda Koteshwar (20)

PDF
Aurinko Open Day (11th and 12th)
Dr. Shivananda Koteshwar
 
PDF
Aurinko Open Day (Pre KG to 10th Grade)
Dr. Shivananda Koteshwar
 
PDF
BELAKUBE METHODOLOGY
Dr. Shivananda Koteshwar
 
PDF
Belakoo Annual Report 2021-22
Dr. Shivananda Koteshwar
 
PDF
Role of a manager in cultural transformation
Dr. Shivananda Koteshwar
 
PDF
Social Entrepreneurship
Dr. Shivananda Koteshwar
 
PDF
Innovation in GCC - Global Capability Center
Dr. Shivananda Koteshwar
 
PDF
Corporate Expectation from a MBA Graduate
Dr. Shivananda Koteshwar
 
PDF
Introduction to consultancy for MBA Freshers
Dr. Shivananda Koteshwar
 
PDF
Bachelor of Design (BDes)
Dr. Shivananda Koteshwar
 
PDF
Understanding scale Clean tech and Agritech verticals
Dr. Shivananda Koteshwar
 
PDF
Evolution and Advancement in Chipsets
Dr. Shivananda Koteshwar
 
PDF
Ideation and validation - An exercise
Dr. Shivananda Koteshwar
 
PDF
IoT product business plan creation for entrepreneurs and intrepreneurs
Dr. Shivananda Koteshwar
 
PDF
ASIC SoC Verification Challenges and Methodologies
Dr. Shivananda Koteshwar
 
PDF
IoT Product Design and Prototyping
Dr. Shivananda Koteshwar
 
PDF
Business model
Dr. Shivananda Koteshwar
 
PDF
Engaging Today's kids
Dr. Shivananda Koteshwar
 
PDF
Nurturing Innovative Minds
Dr. Shivananda Koteshwar
 
PDF
Creating those dots
Dr. Shivananda Koteshwar
 
Aurinko Open Day (11th and 12th)
Dr. Shivananda Koteshwar
 
Aurinko Open Day (Pre KG to 10th Grade)
Dr. Shivananda Koteshwar
 
BELAKUBE METHODOLOGY
Dr. Shivananda Koteshwar
 
Belakoo Annual Report 2021-22
Dr. Shivananda Koteshwar
 
Role of a manager in cultural transformation
Dr. Shivananda Koteshwar
 
Social Entrepreneurship
Dr. Shivananda Koteshwar
 
Innovation in GCC - Global Capability Center
Dr. Shivananda Koteshwar
 
Corporate Expectation from a MBA Graduate
Dr. Shivananda Koteshwar
 
Introduction to consultancy for MBA Freshers
Dr. Shivananda Koteshwar
 
Bachelor of Design (BDes)
Dr. Shivananda Koteshwar
 
Understanding scale Clean tech and Agritech verticals
Dr. Shivananda Koteshwar
 
Evolution and Advancement in Chipsets
Dr. Shivananda Koteshwar
 
Ideation and validation - An exercise
Dr. Shivananda Koteshwar
 
IoT product business plan creation for entrepreneurs and intrepreneurs
Dr. Shivananda Koteshwar
 
ASIC SoC Verification Challenges and Methodologies
Dr. Shivananda Koteshwar
 
IoT Product Design and Prototyping
Dr. Shivananda Koteshwar
 
Business model
Dr. Shivananda Koteshwar
 
Engaging Today's kids
Dr. Shivananda Koteshwar
 
Nurturing Innovative Minds
Dr. Shivananda Koteshwar
 
Creating those dots
Dr. Shivananda Koteshwar
 

Recently uploaded (20)

PPT
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
PDF
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
PDF
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
PDF
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
PPTX
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
PDF
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
PPTX
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
PPTX
HYDROCEPHALUS: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
PDF
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
PDF
The dynastic history of the Chahmana.pdf
PrachiSontakke5
 
PPTX
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
PDF
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
PPTX
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
PPTX
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
PDF
community health nursing question paper 2.pdf
Prince kumar
 
PPTX
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
PPTX
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
PPTX
How to Set Maximum Difference Odoo 18 POS
Celine George
 
PPTX
Soil and agriculture microbiology .pptx
Keerthana Ramesh
 
PPTX
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
Lesson 2 - WATER,pH, BUFFERS, AND ACID-BASE.pdf
marvinnbustamante1
 
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
HYDROCEPHALUS: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
The dynastic history of the Chahmana.pdf
PrachiSontakke5
 
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
community health nursing question paper 2.pdf
Prince kumar
 
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
How to Set Maximum Difference Odoo 18 POS
Celine George
 
Soil and agriculture microbiology .pptx
Keerthana Ramesh
 
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 

4Sem VTU-HDL Programming Notes-Unit3-Behavioral Descriptions

  • 1.   EVEN     SEMESTER                                                   Professor,  E&C  Department,  PESIT  SC           Behavioral  Descriptions     • Highlights     • Structure     • Sequential  Statements:  IF,  CASE,  FOR  LOOP,  WHILE  LOOP,  REPEAT,  FOREVER         Reference  Books:     • HDL  Programming  (VHDL  and  Verilog)-­‐  Nazeih  M.Botros-­‐  John  Weily  India  Pvt.  Ltd.     2008.         UNIT  3:     Behavioral  Descriptions:  Behavioral  Description  highlights,  structure  of  HDL  behavioral   Description,  The  VHDL  variable  –Assignment  Statement,  sequential  statements.   6  Hours       HDL  DESIGN-­‐4-­‐CLASS  NOTES  –  UNIT3   Shivananda  (Shivoo)  Koteshwar   P e o p l e s   E d u c a t i o n   S o c i e t y   S o u t h   C a m p u s   ( w w w . p e s . e d u )   14  
  • 2. HDL  Design  (4th  Semester  VTU)                                                                                                                UNIT3  Notes  v1.0   BEHAVIORAL - HIGHLIGHTS Models the system as to how the outputs behave with the inputs. The module includes the predefined word always or initial. • Behavioral description is a powerful tool to describe systems for which the digital logic structure are not known or are to generate • Examples of such systems are complex arithmetic units, computer control units and biological mechanisms that describe the physiological action of certain organs such as the kidney or heart • The behavioral description describes the system by showing how the outputs behave according to changes in the inputs • In this description, we do not need to know the logic diagram of the system; what must be known is how the output behaves in response to change in the input • The major behavioral description statements are always and initial • For VHDL, the statements inside the process are sequential and in Verilog all statements are concurrent The steps in behavioral style are: 1. Understand the logic / Truth Table 2. Use always statement and represent the logic using the code STRUCTURE OF THE BEHAVIORAL CODE • The code mainly consists of signal-assignment statements • The process is executed (activated) only if an event occurs on any element of the sensitive list; otherwise the process remains inactive. If the process has no sensitivity list, the process is executed continuously   Shivoo  Koteshwar’s  Notes                                          2                                                                                          [email protected]        
  • 3. HDL  Design  (4th  Semester  VTU)                                                                                                                UNIT3  Notes  v1.0   n-bit Full Adder (Using Behavioral Style) SEQUENTIAL STATEMENT: IF   Shivoo  Koteshwar’s  Notes                                          3                                                                                          [email protected]        
  • 4. HDL  Design  (4th  Semester  VTU)                                                                                                                UNIT3  Notes  v1.0   SEQUENTIAL STATEMENT : IF ELSE IF   Shivoo  Koteshwar’s  Notes                                          4                                                                                          [email protected]        
  • 5. HDL  Design  (4th  Semester  VTU)                                                                                                                UNIT3  Notes  v1.0   D-Latch   Shivoo  Koteshwar’s  Notes                                          5                                                                                          [email protected]        
  • 6. HDL  Design  (4th  Semester  VTU)                                                                                                                UNIT3  Notes  v1.0   SEQUENTIAL STATEMENT : CASE • The case statement should include all possible conditions (Values) of the control expression • The statement default for Verilog ( when others for VHDL ) can be used to guarantee that all conditions are covered • begin and end are not needed if only a single statement is included for any test value • case resembles if, except that the correct condition in case is determined directly and not serially as in if statements   Shivoo  Koteshwar’s  Notes                                          6                                                                                          [email protected]        
  • 7. HDL  Design  (4th  Semester  VTU)                                                                                                                UNIT3  Notes  v1.0     Shivoo  Koteshwar’s  Notes                                          7                                                                                          [email protected]        
  • 8. HDL  Design  (4th  Semester  VTU)                                                                                                                UNIT3  Notes  v1.0   SEQUENTIAL STATEMENTS : CASEX and CASEZ • casex ignores the “don’t care” values of the control expression • casez ignores the “high impedance” values of the control expression • casez allows for z values to be treated as don't cares, whereas casex allows for both z and x to be treated as don't cares. Only bit values other than the don't care bits are used in the comparison.   Shivoo  Koteshwar’s  Notes                                          8                                                                                          [email protected]        
  • 9. HDL  Design  (4th  Semester  VTU)                                                                                                                UNIT3  Notes  v1.0   Question1: Convert from Dataflow to Conditional Dataflow and then to IF and CASE Solution:   Shivoo  Koteshwar’s  Notes                                          9                                                                                          [email protected]        
  • 10. HDL  Design  (4th  Semester  VTU)                                                                                                                UNIT3  Notes  v1.0   Question2: Write the stimulus block for the following   Shivoo  Koteshwar’s  Notes                                          10                                                                                    [email protected]              
  • 11. HDL  Design  (4th  Semester  VTU)                                                                                                                UNIT3  Notes  v1.0   Edge Triggered JK Flip Flop   Shivoo  Koteshwar’s  Notes                                          11                                                                                    [email protected]              
  • 12. HDL  Design  (4th  Semester  VTU)                                                                                                                UNIT3  Notes  v1.0   3 Bit Binary Active High Synchronous Clear Counter   Shivoo  Koteshwar’s  Notes                                          12                                                                                    [email protected]              
  • 13. HDL  Design  (4th  Semester  VTU)                                                                                                                UNIT3  Notes  v1.0     Shivoo  Koteshwar’s  Notes                                          13                                                                                    [email protected]              
  • 14. HDL  Design  (4th  Semester  VTU)                                                                                                                UNIT3  Notes  v1.0   3 Bit Binary Active High Asynchronous Clear Counter   Shivoo  Koteshwar’s  Notes                                          14                                                                                    [email protected]              
  • 15. HDL  Design  (4th  Semester  VTU)                                                                                                                UNIT3  Notes  v1.0   Priority Encoder using CASEX   Shivoo  Koteshwar’s  Notes                                          15                                                                                    [email protected]              
  • 16. HDL  Design  (4th  Semester  VTU)                                                                                                                UNIT3  Notes  v1.0   SEQUENTIAL STATEMENTS: LOOP • LOOP is a sequential statement that appears inside always or initial block • Loop is used to repeat the execution of statements written inside its body. The number of repetitions is controlled by the range of the index parameter   Shivoo  Koteshwar’s  Notes                                          16                                                                                    [email protected]              
  • 17. HDL  Design  (4th  Semester  VTU)                                                                                                                UNIT3  Notes  v1.0   4 Bit Positive Edge Triggered Counter   Shivoo  Koteshwar’s  Notes                                          17                                                                                    [email protected]              
  • 18. HDL  Design  (4th  Semester  VTU)                                                                                                                UNIT3  Notes  v1.0     Shivoo  Koteshwar’s  Notes                                          18                                                                                    [email protected]              
  • 19. HDL  Design  (4th  Semester  VTU)                                                                                                                UNIT3  Notes  v1.0     Shivoo  Koteshwar’s  Notes                                          19                                                                                    [email protected]              
  • 20. HDL  Design  (4th  Semester  VTU)                                                                                                                UNIT3  Notes  v1.0   4 Bit Positive Edge Triggered Counter With Synchronous Hold   Shivoo  Koteshwar’s  Notes                                          20                                                                                    [email protected]              
  • 21. HDL  Design  (4th  Semester  VTU)                                                                                                                UNIT3  Notes  v1.0     Shivoo  Koteshwar’s  Notes                                          21                                                                                    [email protected]              
  • 22. HDL  Design  (4th  Semester  VTU)                                                                                                                UNIT3  Notes  v1.0   Factorial with WHILE LOOP   Shivoo  Koteshwar’s  Notes                                          22                                                                                    [email protected]              
  • 23. HDL  Design  (4th  Semester  VTU)                                                                                                                UNIT3  Notes  v1.0     Shivoo  Koteshwar’s  Notes                                          23                                                                                    [email protected]