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

Subversion Repositories core_arm

[/] [core_arm/] [trunk/] [vhdl/] [peripherals/] [mem/] [peri_mem_config.vhd] - Blame information for rev 2

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 tarookumic
 
2
library IEEE;
3
use IEEE.std_logic_1164.all;
4
use IEEE.std_logic_arith.all;
5
 
6
package peri_mem_config is
7
 
8
-----------------------------------------------------------------------------
9
-- Automatically generated by vhdl/peripherals/mem/config.pl from of .config
10
-----------------------------------------------------------------------------
11
 
12
constant CFG_PERIMEM_BUS8EN : boolean := true; -- enable 8-bit bus operation
13
constant CFG_PERIMEM_BUS16EN : boolean := true; -- enable 16-bit bus operation
14
constant CFG_PERIMEM_WENDFB : boolean := true; -- enable wen feed-back to data bus drivers
15
constant CFG_PERIMEM_RAMSEL5 : boolean := true; -- enable 5th ram select
16
constant CFG_PERIMEM_SDRAMEN : boolean := true; -- enable sdram controller
17
constant CFG_PERIMEM_SDINVCLK : boolean := true; -- invert sdram clock
18
 
19
type cfg_perimem_boottype is (perimem_memory, perimem_prom, perimem_dual);
20
 
21
constant CFG_PERIMEM_BOOT :  cfg_perimem_boottype := perimem_memory; -- select boot source
22
constant CFG_PERIMEM_BRAMRWS    : unsigned(3 downto 0) := conv_unsigned(0, 4);    -- ram read waitstates
23
constant CFG_PERIMEM_BRAMWWS    : unsigned(3 downto 0) := conv_unsigned(0, 4);    -- ram write waitstates
24
constant CFG_PERIMEM_SYSCLK     : integer := 25000000;  -- cpu clock
25
constant CFG_PERIMEM_BAUD       : positive := 19200;    -- UART baud rate
26
constant CFG_PERIMEM_EXTBAUD    : boolean := false;     -- use external baud rate setting
27
constant CFG_PERIMEM_PABITS     : positive := 11;       -- internal boot-prom address bits
28
 
29
constant CFG_PERIMEM_WPROTEN    : boolean := true; -- enable RAM write-protection unit
30
 
31
-----------------------------------------------------------------------------
32
-- end of automatic configuration
33
-----------------------------------------------------------------------------
34
 
35
end peri_mem_config;
36
 

powered by: WebSVN 2.1.0

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