peri_mem_config.vhd

来自「用VHDL语言实现的ARM处理器的标准内核的源代码程序」· VHDL 代码 · 共 37 行

VHD
37
字号
library IEEE;use IEEE.std_logic_1164.all;use IEEE.std_logic_arith.all;package peri_mem_config is------------------------------------------------------------------------------- Automatically generated by vhdl/peripherals/mem/config.pl from of .config-----------------------------------------------------------------------------constant CFG_PERIMEM_BUS8EN : boolean := true; -- enable 8-bit bus operationconstant CFG_PERIMEM_BUS16EN : boolean := true; -- enable 16-bit bus operationconstant CFG_PERIMEM_WENDFB : boolean := true; -- enable wen feed-back to data bus driversconstant CFG_PERIMEM_RAMSEL5 : boolean := true; -- enable 5th ram selectconstant CFG_PERIMEM_SDRAMEN : boolean := true; -- enable sdram controllerconstant CFG_PERIMEM_SDINVCLK : boolean := true; -- invert sdram clocktype cfg_perimem_boottype is (perimem_memory, perimem_prom, perimem_dual);constant CFG_PERIMEM_BOOT :  cfg_perimem_boottype := perimem_memory; -- select boot sourceconstant CFG_PERIMEM_BRAMRWS   	: unsigned(3 downto 0) := conv_unsigned(0, 4);	-- ram read waitstatesconstant CFG_PERIMEM_BRAMWWS   	: unsigned(3 downto 0) := conv_unsigned(0, 4);	-- ram write waitstatesconstant CFG_PERIMEM_SYSCLK   	: integer := 25000000;	-- cpu clockconstant CFG_PERIMEM_BAUD     	: positive := 19200;	-- UART baud rateconstant CFG_PERIMEM_EXTBAUD  	: boolean := false;	-- use external baud rate settingconstant CFG_PERIMEM_PABITS   	: positive := 11;	-- internal boot-prom address bitsconstant CFG_PERIMEM_WPROTEN   	: boolean := true; -- enable RAM write-protection unit------------------------------------------------------------------------------- end of automatic configuration-----------------------------------------------------------------------------end peri_mem_config;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?