Op«Kj* |
Typ argumentu a |
Typ argumentu b |
Typ wyniku | |
not a |
std loaic. std loaic vector |
tek a | ||
a and b aorb a xor b a nandb a nor b a xnor b |
stdjogic, stdJogic_vector Jak a |
Jak a | ||
Operaęfa |
tvp argumentu a |
Typ wyniku | ||
to_bit(a) |
stdjogic |
bit |
to_stdulogic(a) bit stdjogic
to_bitvector(a) stdJogię_vector brt_vecttx
to_stdlogicvector(a) bit_vector stdjog ic_vector
signal sl, s2, s3 : std_logic_vector (7 downto 0);
slgnal bl, b2 : bit_vector (7 downto 0);
sl <- bl; b2 <= sl and s2; s3 <= bl or s2;
Isl <■ to_stdlogicvector(bl); b2 <■ tq_bitvector(sl and s2);
s3 <■ to_stdloglcvector(bl) or s2; lub s3 <• to_stdloglcvector( bl or to_błtvector(s2));
Mariusz Rawski