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

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

?? 220model.v

?? 一本老師推薦的經典的VHDL覆蓋基礎的入門書籍
?? V
?? 第 1 頁 / 共 5 頁
字號:
//-------------------------------------------------------------------------
// This Verilog file was developed by Altera Corporation.  It may be
// freely copied and/or distributed at no cost.  Any persons using this
// file for any purpose do so at their own risk, and are responsible for
// the results of such use.  Altera Corporation does not guarantee that
// this file is complete, correct, or fit for any particular purpose.
// NO WARRANTY OF ANY KIND IS EXPRESSED OR IMPLIED.  This notice must
// accompany any copy of this file.
//------------------------------------------------------------------------
//
// Quartus II 4.0 Build 190 1/28/2004
//
//------------------------------------------------------------------------
// LPM Synthesizable Models (Support string type generic)
// These models are based on LPM version 220 (EIA-IS103 October 1998).
//------------------------------------------------------------------------
//
//-----------------------------------------------------------------------------
// Assumptions:
//
// 1. The default value for LPM_SVALUE, LPM_AVALUE, LPM_PVALUE, and
//    LPM_STRENGTH is string UNUSED.
//
//-----------------------------------------------------------------------------
// Verilog Language Issues:
//
// Two dimensional ports are not supported. Modules with two dimensional
// ports are implemented as one dimensional signal of (LPM_SIZE * LPM_WIDTH)
// bits wide.
//
//-----------------------------------------------------------------------------

//START_MODULE_NAME------------------------------------------------------------
//
// Module Name     :  LPM_DEVICE_FAMILIES
//
// Description     :  Common Altera device families comparison
//
// Limitation      :  
//
// Results expected:
//
//END_MODULE_NAME--------------------------------------------------------------

