ffa_ch2_logicals.kv 1
ffa_ch2_logicals.kv 2
ffa_ch2_logicals.kv 3
ffa_ch2_logicals.kv 4
ffa_ch2_logicals.kv 5
ffa_ch2_logicals.kv 6
ffa_ch2_logicals.kv 7
ffa_ch2_logicals.kv 8
ffa_ch2_logicals.kv 9
ffa_ch2_logicals.kv 10
ffa_ch2_logicals.kv 11
ffa_ch2_logicals.kv 12
ffa_ch2_logicals.kv 13
ffa_ch2_logicals.kv 14
ffa_ch2_logicals.kv 15
ffa_ch2_logicals.kv 16
ffa_ch2_logicals.kv 17
ffa_ch2_logicals.kv 18
ffa_ch2_logicals.kv 19
ffa_ch2_logicals.kv 20 with Word_Ops; use Word_Ops;
ffa_ch2_logicals.kv 21
ffa_ch2_logicals.kv 22
ffa_ch2_logicals.kv 23 package body W_Pred is
ffa_ch2_logicals.kv 24
ffa_ch2_logicals.kv 25
ffa_ch2_logicals.kv 26 function W_ZeroP(N : in Word) return WBool is
ffa_ch2_logicals.kv 27 begin
ffa_ch2_logicals.kv 28 return W_Borrow(N, 1, N - 1);
ffa_ch2_logicals.kv 29 end W_ZeroP;
ffa_ch2_logicals.kv 30
ffa_ch2_logicals.kv 31
ffa_ch2_logicals.kv 32
ffa_ch2_logicals.kv 33 function W_NZeroP(N : in Word) return WBool is
ffa_ch2_logicals.kv 34 begin
ffa_ch2_logicals.kv 35 return 1 xor W_ZeroP(N);
ffa_ch2_logicals.kv 36 end W_NZeroP;
ffa_ch2_logicals.kv 37
ffa_ch2_logicals.kv 38
ffa_ch5_egypt.kv 39
ffa_ch5_egypt.kv 40 function W_Not(N : in WBool) return WBool is
ffa_ch5_egypt.kv 41 begin
ffa_ch5_egypt.kv 42 return 1 xor N;
ffa_ch5_egypt.kv 43 end W_Not;
ffa_ch5_egypt.kv 44
ffa_ch5_egypt.kv 45
ffa_ch2_logicals.kv 46
ffa_ch2_logicals.kv 47 function W_OddP(N : in Word) return WBool is
ffa_ch2_logicals.kv 48 begin
ffa_ch2_logicals.kv 49 return 1 and N;
ffa_ch2_logicals.kv 50 end W_OddP;
ffa_ch2_logicals.kv 51
ffa_ch2_logicals.kv 52
ffa_ch2_logicals.kv 53
ffa_ch2_logicals.kv 54 function W_EqP(A : in Word; B : in Word) return WBool is
ffa_ch2_logicals.kv 55 begin
ffa_ch2_logicals.kv 56 return W_ZeroP(A xor B);
ffa_ch2_logicals.kv 57 end W_EqP;
ffa_ch2_logicals.kv 58
ffa_ch2_logicals.kv 59 end W_Pred;