VHDL Data Types

Scalar Types


   ARCHITECTURE test_int OF test IS
   BEGIN
       PROCESS (X)
         VARIABLE a: INTEGER;
       BEGIN
         a := 1;  -- OK
         a := -1;  -- OK
         a := 1.0;  -- bad
       END PROCESS;
   END TEST;