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 pragma Inline_Always(W_ZeroP);
ffa_ch2_logicals.kv 31
ffa_ch2_logicals.kv 32
ffa_ch2_logicals.kv 33
ffa_ch2_logicals.kv 34 function W_NZeroP(N : in Word) return WBool is
ffa_ch2_logicals.kv 35 begin
ffa_ch2_logicals.kv 36 return 1 xor W_ZeroP(N);
ffa_ch2_logicals.kv 37 end W_NZeroP;
ffa_ch2_logicals.kv 38 pragma Inline_Always(W_NZeroP);
ffa_ch2_logicals.kv 39
ffa_ch2_logicals.kv 40
ffa_ch5_egypt.kv 41
ffa_ch5_egypt.kv 42 function W_Not(N : in WBool) return WBool is
ffa_ch5_egypt.kv 43 begin
ffa_ch5_egypt.kv 44 return 1 xor N;
ffa_ch5_egypt.kv 45 end W_Not;
ffa_ch5_egypt.kv 46 pragma Inline_Always(W_Not);
ffa_ch5_egypt.kv 47
ffa_ch5_egypt.kv 48
ffa_ch2_logicals.kv 49
ffa_ch2_logicals.kv 50 function W_OddP(N : in Word) return WBool is
ffa_ch2_logicals.kv 51 begin
ffa_ch2_logicals.kv 52 return 1 and N;
ffa_ch2_logicals.kv 53 end W_OddP;
ffa_ch2_logicals.kv 54 pragma Inline_Always(W_OddP);
ffa_ch2_logicals.kv 55
ffa_ch2_logicals.kv 56
ffa_ch2_logicals.kv 57
ffa_ch2_logicals.kv 58 function W_EqP(A : in Word; B : in Word) return WBool is
ffa_ch2_logicals.kv 59 begin
ffa_ch2_logicals.kv 60 return W_ZeroP(A xor B);
ffa_ch2_logicals.kv 61 end W_EqP;
ffa_ch2_logicals.kv 62 pragma Inline_Always(W_EqP);
ffa_ch2_logicals.kv 63
ffa_ch2_logicals.kv 64 end W_Pred;