FPGA Center



VECTOR

One dimensional arrays which consist of logical elements called vectors. Arrays which have elements of bits and std_logic are called bit_vector and std_logic_vector respectively.


NOTE:

EXAMPLE 1:

signal Data : Bit_Vector (3 downto 0);
  . . .
Data <= "1011";

EXAMPLE 2:

variable temp: std_logic_vector (0 to 3):= x"A";  --Hexadecimal value is assigned to variable temp .

 

                                                                                                           

    

                                                                                                                                    

 

                                                                                                                                                                                                                                                                   

Home | Fpga | VHDL | VHDL Dictionary | Digital Design | Simulation | PCB | Examples | Contact Us
Copyright © 2010 - 2013 FPGAcenter. All Rights Reserved.