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 > Introduction to VHDL programming > Simulation of a VHDL Code > Simulation statements

Simulation statements

FONT SIZE : AAA

VHDL features the wait statement, which stops the simulation of the code until a condition is met. A process must include a wait statement if it does not have any sensitivity list. In addition, it is also

Simulation results for Example 3.png

Figure 4.5: Simulation results for Example 3

possible to generate sequential hardware by using wait statements. Chapter 5 makes a deeper discussion about this. There are three types of wait statements: 

• wait on list_of_signals; The simulation stops until any signal in the list_of_signals is modified. 

• wait for time; The simulation stops for the time specified in the time variable. 

• wait until condition; The simulation stops until the condition is met. 

The following code illustrates the operation of the wait statement. In this example, C cannot be updated unless A is '1', which occurs at 5 ns. 

Operation of the wait statement.png

Figure 4.6: Example: Operation of the wait statement

  • XC3S50AN-4TQ144I

    Manufacturer:Xilinx

  • FPGA Spartan-3AN Family 50K Gates 1584 Cells 667MHz 90nm Technology 1.2V Automotive Medical 144-Pin TQFP EP
  • Product Categories: FPGAs (Field Programmable Gate Array)

    Lifecycle:Active Active

    RoHS: No RoHS

  • XC5215-6HQ208C

    Manufacturer:Xilinx

  • FPGA XC5200 Family 23K Gates 1936 Cells 83MHz 0.5um Technology 5V 208-Pin HSPQFP EP
  • Product Categories: FPGAs

    Lifecycle:Obsolete -

    RoHS: No RoHS

  • XC5215-6PQ160C

    Manufacturer:Xilinx

  • FPGA XC5200 Family 23K Gates 1936 Cells 83MHz 0.5um Technology 5V 160-Pin PQFP
  • Product Categories: FPGAs

    Lifecycle:Obsolete -

    RoHS: No RoHS

  • XC2V1000-4FF896I

    Manufacturer:Xilinx

  • FPGA Virtex-II Family 1M Gates 11520 Cells 650MHz 0.15um Technology 1.5V 896-Pin FCBGA
  • Product Categories: FPGAs

    Lifecycle:Obsolete -

    RoHS: No RoHS

  • XC3S700A-4FG484C

    Manufacturer:Xilinx

  • FPGA Spartan-3A Family 700K Gates 13248 Cells 667MHz 90nm Technology 1.2V 484-Pin FBGA
  • Product Categories: FPGAs

    Lifecycle:Active Active

    RoHS:

Need Help?

Support

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