From 9ea208eaf02e0ed2c404061c25c13f010f98db8f Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Wed, 28 Oct 2009 22:45:24 +0000 Subject: [PATCH] -added new page_read parameters Committed on the Free edition of March Hare Software CVSNT Server. Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/ git-svn-id: http://moon:8086/svn/vhdl/trunk@550 cc03376c-175c-47c8-b038-4cd826a8556b --- lib/CPUs/MIPS/src/async_defs.vhd | 12 +++++++++--- lib/misc/async_types.vhd | 25 ++++++++++++++----------- projects/mips_sys/src/sys_types.vhd | 6 ++++++ 3 files changed, 29 insertions(+), 14 deletions(-) diff --git a/lib/CPUs/MIPS/src/async_defs.vhd b/lib/CPUs/MIPS/src/async_defs.vhd index be964c1..155333c 100644 --- a/lib/CPUs/MIPS/src/async_defs.vhd +++ b/lib/CPUs/MIPS/src/async_defs.vhd @@ -31,12 +31,15 @@ package async_defs is constant ts_flash : async_timespec_t := ( - ncyc_leadin => 0, + ncyc_leadin => 1, ncyc_pulse_rd => 12, ncyc_pulse_wr => 7, - ncyc_leadout => 0, - ncyc_release => 0, + ncyc_leadout => 2, + ncyc_release => 3, ncyc_pulse_rst => 8, + can_page_rd => true, + nbits_page_rd => 4, + ncyc_pulse_page_rd => 6, pol_cs => '0', pol_oe => '0', pol_we => '0', @@ -52,6 +55,9 @@ package async_defs is ncyc_leadout => 1, ncyc_release => 1, ncyc_pulse_rst => 8, + can_page_rd => false, + nbits_page_rd => 0, + ncyc_pulse_page_rd => 0, pol_cs => '0', pol_oe => '0', pol_we => '0', diff --git a/lib/misc/async_types.vhd b/lib/misc/async_types.vhd index 52e0efc..295217f 100644 --- a/lib/misc/async_types.vhd +++ b/lib/misc/async_types.vhd @@ -28,17 +28,20 @@ USE IEEE.NUMERIC_STD.ALL; package async_types is type async_timespec_t is record - ncyc_leadin : natural; - ncyc_pulse_rd : natural; - ncyc_pulse_wr : natural; - ncyc_leadout : natural; - ncyc_release : natural; - ncyc_pulse_rst : natural; - pol_cs : std_logic; - pol_oe : std_logic; - pol_we : std_logic; - pol_be : std_logic; - pol_rst : std_logic; + ncyc_leadin : natural; + ncyc_pulse_rd : natural; + ncyc_pulse_wr : natural; + ncyc_leadout : natural; + ncyc_release : natural; + ncyc_pulse_rst : natural; + can_page_rd : boolean; + nbits_page_rd : natural; + ncyc_pulse_page_rd : natural; + pol_cs : std_logic; + pol_oe : std_logic; + pol_we : std_logic; + pol_be : std_logic; + pol_rst : std_logic; end record; end async_types; diff --git a/projects/mips_sys/src/sys_types.vhd b/projects/mips_sys/src/sys_types.vhd index 5355167..4e58836 100644 --- a/projects/mips_sys/src/sys_types.vhd +++ b/projects/mips_sys/src/sys_types.vhd @@ -37,6 +37,9 @@ package async_defs is ncyc_leadout => 1, ncyc_release => 1, ncyc_pulse_rst => 8, + can_page_rd => true, + nbits_page_rd => 4, + ncyc_pulse_page_rd => 5, pol_cs => '1', pol_oe => '0', pol_we => '0', @@ -52,6 +55,9 @@ package async_defs is ncyc_leadout => 1, ncyc_release => 6, ncyc_pulse_rst => 8, + can_page_rd => false, + nbits_page_rd => 0, + ncyc_pulse_page_rd => 0, pol_cs => '0', pol_oe => '0', pol_we => '0',