// BEGINNING OF MODULE
`timescale 1 ps / 1 ps

// MODULE DECLARATION
module LPM_DEVICE_FAMILIES;

// FUNCTON DECLARATION
function IS_VALID_FAMILY;
    input device;
    reg[8*20:1] device;
    reg is_valid;
begin
    if (IS_FAMILY_APEX20K(device) || IS_FAMILY_APEX20KE(device) ||
        IS_FAMILY_APEXII(device) || IS_FAMILY_ACEX2K(device) || 
        IS_FAMILY_STRATIXGX(device) || IS_FAMILY_STRATIX(device) ||
        IS_FAMILY_MERCURY(device) || IS_FAMILY_MAX(device) || 
        IS_FAMILY_FLEX6000(device) || IS_FAMILY_FLEX8000(device) ||
        IS_FAMILY_FLEX10K(device) || IS_FAMILY_FLEX10KE(device) ||
        IS_FAMILY_STRATIXII(device) || IS_FAMILY_MAXII(device))
        is_valid = 1;
    else
        is_valid = 0;

    IS_VALID_FAMILY = is_valid;
end
endfunction // IS_VALID_FAMILY

function IS_FAMILY_APEX20K;
    input device;
    reg[8*20:1] device;
    reg is_20k;    
begin
    if (device == "APEX20K")
        is_20k = 1; 
    else 
        is_20k = 0;
    
    IS_FAMILY_APEX20K = is_20k;
end
endfunction // IS_FAMILY_APEX20K

function IS_FAMILY_APEX20KE;
    input device;
    reg[8*20:1] device;
    reg is_20ke;    
begin
    if ((device == "APEX20KE") || (device == "APEX20KC") || 
    (device == "EXCALIBUR_ARM") || (device == "EXCALIBUR_MIPS"))
        is_20ke = 1; 
    else 
        is_20ke = 0;
    
    IS_FAMILY_APEX20KE = is_20ke;
end
endfunction // IS_FAMILY_APEX20KE

function IS_FAMILY_APEXII;
    input device;
    reg[8*20:1] device;
    reg is_apexii;    
begin
    if ((device == "APEX II") || (device == "APEXII"))
        is_apexii = 1; 
    else 
        is_apexii = 0;
    
    IS_FAMILY_APEXII = is_apexii;
end
endfunction // IS_FAMILY_APEXII

function IS_FAMILY_ACEX2K;
    input device;
    reg[8*20:1] device;
    reg is_acex2k;    
begin
    if ((device == "CYCLONE") || (device == "Cyclone"))
        is_acex2k = 1; 
    else 
        is_acex2k = 0;
    
    IS_FAMILY_ACEX2K = is_acex2k;
end
endfunction // IS_FAMILY_ACEX2K

function IS_FAMILY_STRATIXGX;
    input device;
    reg[8*20:1] device;
    reg is_stratixgx;    
begin
    if ((device == "STRATIX-GX") || (device == "STRATIX GX") ||
    (device == "Stratix GX"))
        is_stratixgx = 1; 
    else 
        is_stratixgx = 0;
   
    IS_FAMILY_STRATIXGX = is_stratixgx;
end
endfunction // IS_FAMILY_STRATIXGX

function IS_FAMILY_STRATIX;
    input device;
    reg[8*20:1] device;
    reg is_stratix;    
begin
    if ((device == "STRATIX") || (device == "Stratix"))
        is_stratix = 1; 
    else 
        is_stratix = 0;
    
    IS_FAMILY_STRATIX = is_stratix;
end
endfunction // IS_FAMILY_STRATIX

function IS_FAMILY_MERCURY;
    input device;
    reg[8*20:1] device;
    reg is_mercury;
begin
    if ((device == "MERCURY") || (device == "Mercury"))
        is_mercury = 1; 
    else 
        is_mercury = 0;
    
    IS_FAMILY_MERCURY = is_mercury;
end
endfunction // IS_FAMILY_MERCURY

function IS_FAMILY_MAX;
    input device;
    reg[8*20:1] device;
    reg is_max;
begin
    if ((device == "MAX5000") || (device == "MAX3000A") || (device == "MAX7000") ||
        (device == "MAX7000A") || (device == "MAX7000AE") || (device == "MAX7000E") ||
        (device == "MAX7000S") || (device == "MAX7000B") || (device == "MAX9000"))
        is_max = 1; 
    else 
        is_max = 0;
    
    IS_FAMILY_MAX = is_max;
end
endfunction // IS_FAMILY_MAX

function IS_FAMILY_FLEX6000;
    input device;
    reg[8*20:1] device;
    reg is_flex6k;    
begin
    if (device == "FLEX6000")
        is_flex6k = 1; 
    else 
        is_flex6k = 0;
    
    IS_FAMILY_FLEX6000 = is_flex6k;
end
endfunction // IS_FAMILY_FLEX6000

function IS_FAMILY_FLEX8000;
    input device;
    reg[8*20:1] device;
    reg is_flex8k;    
begin
    if (device == "FLEX8000")
        is_flex8k = 1; 
    else 
        is_flex8k = 0;
    
    IS_FAMILY_FLEX8000 = is_flex8k;
end
endfunction // IS_FAMILY_FLEX8000

function IS_FAMILY_FLEX10K;
    input device;
    reg[8*20:1] device;
    reg is_flex10k;
begin
    if ((device == "FLEX10K") || (device == "FLEX10KA"))
        is_flex10k = 1; 
    else 
        is_flex10k = 0;
    
    IS_FAMILY_FLEX10K = is_flex10k;
end
endfunction // IS_FAMILY_FLEX10K

function IS_FAMILY_FLEX10KE;
    input device;
    reg[8*20:1] device;
    reg is_flex10ke;
begin
    if ((device == "FLEX10KE") || (device == "FLEX 10KE") ||
        (device == "ACEX1K") || (device == "ACEX 1K"))
        is_flex10ke = 1; 
    else 
        is_flex10ke = 0;
    
    IS_FAMILY_FLEX10KE = is_flex10ke;
end
endfunction // IS_FAMILY_FLEX10KE

function IS_FAMILY_STRATIXII;
    input device;
    reg[8*20:1] device;
    reg is_stratixii;
begin
    if (device == "Stratix II")
        is_stratixii = 1; 
    else 
        is_stratixii = 0;
    
    IS_FAMILY_STRATIXII = is_stratixii;
end
endfunction // IS_FAMILY_STRATIXII

function IS_FAMILY_MAXII;
    input device;
    reg[8*20:1] device;
    reg is_maxii;
begin
    if ((device == "MAX II") || (device == "max ii") ||
        (device == "MAXII") || (device == "maxii"))
        is_maxii = 1;
    else
        is_maxii = 0;

    IS_FAMILY_MAXII  = is_maxii;
end
endfunction //IS_FAMILY_MAXII

endmodule // LPM_DEVICE_FAMILIES


//START_MODULE_NAME------------------------------------------------------------
//
// Module Name     :  LPM_HINT_EVALUATION
//
// Description     :  Common function to grep the value of altera specific parameters
//                    within the lpm_hint parameter.
//
// Limitation      :  No error checking to check whether the content of the lpm_hint
//                    is valid or not.
//
// Results expected:  If the target parameter found, return the value of the parameter.
//                    Otherwise, return empty string.
//
//END_MODULE_NAME--------------------------------------------------------------

// BEGINNING OF MODULE
`timescale 1 ps / 1 ps

