ffa_ch1_genesis.kv 1 ------------------------------------------------------------------------------
ffa_ch1_genesis.kv 2 ------------------------------------------------------------------------------
ffa_ch1_genesis.kv 3 -- This file is part of 'Finite Field Arithmetic', aka 'FFA'. --
ffa_ch1_genesis.kv 4 -- --
ffa_ch1_genesis.kv 5 -- (C) 2017 Stanislav Datskovskiy ( www.loper-os.org ) --
ffa_ch1_genesis.kv 6 -- http://wot.deedbot.org/17215D118B7239507FAFED98B98228A001ABFFC7.html --
ffa_ch1_genesis.kv 7 -- --
ffa_ch1_genesis.kv 8 -- You do not have, nor can you ever acquire the right to use, copy or --
ffa_ch1_genesis.kv 9 -- distribute this software ; Should you use this software for any purpose, --
ffa_ch1_genesis.kv 10 -- or copy and distribute it to anyone or in any manner, you are breaking --
ffa_ch1_genesis.kv 11 -- the laws of whatever soi-disant jurisdiction, and you promise to --
ffa_ch1_genesis.kv 12 -- continue doing so for the indefinite future. In any case, please --
ffa_ch1_genesis.kv 13 -- always : read and understand any software ; verify any PGP signatures --
ffa_ch1_genesis.kv 14 -- that you use - for any purpose. --
ffa_ch1_genesis.kv 15 -- --
ffa_ch1_genesis.kv 16 -- See also http://trilema.com/2015/a-new-software-licensing-paradigm . --
ffa_ch1_genesis.kv 17 ------------------------------------------------------------------------------
ffa_ch1_genesis.kv 18 ------------------------------------------------------------------------------
ffa_ch1_genesis.kv 19
ffa_ch1_genesis.kv 20 package Iron is
ffa_ch1_genesis.kv 21
ffa_ch1_genesis.kv 22 pragma Pure;
ffa_ch1_genesis.kv 23
ffa_ch1_genesis.kv 24 --------------------------------------
ffa_ch1_genesis.kv 25 -------- For a 64-bit system: --------
ffa_ch1_genesis.kv 26 --------------------------------------
ffa_ch1_genesis.kv 27 MachineBitness : constant Positive := 64;
ffa_ch1_genesis.kv 28 MachineBitnessLog2 : constant Positive := 6; -- log2(64)
ffa_ch1_genesis.kv 29 --------------------------------------
ffa_ch1_genesis.kv 30
ffa_ch1_genesis.kv 31 --------------------------------------
ffa_ch1_genesis.kv 32 -------- For a 32-bit system: --------
ffa_ch1_genesis.kv 33 --------------------------------------
ffa_ch1_genesis.kv 34 -- MachineBitness : constant Positive := 32;
ffa_ch1_genesis.kv 35 -- MachineBitnessLog2 : constant Positive := 5; -- log2(32)
ffa_ch1_genesis.kv 36 --------------------------------------
ffa_ch1_genesis.kv 37
ffa_ch1_genesis.kv 38 -- Bits per Byte
ffa_ch1_genesis.kv 39 ByteBits : constant Positive := 8;
ffa_ch1_genesis.kv 40
ffa_ch13_measure_... 41 -- Whether we have a barrel shifter:
ffa_ch13_measure_... 42 HaveBarrelShifter : constant Boolean := True;
ffa_ch13_measure_... 43
ffa_ch1_genesis.kv 44 end Iron;