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 Word_Ops; use Word_Ops;
ffa_ch2_logicals.kv 21
ffa_ch2_logicals.kv 22
ffa_ch2_logicals.kv 23 package body FZ_Basic is
ffa_ch2_logicals.kv 24
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 procedure FZ_Clear(N : out FZ) is
ffa_ch2_logicals.kv 31 begin
ffa_ch2_logicals.kv 32 N := (others => 0);
ffa_ch2_logicals.kv 33 end FZ_Clear;
ffa_ch2_logicals.kv 34 pragma Inline_Always(FZ_Clear);
ffa_ch2_logicals.kv 35
ffa_ch2_logicals.kv 36
ffa_ch2_logicals.kv 37
ffa_ch2_logicals.kv 38 procedure FZ_Set_Head(N : out FZ; Source : in Word) is
ffa_ch2_logicals.kv 39 begin
ffa_ch2_logicals.kv 40 N(N'First) := Source;
ffa_ch2_logicals.kv 41 end FZ_Set_Head;
ffa_ch2_logicals.kv 42 pragma Inline_Always(FZ_Set_Head);
ffa_ch2_logicals.kv 43
ffa_ch2_logicals.kv 44
ffa_ch2_logicals.kv 45
ffa_ch2_logicals.kv 46 function FZ_Get_Head(N : in FZ) return Word is
ffa_ch2_logicals.kv 47 begin
ffa_ch2_logicals.kv 48 return N(N'First);
ffa_ch2_logicals.kv 49 end FZ_Get_Head;
ffa_ch2_logicals.kv 50 pragma Inline_Always(FZ_Get_Head);
ffa_ch2_logicals.kv 51
ffa_ch2_logicals.kv 52
ffa_ch2_logicals.kv 53
ffa_ch2_logicals.kv 54 procedure FZ_Swap(X : in out FZ; Y : in out FZ) is
ffa_ch3_shifts.kv 55 T : FZ(X'Range);
ffa_ch2_logicals.kv 56 begin
ffa_ch2_logicals.kv 57 T := X;
ffa_ch2_logicals.kv 58 X := Y;
ffa_ch2_logicals.kv 59 Y := T;
ffa_ch2_logicals.kv 60 end FZ_Swap;
ffa_ch2_logicals.kv 61 pragma Inline_Always(FZ_Swap);
ffa_ch2_logicals.kv 62
ffa_ch2_logicals.kv 63
ffa_ch2_logicals.kv 64
ffa_ch2_logicals.kv 65 procedure FZ_Mux(X : in FZ; Y : in FZ; Result : out FZ; Sel : in WBool) is
ffa_ch2_logicals.kv 66 begin
ffa_ch2_logicals.kv 67 for i in X'Range loop
ffa_ch2_logicals.kv 68 Result(i) := W_Mux(X(i), Y(i), Sel);
ffa_ch2_logicals.kv 69 end loop;
ffa_ch2_logicals.kv 70 end FZ_Mux;
ffa_ch2_logicals.kv 71 pragma Inline_Always(FZ_Mux);
ffa_ch2_logicals.kv 72
ffa_ch2_logicals.kv 73 end FZ_Basic;