ffa_ch3_shifts.kv 1
ffa_ch3_shifts.kv 2
ffa_ch3_shifts.kv 3
ffa_ch3_shifts.kv 4
ffa_ch3_shifts.kv 5
ffa_ch3_shifts.kv 6
ffa_ch3_shifts.kv 7
ffa_ch3_shifts.kv 8
ffa_ch3_shifts.kv 9
ffa_ch3_shifts.kv 10
ffa_ch3_shifts.kv 11
ffa_ch3_shifts.kv 12
ffa_ch3_shifts.kv 13
ffa_ch3_shifts.kv 14
ffa_ch3_shifts.kv 15
ffa_ch3_shifts.kv 16
ffa_ch3_shifts.kv 17
ffa_ch3_shifts.kv 18
ffa_ch3_shifts.kv 19
ffa_ch2_logicals.kv 20 with W_Pred; use W_Pred;
ffa_ch2_logicals.kv 21 with FZ_Arith; use FZ_Arith;
ffa_ch2_logicals.kv 22
ffa_ch2_logicals.kv 23
ffa_ch2_logicals.kv 24 package body FZ_Cmp is
ffa_ch2_logicals.kv 25
ffa_ch2_logicals.kv 26
ffa_ch2_logicals.kv 27
ffa_ch2_logicals.kv 28
ffa_ch2_logicals.kv 29
ffa_ch2_logicals.kv 30
ffa_ch2_logicals.kv 31 function FZ_EqP(X : in FZ; Y : in FZ) return WBool is
ffa_ch2_logicals.kv 32 A : WBool := 1;
ffa_ch2_logicals.kv 33 begin
ffa_ch2_logicals.kv 34 for i in X'Range loop
ffa_ch2_logicals.kv 35 A := A and W_EqP(X(i), Y(i));
ffa_ch2_logicals.kv 36 end loop;
ffa_ch2_logicals.kv 37 return A;
ffa_ch2_logicals.kv 38 end FZ_EqP;
ffa_ch2_logicals.kv 39
ffa_ch2_logicals.kv 40
ffa_ch2_logicals.kv 41
ffa_ch2_logicals.kv 42 function FZ_LessThanP(X : in FZ; Y : in FZ) return WBool is
ffa_ch2_logicals.kv 43 Scratch : FZ(X'Range);
ffa_ch2_logicals.kv 44 Borrow : WBool := 0;
ffa_ch2_logicals.kv 45 begin
ffa_ch2_logicals.kv 46 FZ_Sub(X, Y, Scratch, Borrow);
ffa_ch2_logicals.kv 47 return Borrow;
ffa_ch2_logicals.kv 48 end FZ_LessThanP;
ffa_ch2_logicals.kv 49
ffa_ch2_logicals.kv 50
ffa_ch2_logicals.kv 51
ffa_ch2_logicals.kv 52 function FZ_GreaterThanP(X : in FZ; Y: in FZ) return WBool is
ffa_ch2_logicals.kv 53 Scratch : FZ(X'Range);
ffa_ch2_logicals.kv 54 Borrow : WBool := 0;
ffa_ch2_logicals.kv 55 begin
ffa_ch2_logicals.kv 56 FZ_Sub(Y, X, Scratch, Borrow);
ffa_ch2_logicals.kv 57 return Borrow;
ffa_ch2_logicals.kv 58 end FZ_GreaterThanP;
ffa_ch2_logicals.kv 59
ffa_ch2_logicals.kv 60 end FZ_Cmp;