9

Advanced Programming Concepts

CHAPTER OBJECTIVES
  • To resolve multiple driver signals
  • Learn about different attributes
  • To create libraries
  • Use of qualified expressions
9.1 MULTIPLE DRIVERS

Every output signal created has associated with it driver(s) which holds its values.

For Example:

 

s<= a XOR b;

In this signal s is driven by the expression value computed by ‘xor’ operation of ‘a’ and ‘b’. But at times, situation may arise where the same signal has more than one driving statements associated with it. This gives rise to following situations that are encountered in VHDL:

  • Inside a process

    s<= 1 after 3 ns, 4 after 6 ns, 12 after 20 ns

     

  • Between two or more processes

     

    P1: process()

           Begin

           ……..

           ……..

           s<= a; ...

Get VHDL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.