This website uses cookies. By using this site, you consent to the use of cookies. For more information, please take a look at our Privacy Policy.
Home > FPGA Technical Tutorials > Design Recipes for FPGAs Using Verilog and VHDL > A VHDL Primer: The Essentials > Process: Basic Functional Unit in VHDL

TABLE OF CONTENTS

Xilinx FPGA FPGA Forum

Process: Basic Functional Unit in VHDL

FONT SIZE : AAA

The process in VHDL is the mechanism by which sequential statements can be executed in the correct sequence, and with more than one process, concurrently. Each process consists of a sensitivity list, declarations, and statements. The basic process syntax is given below:

1 process sensitivity_list is

2 −− declaration part

3 begin

4 −− statement part

5 end process;

The sensitivity list allows a process to be activated when a specific signal changes value; for example a typical usage would be to have a global clock and reset signal to control the activity of the process, as follows:

1 process (clk, rst) is

2 begin

3 −− process statements

4 end process;

In this example, the process would only be activated when either clk or rst changed value. Another way of encapsulating the same behavior is to use a wait statement in the process so that the process is automatically activated once, and then waits for activity on either signal before running the process again. The same process could then be written as follows: 

1 process

2 begin

3 −− process statements

4 wait on clk, rst;

5 end process;

In fact, the location of the wait statement is not important, as the VHDL simulation cycle executes each process once during initialization, and so the wait statement could be at the start or the end of the process and the behavior would be the same in both cases.

In the declaration section of the process, signals and variables can be defined locally as described previously; for example, a typical process may look like the following:

1 process (a) is

2 signal na : bit;

3 begin

4 na <= not a;

5 end process;

The local signal na and the process are activated by changes on the signal a which is externally declared (with respect to the process).

  • XC18V04-PC44C

    Manufacturer:Xilinx

  • IC PROM SER C-TEMP 3.3V 44-PLCC
  • Product Categories:

    Lifecycle:Active Active

    RoHS: -

  • XC18V04-VQ44BRT

    Manufacturer:Xilinx

  • Xilinx QFP44
  • Product Categories:

    Lifecycle:Active Active

    RoHS: -

  • XC18V04-VQ44C

    Manufacturer:Xilinx

  • PROM Parallel/Serial 4M-bit 3.3V EEPROM
  • Product Categories:

    Lifecycle:Active Active

    RoHS: -

  • XC18V04VQG44C

    Manufacturer:Xilinx

  • PROM Parallel/Serial 4M-bit 2.5V/3.3V 44-Pin VQFP
  • Product Categories: EEPROM

    Lifecycle:Active Active

    RoHS:

  • XC18V256SO20I

    Manufacturer:Xilinx

  • Ic prom ser i-temp 3.3v 20-soic
  • Product Categories: Memory - Configuration Proms for FPGA&#039;s

    Lifecycle:Active Active

    RoHS: -

Need Help?

Support

If you have any questions about the product and related issues, Please contact us.