- Intital revision

git-svn-id: http://moon:8086/svn/vhdl/trunk@77 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2008-10-19 20:13:28 +00:00
parent 891e764a23
commit 85bf744892
+73
View File
@@ -0,0 +1,73 @@
-------------------------------------------------------------------------
-- Project: MIPS System controller
-- This file:
--
-- Copyright (C) 2008 J. Ahrensfeld
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <http://www.gnu.org/licenses/>.
--
-- For questions and ideas, please contact the author at jens@jayfield.org
--
--------------------------------------------------------------------------
library IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
USE IEEE.NUMERIC_STD.ALL;
package sys_types is
type async_timespec_t is record
ncyc_access : natural;
ncyc_pulse_rd : natural;
ncyc_pulse_wr : natural;
ncyc_cs_hold : natural;
ncyc_release : natural;
ncyc_pulse_rst : natural;
pol_cs : std_logic;
pol_oe : std_logic;
pol_we : std_logic;
pol_rst : std_logic;
end record;
constant ts_flash : async_timespec_t :=
(
ncyc_access => 1,
ncyc_pulse_rd => 12,
ncyc_pulse_wr => 7,
ncyc_cs_hold => 1,
ncyc_release => 1,
ncyc_pulse_rst => 8,
pol_cs => '1',
pol_oe => '0',
pol_we => '0',
pol_rst => '0'
);
constant ts_usb : async_timespec_t :=
(
ncyc_access => 1,
ncyc_pulse_rd => 6,
ncyc_pulse_wr => 6,
ncyc_cs_hold => 1,
ncyc_release => 6,
ncyc_pulse_rst => 8,
pol_cs => '0',
pol_oe => '0',
pol_we => '0',
pol_rst => '0'
);
----------------------------------------------------------------------------------------------
end sys_types;