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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? i80386.vhd

?? Intel微處理器80386的vhdl模擬
?? VHD
?? 第 1 頁 / 共 4 頁
字號:
--------------------------------------------------------------------------------                                                                          ---- Intel 80386 VHDL model                                                   ---- Copyright (C) Convergent, Inc. 1988                                      ----                                                                          ----               File: i80386.vhd                                           ----           Revision: E0.1                                                 ----       Date Created: 6-12-1988                                            ----             Author: Mark Dakur                                           ----           Function: This VHDL model emulates the Intel 80386 32-bit CPU  ----                     to the instruction and bus timing level.             ----           Generics: Debug 1=Enable Reporting of Model Status.            ----                           0=None (Default)                               ----                     Inst                                                 ----                     Performance                                          ----                     Speed                                                ----   Target Simulator: ViewSim                                              ----                                                                          ---- Reference Material: Intel Data Book, 80386-20, Oct., 1987                ----                     Intel 80386 Programmers Reference, 1986              ----                     80386 Technical Reference, Edmund Strauss, 1987      ----                                                                          ----       Verification: No                                                   ----         Validation: No                                                   ----      Certification: No                                                   ----                                                                          ---- Behavioral models have two main parts:  a package declaration and its    ---- corresponding package body, and an entity declaration and its            ---- corresponding architecture body.  The package declaration and            ---- package body define subprograms used by the behavioral model;            ---- the entity declaration and architecture body define the behavior         ---- of the model.                                                            ---- This file contains the entity declaration and architecture.              ----------------------------------------------------------------------------------------------------------------------------------------------------------------                              Specification                               ----                                                                          ---- 1.0 Introduction                                                         ---- 2.0 Description                                                          ----                                                                          ---- The i80386 consists of 6 functional units defined as follows:            ----                                                                          ---- 1) Bus Interface Unit {BIunit}                                           ----    Accepts internal requests for code fetches from the CPunit and        --   --    data transfers from the Eunit and prioritizes the requests.           ----    It is the interface to the external pins (ports) of the package.      ----                                                                          ---- 2) Code Prefetch Unit {CPunit}                                           ----    Performs the program look ahead function.  When the BIunit is not     ----    performing bus cycles to execute an instruction, it uses the BIunit   ----    to to fetch sequentially along the instruction byte stream.  These    ----    prefetched instructions are stored in the 16-byte Code Queue to       ----    await processing by the IDunit.                                       ----                                                                          ---- 3) Instruction Decode Unit {IDunit}                                      ----    a) Instructions Supported:                                            ----      1)  nop                                                             ----      2)  mov eax,"immediate 32 bit data"                                 ----      3)  mov ebx,"immediate 32 bit data"                                 ----      4)  mov eax,[ebx]                                                   ----      5)  mov [ebx],eax                                                   ----      6)  in al,"byte address"                                            ----      7)  out "byte address",al                                           ----      8)  inc eax                                                         ----      9)  inc ebx                                                         ----      10) jmp "label" (relative nears and shorts)                         ----                                                                          ---- 4) Execution Unit {Eunit}                                                ----    a) Control Unit {Cunit}                                               ----    b) Data Unit {Dunit}                                                  ----    c) Protection Test Unit {PTunit}                                      ----                                                                          ---- 5) Segmentation Unit {Sunit}                                             ----                                                                          ---- 6) Paging Unit {Punit}                                                   ----    a) Page Translator Unit {PTunit}                                      ----       i) Translation Lookaside Buffer {TLB}                              ----          a) Page Directory                                               ----          b) Page Table                                                   ----------------------------------------------------------------------------------------------------------------------------------------------------------------                         Revision History                                 ----                                                                          ---- Revision                                                                 ---- Level    Date    Engineer        Description                             ---- -------- ------- --------------- --------------------------------------- ---- E0.1     6-12-88 Dakur       First Release                               ------------------------------------------------------------------------------------------------------------------------------------------------------------------ Entity declaration for i80386:---- The following entity declaration begins the definition of the-- behavioral model of the i80386.  It declares the model's name-- and its IO signals, or ports.  This declaration defines the-- model's interface with enclosing designs; it defines the part-- of the model that is externally visible.  Following this-- entity declaration is its corresponding architecture body;-- the architecture body defines the behavior of the model.-------------------------------------------------------------------------PACKAGE i80386 isFUNCTION tohex (CONSTANT value, Bytes: IN INTEGER) RETURN integer;END i80386;PACKAGE BODY i80386 isFUNCTION tohex (CONSTANT value, Bytes: IN INTEGER) RETURN integer IS    VARIABLE dWord: vlbit_1d(31 downto 0);    VARIABLE Byte:  vlbit_1d(31 downto 0);    VARIABLE Count: INTEGER;BEGIN                       Count := 1;    dWord := vlbit_vector(value);    Convert: WHILE Count <= Bytes LOOP        CASE integer(Bytes) is            WHEN 4 =>                CASE Count is                    WHEN 1 =>                        Byte := X"000000" & dWord(31 downto 24);                    WHEN 2 =>                        Byte := X"000000" & dWord(23 downto 16);                    WHEN 3 =>                        Byte := X"000000" & dWord(15 downto 8);                    WHEN 4 =>                        Byte := X"000000" & dWord(7 downto 0);                    WHEN OTHERS => NULL;                END CASE;            WHEN 2 =>                CASE Count is                    WHEN 1 =>                        Byte := X"000000" & dWord(15 downto 8);                    WHEN 2 =>                        Byte := X"000000" & dWord(7 downto 0);                    WHEN OTHERS => NULL;                END CASE;            WHEN 1 =>                Byte := X"000000" & dWord(7 downto 0);            WHEN OTHERS => NULL;        END CASE;        Count := Count + 1;        CASE integer(Byte(7 downto 4)) is            WHEN 15 =>                put("F");            WHEN 14 =>                put("E");            WHEN 13 =>                put("D");            WHEN 12 =>                put("C");            WHEN 11 =>                put("B");            WHEN 10 =>                put("A");            WHEN 9 =>                put("9");            WHEN 8 =>                put("8");            WHEN 7 =>                put("7");            WHEN 6 =>                put("6");            WHEN 5 =>                put("5");            WHEN 4 =>                put("4");            WHEN 3 =>                put("3");            WHEN 2 =>                put("2");            WHEN 1 =>                put("1");            WHEN 0 =>                put("0");            WHEN OTHERS => put("X");        END CASE;        CASE integer(Byte(3 downto 0)) is            WHEN 15 =>                put("F");            WHEN 14 =>                put("E");            WHEN 13 =>                put("D");            WHEN 12 =>                put("C");            WHEN 11 =>                put("B");            WHEN 10 =>                put("A");            WHEN 9 =>                put("9");            WHEN 8 =>                put("8");            WHEN 7 =>                put("7");            WHEN 6 =>                put("6");            WHEN 5 =>                put("5");            WHEN 4 =>                put("4");            WHEN 3 =>                put("3");            WHEN 2 =>                put("2");            WHEN 1 =>                put("1");            WHEN 0 =>                put("0");            WHEN OTHERS => put("X");        END CASE;    END LOOP Convert;    put("h");    RETURN 1;END tohex;END i80386;USE work.i80386.tohex;entity i80386 is    GENERIC (CONSTANT Debug:        BOOLEAN := FALSE;             CONSTANT Inst:         BOOLEAN := FALSE;             CONSTANT Performance:  INTEGER := 1;             CONSTANT Speed:        INTEGER := 32);-- USE: Pass a value to the above generics from attributes attached to the 80386 symbol--      on the schematic.-- Description: Debug; A value of integer 1 (one) means that the model will output--              status information as simulation progresses.  The default if no attribute exists is--              FALSE, or no status reported.--				Inst; A value of interger 1 (one) means that the model will output--				instructions.  The Debug generic overides this one.--              Performance; 0=min, 1=typ, 2=max--              Speed; Processor speed choices, values are: 0=16MHz, 1=20MHz, 2=25MHZ, 3=30MHz    port    (BE_n:                  out vlbit_1d(3 downto 0) := B"0000";            Address:                out vlbit_1d(31 downto 2) := B"111111111111111111111111111111";            W_R_n:                  out vlbit := '0';            D_C_n:                  out vlbit := '1';            M_IO_n:                 out vlbit := '0';            LOCK_n, ADS_n:          out vlbit := '1';            HLDA:                   out vlbit := '0';            Data:                   inout vlbit_1d(31 downto 0) := X"ZZZZZZZZ";            CLK2:                   in vlbit := '0';            NA_n, BS16_n:           in vlbit := '1';            READY_n, HOLD, PERQ:    in vlbit := '0';            BUSY_n, ERROR_n:        in vlbit := '1';            INTR:                   in vlbit := '0';            NMI, RESET:             in vlbit := '0');-- THE ORDER OF THE PORTS IS IMPORTANT FOR COMPATIBILITY WITH THE "PINORDER"-- ATTRIBUTE ON THE SYMBOL FOR THIS MODEL.end i80386;-------------------------------------------------------------------------------------------------------------------------------------------------- Architecture Body of i80386:---- The following architecture body defines the behavior of the i80386-- model.  It consists of a set of process statements and other-- concurrent statements.  These statements are all invoked when-- simulation begins, and continue to execute concurrently throughout-- simulation.  The statements communicate via the internal signals-- declared at the top of the architecture body. Each statement either-- checks the validity of input signals, or modifies the values of-- output signals or internal signals in response to changes on input-- signals or internal signals.-------------------------------------------------------------------------architecture behavior of i80386 is-- Internal Signals-- These information paths allow for communication between Concurent-- Process Blocks within the model.  All signals that are defined here have-- global visibility.  Signals, variables and constants defined within process-- blocks have local visibility within that process ONLY.    SIGNAL CLK:             vlbit                   := '1'; -- 80386 internal clock=CLK2 / 2    SIGNAL StateNA:         vlbit                   := '1';    SIGNAL StateBS16:       vlbit                   := '1';    SIGNAL RequestPending:  vlbit                   := '1';    CONSTANT Pending:       vlbit                   := '1';    CONSTANT NotPending:    vlbit                   := '0';    SIGNAL NonAligned:      vlbit                   := '0';    SIGNAL ReadRequest:     vlbit                   := '1';    SIGNAL MemoryFetch:     vlbit                   := '1';    SIGNAL CodeFetch:       vlbit                   := '1';    SIGNAL ByteEnable:      vlbit_1d(3 downto 0)    := X"0";    SIGNAL DataWidth:       vlbit_1d(31 downto 0)   := X"00000002";    CONSTANT WidthByte:     INTEGER                 := 0; -- Byte    CONSTANT WidthWord:     INTEGER                 := 1; -- Word  (2 bytes)    CONSTANT WidthDword:    INTEGER                 := 2; -- Dword (4 bytes)    SIGNAL dWord:           vlbit_1d(31 downto 0)   := X"00000000";    SIGNAL State:           vlbit_1d(31 downto 0) := X"00000000";   -- State Register, Initialized to StateTi    CONSTANT StateTi:       INTEGER := 0;   -- Reset State    CONSTANT StateT1:       INTEGER := 1;   -- First state of a non-pipelined bus cycle

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品久久久久9999吃药| 91精品婷婷国产综合久久竹菊| 天堂久久久久va久久久久| 国产精品国产三级国产三级人妇| 欧美v日韩v国产v| 7777精品伊人久久久大香线蕉最新版 | 成人综合在线网站| 国产米奇在线777精品观看| 精品无码三级在线观看视频| 久久成人综合网| 久久精品国产在热久久| 久久不见久久见免费视频7| 看国产成人h片视频| 国精产品一区一区三区mba桃花| 美女视频黄频大全不卡视频在线播放| 日本亚洲欧美天堂免费| 久久不见久久见中文字幕免费| 日本欧美韩国一区三区| 久久99久久99精品免视看婷婷 | 免费成人在线影院| 国产乱码精品1区2区3区| 国产91精品一区二区| 成人精品国产一区二区4080| 91蜜桃网址入口| 欧美性视频一区二区三区| 5858s免费视频成人| 精品福利在线导航| 中文字幕av一区二区三区免费看 | 色婷婷综合久久久中文一区二区| 92国产精品观看| 精品美女一区二区| 久久久久久久久久久久电影| 欧美国产激情二区三区| 亚洲精品视频一区二区| 日韩国产成人精品| 成人美女视频在线看| 欧美视频中文字幕| 久久久久久电影| 亚洲最新视频在线观看| 久久国产日韩欧美精品| 99视频一区二区三区| 51午夜精品国产| 国产精品视频一二| 日韩精彩视频在线观看| 成人免费观看av| 3atv一区二区三区| 中文字幕视频一区二区三区久| 亚洲v日本v欧美v久久精品| 国产成人精品亚洲午夜麻豆| 色一区在线观看| 国产亚洲一区二区三区在线观看| 亚洲图片欧美色图| 99这里都是精品| 2023国产一二三区日本精品2022| 亚洲资源中文字幕| 成人手机电影网| 日韩欧美国产麻豆| 天天综合色天天综合色h| 94-欧美-setu| 国产精品伦一区二区三级视频| 日本伊人精品一区二区三区观看方式 | 亚洲少妇30p| 国产成人精品三级| 日韩欧美国产1| 五月天亚洲精品| 欧日韩精品视频| 中文字幕在线一区| 成人性色生活片| 久久网站最新地址| 久草在线在线精品观看| 欧美一区日本一区韩国一区| 亚洲综合av网| 91久久香蕉国产日韩欧美9色| 久久综合网色—综合色88| 日韩精品电影一区亚洲| 欧美人与性动xxxx| 视频一区中文字幕| 欧美精选一区二区| 日韩成人一级片| 3d成人h动漫网站入口| 日本视频在线一区| 日韩一区二区三区在线视频| 日本伊人精品一区二区三区观看方式| 欧美三级在线看| 日韩高清在线电影| 欧美一二三四在线| 久久国产欧美日韩精品| www久久精品| 粉嫩欧美一区二区三区高清影视| 亚洲国产精品传媒在线观看| 粉嫩嫩av羞羞动漫久久久| 成人欧美一区二区三区1314 | 亚洲欧洲精品成人久久奇米网| 国产91丝袜在线观看| 中文字幕av资源一区| 日韩精品一区二区三区三区免费| 亚洲国产日产av| 日韩视频免费观看高清完整版在线观看 | 久久精品亚洲麻豆av一区二区| 国产乱码精品一区二区三| 国产亚洲综合av| 色猫猫国产区一区二在线视频| 亚洲国产精品久久久男人的天堂| 欧美男生操女生| 国产在线播放一区| 亚洲激情第一区| 91精品国产手机| 成人性生交大片免费看视频在线| 亚洲乱码国产乱码精品精可以看| 欧美美女网站色| 国产老妇另类xxxxx| 亚洲免费视频成人| 日韩欧美在线1卡| 一本一道波多野结衣一区二区| 五月天中文字幕一区二区| 国产午夜精品一区二区三区视频| 一本一本久久a久久精品综合麻豆| 日韩电影在线观看电影| 国产精品国产三级国产三级人妇 | 性欧美疯狂xxxxbbbb| 亚洲精品在线免费播放| 91福利视频网站| 国产伦理精品不卡| 亚洲成人激情综合网| 久久蜜臀精品av| 欧美日韩精品系列| 成人黄色av网站在线| 裸体歌舞表演一区二区| 亚洲欧美另类图片小说| 久久久久久久免费视频了| 欧美性一二三区| thepron国产精品| 国产在线视视频有精品| 欧美96一区二区免费视频| 亚洲私人黄色宅男| 国产欧美一区在线| 精品蜜桃在线看| 91麻豆精品国产91久久久使用方法| av成人免费在线观看| 国产一区福利在线| 久久成人免费电影| 日日摸夜夜添夜夜添亚洲女人| 亚洲免费观看高清完整| 国产精品嫩草99a| 26uuu欧美| 欧美精品一区二区三区在线| 欧美麻豆精品久久久久久| 色综合一个色综合| 99国产欧美另类久久久精品| 国产99久久久精品| 国产高清久久久久| 国产一区二区在线看| 国产一区二区久久| 国产毛片精品国产一区二区三区| 免费观看日韩av| 蜜臀av在线播放一区二区三区| 日韩中文字幕一区二区三区| 亚洲一区二区三区小说| 亚洲综合免费观看高清完整版| 自拍偷拍欧美精品| 亚洲男同1069视频| 一区二区三区免费观看| 亚洲最新视频在线播放| 亚洲综合精品自拍| 午夜精品久久久久影视| 三级一区在线视频先锋| 美女一区二区三区在线观看| 青青青爽久久午夜综合久久午夜 | 91精品国产黑色紧身裤美女| 91精品在线观看入口| 日韩一区二区在线播放| 久久久久久9999| 国产精品久久久久久久久免费桃花| 国产精品久久久久aaaa| 一个色综合网站| 青青青伊人色综合久久| 国产精品夜夜嗨| 91丨九色丨蝌蚪丨老版| 欧美色国产精品| 日韩精品一区在线| 国产精品入口麻豆原神| 亚洲免费观看高清完整版在线观看熊| 亚洲国产综合视频在线观看| 蜜桃av噜噜一区| jlzzjlzz亚洲女人18| 色综合久久九月婷婷色综合| 欧美日韩一区二区三区四区五区| 日韩一区二区三区在线观看 | 99久久综合99久久综合网站| 欧美主播一区二区三区美女| 日韩欧美高清在线| 亚洲欧洲精品一区二区三区| 午夜伊人狠狠久久| 国产成人在线色| 欧美日韩亚洲不卡| 亚洲国产高清aⅴ视频| 亚洲电影一区二区三区| 岛国av在线一区| 欧美一区二区三区视频在线观看| 久久一区二区视频|