// MODULE DECLARATION
module LPM_HINT_EVALUATION;

// FUNCTON DECLARATION

// This function will search through the string (given string) to look for a match for the
// a given parameter(compare_param_name). It will return the value for the given parameter.
function [8*200:1] GET_PARAMETER_VALUE;
    input [8*200:1] given_string;  // string to be searched
    input [8*50:1] compare_param_name; // parameter name to be looking for in the given_string.
    integer param_value_char_count; // to indicate current character count in the param_value
    integer param_name_char_count;  // to indicate current character count in the param_name
    integer white_space_count;

    reg extract_param_value; // if 1 mean extracting parameters value from given string
    reg extract_param_name;  // if 1 mean extracting parameters name from given string
    reg param_found; // to indicate whether compare_param_name have been found in the given_string
    reg include_white_space; // if 1, include white space in the parameter value

    reg [8*200:1] reg_string; // to store the value of the given string
    reg [8*50:1] param_name;  // to store parameter name
    reg [8*20:1] param_value; // to store parameter value
    reg [8:1] tmp; // to get the value of the current byte
begin
    reg_string = given_string;
    param_value_char_count = 0;
    param_name_char_count =0;
    extract_param_value = 1;
    extract_param_name = 0;
    param_found = 0;
    include_white_space = 0;
    white_space_count = 0;

    tmp = reg_string[8:1];

    // checking every bytes of the reg_string from right to left.
    while ((tmp != 0 ) && (param_found != 1))
    begin
        tmp = reg_string[8:1];

        //if tmp != ' ' or should include white space (trailing white space are ignored)
        if((tmp != 32) || (include_white_space == 1))
        begin
            if(tmp == 32)
            begin
                white_space_count = 1;
            end
            else if(tmp == 61)  // if tmp = '='
            begin
                extract_param_value = 0;
                extract_param_name =  1;  // subsequent bytes should be part of param_name
                include_white_space = 0;  // ignore the white space (if any) between param_name and '='
                white_space_count = 0;
                param_value = param_value >> (8 * (20 - param_value_char_count));
                param_value_char_count = 0;
            end
            else if (tmp == 44) // if tmp = ','
            begin
                extract_param_value = 1; // subsequent bytes should be part of param_value
                extract_param_name =  0;
                param_name = param_name >> (8 * (50 - param_name_char_count));
                param_name_char_count = 0;
                if(param_name == compare_param_name)
                    param_found = 1;  // the compare_param_name have been found in the reg_string
            end
            else
            begin
                if(extract_param_value == 1)
                begin
                    param_value_char_count = param_value_char_count + white_space_count + 1;
                    include_white_space = 1;
                    if(white_space_count > 0)
                    begin
                        param_value = {8'b100000, param_value[20*8:9]};
                        white_space_count = 0;
                    end
                    param_value = {tmp, param_value[20*8:9]};
                end
                else if(extract_param_name == 1)
                begin
                    param_name = {tmp, param_name[50*8:9]};
                    param_name_char_count = param_name_char_count + 1;
                end
            end
        end
        reg_string = reg_string >> 8;  // shift 1 byte to the right
    end

    // for the case whether param_name is the left most part of the reg_string
    if(extract_param_name == 1)
    begin
        param_name = param_name >> (8 * (50 - param_name_char_count));

        if(param_name == compare_param_name)
            param_found = 1;
    end

    if (param_found == 1)
        GET_PARAMETER_VALUE = param_value;   // return the value of the parameter been looking for
    else
        GET_PARAMETER_VALUE = "";  // return empty string if parameter not found

end
endfunction

endmodule // LPM_HINT_EVALUATION


//START_MODULE_NAME------------------------------------------------------------
//
// Module Name     :  lpm_constant
//

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
不卡电影一区二区三区| 欧美精品一二三四| 4438x亚洲最大成人网| 久久精品视频在线看| 亚洲综合网站在线观看| 国产精品影视在线| 欧美日本在线视频| 亚洲欧美日韩在线| 国产999精品久久久久久| 欧美老肥妇做.爰bbww视频| 中文字幕av一区二区三区免费看| 日韩精品成人一区二区三区| 91首页免费视频| 国产欧美日韩亚州综合| 激情五月婷婷综合| 91精品国产aⅴ一区二区| 樱桃国产成人精品视频| 丁香啪啪综合成人亚洲小说| 欧美一区二区国产| 日韩电影免费在线观看网站| 在线视频亚洲一区| 亚洲精品视频在线观看免费| 国产成人亚洲精品青草天美| 26uuu欧美| 不卡的av电影| 国产亚洲精品精华液| 久久国产免费看| 日韩免费观看2025年上映的电影| 日本vs亚洲vs韩国一区三区二区| 欧美午夜精品一区二区蜜桃| 亚洲乱码国产乱码精品精可以看| 成人污视频在线观看| 国产精品入口麻豆原神| 国产激情一区二区三区桃花岛亚洲| 欧美成人r级一区二区三区| 日韩精品亚洲专区| 欧美刺激脚交jootjob| 麻豆成人综合网| 久久综合色综合88| 国产风韵犹存在线视精品| 国产女人水真多18毛片18精品视频| 国产乱人伦精品一区二区在线观看| 久久一留热品黄| 粉嫩一区二区三区性色av| 国产精品嫩草久久久久| 色综合天天综合网国产成人综合天 | 26uuu久久天堂性欧美| 国产一区二区三区免费在线观看| 国产香蕉久久精品综合网| 成人三级伦理片| 亚洲人成小说网站色在线| 欧美日本在线播放| 激情图区综合网| 国产精品五月天| 欧美中文字幕一区二区三区| 午夜免费久久看| 久久久久久久av麻豆果冻| 99久久精品国产导航| 亚洲国产欧美在线| 久久婷婷久久一区二区三区| 成人一道本在线| 日韩精品每日更新| 日本一区二区高清| 欧美高清一级片在线| 国产精品一区二区三区网站| 樱花影视一区二区| 久久久亚洲综合| 欧美日韩一区久久| 国产精品一级黄| 亚洲一区二区三区视频在线播放 | 国产精品卡一卡二| 欧美影院精品一区| 国产精品自拍三区| 日韩不卡在线观看日韩不卡视频| 中文字幕av一区二区三区免费看| 欧美丰满美乳xxx高潮www| 成人国产一区二区三区精品| 视频一区中文字幕| 亚洲欧美aⅴ...| 国产亚洲福利社区一区| 欧美日韩三级视频| 成人在线综合网| 久久精品国产精品亚洲精品| 有码一区二区三区| 中文乱码免费一区二区| 日韩亚洲欧美综合| 欧美在线观看禁18| 日韩视频一区二区三区在线播放| eeuss鲁一区二区三区| 日韩国产在线一| 亚洲国产一区二区视频| 中文字幕一区二区三区色视频| 日韩精品专区在线| 91精品国产手机| 欧美日本乱大交xxxxx| av中文字幕亚洲| 国产成人在线视频网址| 美女国产一区二区| 亚洲国产乱码最新视频| 国产精品美日韩| 久久久久久久综合| 精品国产a毛片| 欧美精品一级二级三级| 欧美日韩国产美| 欧美日韩专区在线| 97精品久久久午夜一区二区三区 | 亚洲日本在线视频观看| 国产欧美日韩中文久久| 久久久99精品免费观看不卡| 欧美电影精品一区二区| 欧美一区二区成人6969| 7799精品视频| 91麻豆精品国产91久久久久久 | 欧美日韩中文精品| 欧亚一区二区三区| 91福利小视频| 欧美日韩一区二区三区不卡| 色综合久久中文综合久久牛| 色综合天天综合网国产成人综合天 | 亚洲欧美激情插 | 欧美日韩一区 二区 三区 久久精品| eeuss鲁一区二区三区| jizz一区二区| 91老师片黄在线观看| 色综合咪咪久久| 在线观看视频一区| 欧美日韩久久久| 欧美日本一区二区三区四区| 欧美精品123区| 精品国产乱码久久| 26uuu另类欧美| 中文字幕一区二区在线播放| 亚洲欧洲av另类| 一区二区不卡在线视频 午夜欧美不卡在 | 麻豆精品在线视频| 国产伦精品一区二区三区视频青涩 | 欧美日韩免费不卡视频一区二区三区| 欧美日韩国产大片| 久久综合色鬼综合色| 国产午夜精品在线观看| 亚洲视频精选在线| 天堂久久久久va久久久久| 美脚の诱脚舐め脚责91| 波多野结衣中文字幕一区二区三区 | 91精品国产色综合久久不卡蜜臀| 欧美成人vr18sexvr| 日韩一区日韩二区| 蜜乳av一区二区三区| 成人一区二区三区中文字幕| 欧美日免费三级在线| 久久久久久一二三区| 一区二区三区在线免费播放 | 99久久综合99久久综合网站| 在线免费观看日本欧美| 精品少妇一区二区三区日产乱码 | 91蝌蚪porny| 日韩亚洲欧美综合| 亚洲精品国产视频| 狠狠色丁香久久婷婷综合丁香| jiyouzz国产精品久久| 91精品国产色综合久久久蜜香臀| 中文字幕在线观看一区二区| 亚洲大片一区二区三区| 国产伦精品一区二区三区在线观看| 91搞黄在线观看| 国产欧美精品在线观看| 日韩av在线免费观看不卡| 91原创在线视频| 精品国产一区二区三区久久影院| 亚洲一区二区在线视频| 成人做爰69片免费看网站| 日韩视频免费直播| 亚洲成a人片在线观看中文| 国产成人免费9x9x人网站视频| 欧美精品高清视频| 亚洲精品免费一二三区| 国产一区二三区好的| 欧美日韩国产综合久久| 国产精品久久影院| 国产一区三区三区| 欧美一级在线观看| 亚洲一区二区三区四区的| www.在线成人| 国产午夜精品久久久久久免费视| 喷水一区二区三区| 91精品国产一区二区| 亚洲福利视频三区| 欧洲色大大久久| 亚洲男人的天堂在线aⅴ视频| 国产精品456露脸| 久久美女高清视频 | 日韩高清一级片| 在线观看日韩一区| 亚洲综合免费观看高清完整版| www.日韩精品| 国产精品久久久久久久久久免费看| 国产麻豆精品在线观看| 久久久美女毛片| 国产精品一二三四五| 精品国产成人系列|