亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? mmutlbcam.vhd

?? leon3 source code 雖然gaisler網(wǎng)站上有下載
?? 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: 	mmutlbcam-- File:	mmutlbcam.vhd-- Author:	Konrad Eisele, Jiri Gaisler, Gaisler Research-- Description:	MMU TLB logic------------------------------------------------------------------------------library ieee;use ieee.std_logic_1164.all;library grlib;use grlib.amba.all;use grlib.stdlib.all;library gaisler;use gaisler.libiu.all;use gaisler.libcache.all;use gaisler.leon3.all;use gaisler.mmuconfig.all;use gaisler.mmuiface.all;entity mmutlbcam is    generic (     tlb_type  : integer range 0 to 3 := 1  );  port (      rst     : in std_logic;      clk     : in std_logic;      tlbcami : in mmutlbcam_in_type;      tlbcamo : out mmutlbcam_out_type  );end mmutlbcam;architecture rtl of mmutlbcam is    constant M_TLB_FASTWRITE : integer range 0 to 3 := conv_integer(conv_std_logic_vector(tlb_type,2) and conv_std_logic_vector(2,2));   -- fast writebuffer  type tlbcam_rtype is record    btag     : tlbcam_reg;  end record;  signal r,c : tlbcam_rtype;begin    p0: process (rst, r, tlbcami)  variable v : tlbcam_rtype;  variable hm, hf                : std_logic;  variable h_i1, h_i2, h_i3, h_c : std_logic;  variable h_l2, h_l3            : std_logic;  variable h_su_cnt              : std_logic;  variable blvl                  : std_logic_vector(1 downto 0);  variable bet                   : std_logic_vector(1 downto 0);  variable bsu                   : std_logic;  variable blvl_decode           : std_logic_vector(3 downto 0);  variable bet_decode            : std_logic_vector(3 downto 0);  variable ref, modified         : std_logic;  variable tlbcamo_pteout        : std_logic_vector(31 downto 0);  variable tlbcamo_LVL           : std_logic_vector(1 downto 0);  variable tlbcamo_NEEDSYNC      : std_logic;  variable tlbcamo_WBNEEDSYNC    : std_logic;  begin    v := r;    --#init    h_i1 := '0'; h_i2 := '0'; h_i3 := '0'; h_c := '0';    hm := '0';    hf := r.btag.VALID;        blvl := r.btag.LVL;    bet  := r.btag.ET;    bsu  := r.btag.SU;    bet_decode  := decode(bet);    blvl_decode  := decode(blvl);    ref := r.btag.R;    modified := r.btag.M;    tlbcamo_pteout := (others => '0');    tlbcamo_lvl := (others => '0');         -- prepare tag comparision    if (r.btag.I1  = tlbcami.tagin.I1)  then h_i1 := '1';  else h_i1 := '0'; end if;    if (r.btag.I2  = tlbcami.tagin.I2)  then h_i2 := '1';  else h_i2 := '0'; end if;    if (r.btag.I3  = tlbcami.tagin.I3)  then h_i3 := '1';  else h_i3 := '0'; end if;    if (r.btag.CTX = tlbcami.tagin.CTX) then h_c  := '1';  else h_c  := '0'; end if;        -- #level 2 hit (segment)    h_l2 := h_i1 and h_i2 ;    -- #level 3 hit (page)    h_l3 := h_i1 and h_i2 and h_i3;    -- # context + su    h_su_cnt := h_c or bsu;        --# translation (match) op    case blvl is      when LVL_PAGE    => hm := h_l3 and h_c and r.btag.VALID;      when LVL_SEGMENT => hm := h_l2 and h_c and r.btag.VALID;      when LVL_REGION  => hm := h_i1 and h_c and r.btag.VALID;      when LVL_CTX     => hm :=          h_c and r.btag.VALID;      when others      => hm := 'X';    end case;        --# translation: update ref/mod bit    tlbcamo_NEEDSYNC := '0';    if (tlbcami.trans_op and hm  ) = '1' then      v.btag.R := '1';      v.btag.M := r.btag.M or tlbcami.tagin.M;      tlbcamo_NEEDSYNC := (not r.btag.R) or (tlbcami.tagin.M and (not r.btag.M));  -- cam: ref/modified changed, write back synchronously    end if;    tlbcamo_WBNEEDSYNC := '0';    if ( hm  ) = '1' then      tlbcamo_WBNEEDSYNC := (not r.btag.R) or (tlbcami.tagin.M and (not r.btag.M));  -- cam: ref/modified changed, write back synchronously    end if;        --# flush operation    -- tlbcam only stores PTEs, tlb does not store PTDs    case tlbcami.tagin.TYP is                              when FPTY_PAGE =>                        -- page        hf := hf and h_su_cnt and h_l3 and (blvl_decode(0));  -- only level 3 (page)      when FPTY_SEGMENT =>                     -- segment        hf := hf and h_su_cnt and h_l2 and (blvl_decode(0) or blvl_decode(1));  -- only level 2+3 (segment,page)      when FPTY_REGION =>                      -- region        hf := hf and h_su_cnt and h_i1 and (not blvl_decode(3));  -- only level 1+2+3 (region,segment,page)      when FPTY_CTX =>                         -- context        hf := hf and (h_c and (not bsu));       when FPTY_N  =>                          -- entire      when others =>        hf := '0';    end case;        --# flush: invalidate on flush hit    --if (tlbcami.flush_op and hf ) = '1' then    if (tlbcami.flush_op  ) = '1' then      v.btag.VALID := '0';    end if;        --# write op    if ( tlbcami.write_op  = '1' ) then      v.btag := tlbcami.tagwrite;    end if;    --# reset    if (rst = '0' or tlbcami.mmuen = '0') then      v.btag.VALID := '0';    end if;        tlbcamo_pteout(PTE_PPN_U downto PTE_PPN_D) := r.btag.PPN;    tlbcamo_pteout(PTE_C) := r.btag.C;    tlbcamo_pteout(PTE_M) := r.btag.M;    tlbcamo_pteout(PTE_R) := r.btag.R;    tlbcamo_pteout(PTE_ACC_U downto PTE_ACC_D) := r.btag.ACC;    tlbcamo_pteout(PT_ET_U downto PT_ET_D) := r.btag.ET;    tlbcamo_LVL(1 downto 0) := r.btag.LVL;        --# drive signals    tlbcamo.pteout   <= tlbcamo_pteout;    tlbcamo.LVL      <= tlbcamo_LVL;    --tlbcamo.hit      <= (tlbcami.trans_op and hm) or (tlbcami.flush_op and hf);    tlbcamo.hit      <= (hm) or (tlbcami.flush_op and hf);    tlbcamo.ctx      <= r.btag.CTX;       -- for diagnostic only    tlbcamo.valid    <= r.btag.VALID;     -- for diagnostic only    tlbcamo.vaddr    <= r.btag.I1 & r.btag.I2 & r.btag.I3 & "000000000000"; -- for diagnostic only    tlbcamo.NEEDSYNC <= tlbcamo_NEEDSYNC;    tlbcamo.WBNEEDSYNC <= tlbcamo_WBNEEDSYNC;            c <= v;  end process p0;    p1: process (clk, c)  begin if rising_edge(clk) then r <= c; end if;  end process p1;  end rtl;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人丝袜视频网| 亚洲一区在线观看视频| 国产一区二区视频在线播放| 欧美一区国产二区| 青娱乐精品在线视频| 亚洲精品在线观| 国产成人自拍网| 1024精品合集| 欧美日韩高清一区二区三区| 日韩福利电影在线| 精品卡一卡二卡三卡四在线| 丁香一区二区三区| 一区二区三区产品免费精品久久75| 欧美这里有精品| 日本在线不卡视频一二三区| 2022国产精品视频| a在线播放不卡| 日韩在线一区二区三区| 久久一日本道色综合| 91视频com| 蜜臀av性久久久久蜜臀aⅴ| 久久蜜桃av一区二区天堂| 99久久久免费精品国产一区二区| 亚洲五月六月丁香激情| 久久亚洲精精品中文字幕早川悠里| 不卡av在线免费观看| 日韩avvvv在线播放| 国产亚洲欧美一区在线观看| 欧美天堂亚洲电影院在线播放| 久久99国产精品久久99果冻传媒| 中文字幕在线免费不卡| 欧美一区二区三区日韩视频| 国产+成+人+亚洲欧洲自线| 亚洲成a人v欧美综合天堂下载| 久久久亚洲国产美女国产盗摄| 91网站最新网址| 久久99最新地址| 亚洲成av人片一区二区| 中文一区在线播放| 欧美一级搡bbbb搡bbbb| 一本久道久久综合中文字幕 | 色婷婷亚洲婷婷| 国产一区二区三区免费看| 五月天欧美精品| 中文字幕日本不卡| 久久久不卡网国产精品一区| 欧美久久久久免费| 色哟哟国产精品免费观看| 国产成人在线电影| 麻豆精品久久精品色综合| 亚洲综合999| 日韩一区在线看| 国产无遮挡一区二区三区毛片日本| 欧美精品高清视频| 欧洲一区在线观看| 99久久99久久精品免费观看| 国产一区二区三区国产| 免费高清在线一区| 悠悠色在线精品| 亚洲欧洲日韩av| 国产精品乱人伦| 国产日韩欧美精品电影三级在线| 日韩一级二级三级精品视频| 欧美日韩美少妇| 欧美日韩专区在线| 欧美性欧美巨大黑白大战| 色女孩综合影院| 91猫先生在线| 色婷婷国产精品| 91首页免费视频| 91在线观看免费视频| 成人不卡免费av| 成人美女视频在线观看18| 国产激情一区二区三区| 国产福利一区二区三区视频在线 | 日韩欧美一二三区| 精品视频一区二区三区免费| 日本国产一区二区| 欧美中文字幕一区二区三区 | 欧美一区二区三区婷婷月色| 欧美男男青年gay1069videost| 欧美视频精品在线| 在线播放一区二区三区| 91精品国产全国免费观看| 欧美乱熟臀69xxxxxx| 91精品国产综合久久福利软件| 欧美高清视频一二三区 | 欧美亚洲国产一区二区三区va | 日本aⅴ免费视频一区二区三区| 婷婷开心激情综合| 奇米影视一区二区三区| 激情久久五月天| 国产xxx精品视频大全| 99国产精品久| 欧美日韩久久久久久| 日韩精品中文字幕一区| 国产嫩草影院久久久久| 综合久久久久久久| 午夜精品一区二区三区电影天堂| 奇米777欧美一区二区| 国产白丝网站精品污在线入口| eeuss鲁片一区二区三区在线观看| 在线视频欧美精品| 日韩欧美一级二级| ...av二区三区久久精品| 亚洲在线免费播放| 久久99精品久久久久久动态图| 成人中文字幕在线| 欧美在线不卡视频| 久久亚洲二区三区| 亚洲最大的成人av| 黑人精品欧美一区二区蜜桃| 99久久伊人网影院| 日韩一级片在线观看| 国产精品精品国产色婷婷| 亚洲福利视频一区二区| 国产精品99久久久久久久女警| 91精品福利在线| 26uuu国产日韩综合| 亚洲六月丁香色婷婷综合久久| 免费高清在线一区| 一道本成人在线| 久久精品一级爱片| 婷婷综合久久一区二区三区| 豆国产96在线|亚洲| 日韩午夜激情视频| 亚洲一区二区欧美激情| 国产成人免费xxxxxxxx| 欧美精品色综合| 综合电影一区二区三区 | 亚洲小说欧美激情另类| 国内外成人在线| 欧美日韩在线不卡| 国产精品视频一二三区| 男人的天堂亚洲一区| 欧美性受xxxx黑人xyx| 中文字幕一区二区三区在线播放| 久久国产精品免费| 欧美高清性hdvideosex| 亚洲激情综合网| 国产aⅴ综合色| 精品国产一区二区三区不卡| 亚洲综合视频网| 972aa.com艺术欧美| 久久久欧美精品sm网站| 男女激情视频一区| 欧美三级电影在线看| 亚洲精品久久久久久国产精华液| 国产69精品久久久久777| 精品91自产拍在线观看一区| 琪琪一区二区三区| 欧美另类高清zo欧美| 一区二区三区欧美| 色视频欧美一区二区三区| 国产精品麻豆视频| 成人黄色一级视频| 国产精品久久久久久久久免费樱桃 | 亚洲综合区在线| 91香蕉视频mp4| 亚洲欧洲成人精品av97| 成人中文字幕合集| 国产日韩欧美精品综合| 国产福利精品一区二区| 久久久电影一区二区三区| 国产一区二区精品在线观看| 久久亚洲综合色| 国产不卡在线播放| 中文字幕中文字幕一区| 成人黄色综合网站| 亚洲欧洲综合另类在线| 91蜜桃传媒精品久久久一区二区| 亚洲欧洲制服丝袜| 在线观看亚洲专区| 首页国产欧美日韩丝袜| 欧美一区二区三区成人| 久88久久88久久久| 国产精品视频一二| 色综合久久中文字幕综合网| 亚洲午夜久久久久久久久久久| 欧洲国产伦久久久久久久| 婷婷久久综合九色综合伊人色| 91精品啪在线观看国产60岁| 久草这里只有精品视频| 久久久www免费人成精品| 波多野洁衣一区| 亚洲男人天堂一区| 欧美一级免费大片| 国产乱子轮精品视频| 亚洲欧洲美洲综合色网| 欧美日韩高清一区| 国产剧情一区二区三区| 中文字幕一区二区三区不卡| 欧美性做爰猛烈叫床潮| 美女视频一区二区| 国产精品免费视频网站| 欧美亚洲综合久久| 国产精品自拍在线| 亚洲一区二区在线视频| 欧美成人在线直播| 99久久久久久|