📄 defmst.vhd
字号:
-------------------------------------------------------------------------------- This file is a part of the GRLIB VHDL IP LIBRARY-- Copyright (C) 2003, Gaisler Research---- 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 2 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, write to the Free Software-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ---------------------------------------------------------------------------- -- Entity: defmst-- File: defmst.vhd-- Author: Edvin Catovic, Gaisler Research-- Description: Default AHB master------------------------------------------------------------------------------ library IEEE;use IEEE.std_logic_1164.all;library grlib;use grlib.stdlib.all;use grlib.amba.all;entity ahbdefmst is generic ( hindex : integer range 0 to NAHBMST-1 := 0); port ( ahbmo : out ahb_mst_out_type);end;architecture rtl of ahbdefmst isbegin ahbmo.hbusreq <= '0'; ahbmo.hlock <= '0'; ahbmo.htrans <= HTRANS_IDLE; ahbmo.haddr <= (others => '0'); ahbmo.hwrite <= '0'; ahbmo.hsize <= (others => '0'); ahbmo.hburst <= (others => '0'); ahbmo.hprot <= (others => '0'); ahbmo.hwdata <= (others => '0'); ahbmo.hirq <= (others => '0'); ahbmo.hconfig <= (others => (others => '0')); ahbmo.hindex <= hindex;end;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -