bit

Value set is ('0', '1') TYPE bit IS ('0', '1'); SIGNAL bitName : BIT:='0'; bitName <= '1';

bit_vector

Value set is array if bits TYPE bit_vector IS ARRAY (NATURAL RANGE <>) OF bit; SIGNAL bitArrayName : bit_vector (3 downto 0):="0000"; bitArrayName <= "1111";

boolean

Value set is (false, true); TYPE boolean IS (false, true); SIGNAL booleanName : boolean :=false; booleanName <= true;

character

Value set is (set as follows); TYPE character IS ( nul, soh, stx, etx, eot, enq, ack, bel, bs, ht, lf, vt, ff, cr, so, si, dle, dc1, dc2, dc3, dc4, nak, syn, etb, can, em, sub, esc, fsp, gsp, rsp, usp, ' ', '!', '"', '#', '$', '%', '&', ''', '(', ')', '*', '+', ',', '-', '.', '/', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', ':', ';', '<', '=', '>', '?', '@', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '[', '\', ']', '^', '_', '`', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '{', '|', '}', '~', del, c128, c129, c130, c131, c132, c133, c134, c135, c136, c137, c138, c139, c140, c141, c142, c143, c144, c145, c146, c147, c148, c149, c150, c151, c152, c153, c154, c155, c156, c157, c158, c159, -- the character code for 160 is there (NBSP), -- but prints as no char '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '' );

integer

Value set is range of integers (impl. dependent range); TYPE integer IS RANGE -2_147_483_647 TO 2_147_483_647;

line

Value set is access of string; TYPE line IS ACCESS string;

natural

Value set is range 0 to integer'HIGH; SUBTYPE natural IS integer RANGE 0 TO integer'HIGH;

positive

Value set is range 1 to integer'HIGH; SUBTYPE positive IS integer RANGE 1 TO integer'HIGH;

real

Value set is range of real (impl. dependent range); TYPE real IS RANGE -2_147_483_647.0 TO 2_147_483_647.0;

severity_level

Value set is (note,warning,error,failure); TYPE severity_level IS (note,warning,error,failure);

side

Value set is (right, left);; TYPE side IS (right, left);

std_logic

Value set is ('U','X','0','1','Z','W','L','H','-') TYPE std_logic IS ( 'U', -- Uninitialized 'X', -- Forcing unknown '0', -- Forcing 0 '1', -- Forsing 1 'Z', -- High impedance 'W', -- Weak unknown 'L', -- Weak 0 'H', -- Weak 1 '-'); -- Don't care SIGNAL stdLogicName : STD_LOGIC:='0'; stdLogicName <= 'Z';

std_logic_vector

Value set is array std_logic; TYPE std_logic_vector IS ARRAY ( NATURAL RANGE <>) OF std_logic; SIGNAL stdLogicVectorName : STD_LOGIC_VECTOR (5 DOWNTO 0):="HUSTAK"; stdLogicVectorName <= "Platta";

std_ulogic

Value set is ('U','X','0','1','Z','W','L','H','-') TYPE std_ulogic IS ( 'U', -- Uninitialized 'X', -- Forcing Unknown '0', -- Forcing 0 '1', -- Forcing 1 'Z', -- High Impedance 'W', -- Weak Unknown 'L', -- Weak 0 'H', -- Weak 1 '-'); -- Don't care

std_ulogic_vector

Value set is array std_ulogic; TYPE std_ulogic_vector IS ARRAY ( NATURAL RANGE <> ) OF std_ulogic;

string

Value set is array of characters TYPE string IS ARRAY (POSITIVE RANGE <>) OF character; SIGNAL stringName : STRING (4 downto 0):="START"; stringName <= "VALUE";

text

Value set is file of string; TYPE text IS FILE OF string;

time

Value set is range (impl. dependent range); TYPE time IS RANGE -2_147_483_647 TO 2_147_483_647 UNITS fs; ps = 1000 fs; ns = 1000 ps; us = 1000 ns; ms = 1000 us; sec = 1000 ms; min = 60 sec; hr = 60 min; END UNITS;