/ x20_2000card.vhd
x20_2000card.vhd
 1  library IEEE;
 2  use IEEE.std_logic_1164.all;  -- defines std_logic types
 3  use IEEE.STD_LOGIC_ARITH.ALL;
 4  use IEEE.STD_LOGIC_UNSIGNED.ALL;
 5  
 6  -- Copyright (C) 2007, Peter C. Wallace, Mesa Electronics
 7  -- http://www.mesanet.com
 8  --
 9  -- This program is is licensed under a disjunctive dual license giving you
10  -- the choice of one of the two following sets of free software/open source
11  -- licensing terms:
12  --
13  --    * GNU General Public License (GPL), version 2.0 or later
14  --    * 3-clause BSD License
15  -- 
16  --
17  -- The GNU GPL License:
18  -- 
19  --     This program is free software; you can redistribute it and/or modify
20  --     it under the terms of the GNU General Public License as published by
21  --     the Free Software Foundation; either version 2 of the License, or
22  --     (at your option) any later version.
23  -- 
24  --     This program is distributed in the hope that it will be useful,
25  --     but WITHOUT ANY WARRANTY; without even the implied warranty of
26  --     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27  --     GNU General Public License for more details.
28  -- 
29  --     You should have received a copy of the GNU General Public License
30  --     along with this program; if not, write to the Free Software
31  --     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
32  -- 
33  -- 
34  -- The 3-clause BSD License:
35  -- 
36  --     Redistribution and use in source and binary forms, with or without
37  --     modification, are permitted provided that the following conditions
38  --     are met:
39  -- 
40  --         * Redistributions of source code must retain the above copyright
41  --           notice, this list of conditions and the following disclaimer.
42  -- 
43  --         * Redistributions in binary form must reproduce the above
44  --           copyright notice, this list of conditions and the following
45  --           disclaimer in the documentation and/or other materials
46  --           provided with the distribution.
47  -- 
48  --         * Neither the name of Mesa Electronics nor the names of its
49  --           contributors may be used to endorse or promote products
50  --           derived from this software without specific prior written
51  --           permission.
52  -- 
53  -- 
54  -- Disclaimer:
55  -- 
56  --     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
57  --     "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
58  --     LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
59  --     FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
60  --     COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
61  --     INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
62  --     BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
63  --     LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
64  --     CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
65  --     LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
66  --     ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
67  --     POSSIBILITY OF SUCH DAMAGE.
68  -- 
69  
70  use work.IDROMConst.all;
71  package x20_2000card is
72  		-- 3x20_2000 card specific info. Note: ISE only! Webpack users are out in the cold
73  		constant ClockHigh: integer := ClockHighx20;
74  		constant ClockMed: integer := ClockMedx20;
75  		constant ClockLow: integer := ClockLowx20;
76  		constant BoardNameLow : std_Logic_Vector(31 downto 0) := BoardNameMESA;
77  		constant BoardNameHigh : std_Logic_Vector(31 downto 0) := BoardName3x20;
78  		constant FPGASize: integer := 2000;
79  		constant FPGAPins: integer := 456;
80  		constant IOPorts: integer := 6;
81  		constant IOWidth: integer := 144;
82  		constant PortWidth: integer := 24;
83  		constant LIOWidth: integer := 0;
84  		constant LEDCount: integer := 1;
85  		constant	SepClocks: boolean := true;
86  		constant OneWS: boolean := true;
87  
88  end package x20_2000card;