Test_vectors Keyword
note
Use
Test vectors specify the expected functional operation of a logic device by
explicitly defining the device outputs as functions of the inputs. Test vectors
are used for simulation of an internal model of the device and for functional
testing of the programmed device.
Examples
Following is a simple test vector table:
(inputs -> outputs )
invalues -> outvalues ;
...
( [A,B] -> [C,D] )
[0,0] -> [1,1] ;
[0,1] -> [1,0] ;
[1,0] -> [0,1] ;
[1,1] -> [0,0] ;
( [A,B] -> [C,D] )
0 -> 3 ;
1 -> 2 ;
2 -> 1 ;
3 -> 0 ;
See Also