OpenCores
URL https://opencores.org/ocsvn/btcfpgaminer/btcfpgaminer/trunk

Subversion Repositories btcfpgaminer

[/] [btcfpgaminer/] [trunk/] [romk.vhd] - Blame information for rev 5

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 5 zeuscz
-- ------------------------------------------------------------------------
2
-- Copyright (C) 2010 Arif Endro Nugroho
3
-- All rights reserved.
4
-- 
5
-- Redistribution and use in source and binary forms, with or without
6
-- modification, are permitted provided that the following conditions
7
-- are met:
8
-- 
9
-- 1. Redistributions of source code must retain the above copyright
10
--    notice, this list of conditions and the following disclaimer.
11
-- 2. Redistributions in binary form must reproduce the above copyright
12
--    notice, this list of conditions and the following disclaimer in the
13
--    documentation and/or other materials provided with the distribution.
14
-- 
15
-- THIS SOFTWARE IS PROVIDED BY ARIF ENDRO NUGROHO "AS IS" AND ANY EXPRESS
16
-- OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17
-- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18
-- DISCLAIMED. IN NO EVENT SHALL ARIF ENDRO NUGROHO BE LIABLE FOR ANY
19
-- DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20
-- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21
-- OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22
-- HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
23
-- STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
24
-- ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
25
-- POSSIBILITY OF SUCH DAMAGE.
26
-- 
27
-- End Of License.
28
-- ------------------------------------------------------------------------
29
 
30
entity romk is
31
  port (
32
  addr             : in  bit_vector (  5 downto 0);
33
  k                : out bit_vector ( 31 downto 0)
34
  );
35
end romk;
36
 
37
architecture phy of romk is
38
begin
39
  with addr (  5 downto 0) select
40
  k                <= X"428a2f98" when B"000000",
41
                      X"71374491" when B"000001",
42
                      X"b5c0fbcf" when B"000010",
43
                      X"e9b5dba5" when B"000011",
44
                      X"3956c25b" when B"000100",
45
                      X"59f111f1" when B"000101",
46
                      X"923f82a4" when B"000110",
47
                      X"ab1c5ed5" when B"000111",
48
 
49
                      X"d807aa98" when B"001000",
50
                      X"12835b01" when B"001001",
51
                      X"243185be" when B"001010",
52
                      X"550c7dc3" when B"001011",
53
                      X"72be5d74" when B"001100",
54
                      X"80deb1fe" when B"001101",
55
                      X"9bdc06a7" when B"001110",
56
                      X"c19bf174" when B"001111",
57
 
58
                      X"e49b69c1" when B"010000",
59
                      X"efbe4786" when B"010001",
60
                      X"0fc19dc6" when B"010010",
61
                      X"240ca1cc" when B"010011",
62
                      X"2de92c6f" when B"010100",
63
                      X"4a7484aa" when B"010101",
64
                      X"5cb0a9dc" when B"010110",
65
                      X"76f988da" when B"010111",
66
 
67
                      X"983e5152" when B"011000",
68
                      X"a831c66d" when B"011001",
69
                      X"b00327c8" when B"011010",
70
                      X"bf597fc7" when B"011011",
71
                      X"c6e00bf3" when B"011100",
72
                      X"d5a79147" when B"011101",
73
                      X"06ca6351" when B"011110",
74
                      X"14292967" when B"011111",
75
 
76
                      X"27b70a85" when B"100000",
77
                      X"2e1b2138" when B"100001",
78
                      X"4d2c6dfc" when B"100010",
79
                      X"53380d13" when B"100011",
80
                      X"650a7354" when B"100100",
81
                      X"766a0abb" when B"100101",
82
                      X"81c2c92e" when B"100110",
83
                      X"92722c85" when B"100111",
84
 
85
                      X"a2bfe8a1" when B"101000",
86
                      X"a81a664b" when B"101001",
87
                      X"c24b8b70" when B"101010",
88
                      X"c76c51a3" when B"101011",
89
                      X"d192e819" when B"101100",
90
                      X"d6990624" when B"101101",
91
                      X"f40e3585" when B"101110",
92
                      X"106aa070" when B"101111",
93
 
94
                      X"19a4c116" when B"110000",
95
                      X"1e376c08" when B"110001",
96
                      X"2748774c" when B"110010",
97
                      X"34b0bcb5" when B"110011",
98
                      X"391c0cb3" when B"110100",
99
                      X"4ed8aa4a" when B"110101",
100
                      X"5b9cca4f" when B"110110",
101
                      X"682e6ff3" when B"110111",
102
 
103
                      X"748f82ee" when B"111000",
104
                      X"78a5636f" when B"111001",
105
                      X"84c87814" when B"111010",
106
                      X"8cc70208" when B"111011",
107
                      X"90befffa" when B"111100",
108
                      X"a4506ceb" when B"111101",
109
                      X"bef9a3f7" when B"111110",
110
                      X"c67178f2" when B"111111";
111
end phy;

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.