亚洲欧美第一页_禁久久精品乱码_粉嫩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.1 Build 208 06/29/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_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

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

// MODULE DECLARATION
module LPM_DEVICE_FAMILIES;

function IS_FAMILY_APEX20K;
	input device;
	reg[8*20:1] device;
	reg is_apex20k;
begin
	if ((device == "APEX20K") || (device == "apex20k") || (device == "APEX 20K") || (device == "apex 20k") || (device == "RAPHAEL") || (device == "raphael"))
		is_apex20k = 1;
	else
		is_apex20k = 0;

	IS_FAMILY_APEX20K  = is_apex20k;
end
endfunction //IS_FAMILY_APEX20K

function IS_FAMILY_MAX7000B;
	input device;
	reg[8*20:1] device;
	reg is_max7000b;
begin
	if ((device == "MAX7000B") || (device == "max7000b") || (device == "MAX 7000B") || (device == "max 7000b"))
		is_max7000b = 1;
	else
		is_max7000b = 0;

	IS_FAMILY_MAX7000B  = is_max7000b;
end
endfunction //IS_FAMILY_MAX7000B

function IS_FAMILY_MAX7000AE;
	input device;
	reg[8*20:1] device;
	reg is_max7000ae;
begin
	if ((device == "MAX7000AE") || (device == "max7000ae") || (device == "MAX 7000AE") || (device == "max 7000ae"))
		is_max7000ae = 1;
	else
		is_max7000ae = 0;

	IS_FAMILY_MAX7000AE  = is_max7000ae;
end
endfunction //IS_FAMILY_MAX7000AE

function IS_FAMILY_MAX3000A;
	input device;
	reg[8*20:1] device;
	reg is_max3000a;
begin
	if ((device == "MAX3000A") || (device == "max3000a") || (device == "MAX 3000A") || (device == "max 3000a"))
		is_max3000a = 1;
	else
		is_max3000a = 0;

	IS_FAMILY_MAX3000A  = is_max3000a;
end
endfunction //IS_FAMILY_MAX3000A

function IS_FAMILY_MAX7000S;
	input device;
	reg[8*20:1] device;
	reg is_max7000s;
begin
	if ((device == "MAX7000S") || (device == "max7000s") || (device == "MAX 7000S") || (device == "max 7000s"))
		is_max7000s = 1;
	else
		is_max7000s = 0;

	IS_FAMILY_MAX7000S  = is_max7000s;
end
endfunction //IS_FAMILY_MAX7000S

function IS_FAMILY_MAX7000A;
	input device;
	reg[8*20:1] device;
	reg is_max7000a;
begin
	if ((device == "MAX7000A") || (device == "max7000a") || (device == "MAX 7000A") || (device == "max 7000a"))
		is_max7000a = 1;
	else
		is_max7000a = 0;

	IS_FAMILY_MAX7000A  = is_max7000a;
end
endfunction //IS_FAMILY_MAX7000A

function IS_FAMILY_STRATIX;
	input device;
	reg[8*20:1] device;
	reg is_stratix;
begin
	if ((device == "Stratix") || (device == "STRATIX") || (device == "stratix") || (device == "Yeager") || (device == "YEAGER") || (device == "yeager"))
		is_stratix = 1;
	else
		is_stratix = 0;

	IS_FAMILY_STRATIX  = is_stratix;
end
endfunction //IS_FAMILY_STRATIX

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") || (device == "Stratix-GX") || (device == "STRATIX-GX") || (device == "stratix-gx") || (device == "StratixGX") || (device == "STRATIXGX") || (device == "stratixgx") || (device == "Aurora") || (device == "AURORA") || (device == "aurora"))
		is_stratixgx = 1;
	else
		is_stratixgx = 0;

	IS_FAMILY_STRATIXGX  = is_stratixgx;
end
endfunction //IS_FAMILY_STRATIXGX

function IS_FAMILY_CYCLONE;
	input device;
	reg[8*20:1] device;
	reg is_cyclone;
begin
	if ((device == "Cyclone") || (device == "CYCLONE") || (device == "cyclone") || (device == "ACEX2K") || (device == "acex2k") || (device == "ACEX 2K") || (device == "acex 2k") || (device == "Tornado") || (device == "TORNADO") || (device == "tornado"))
		is_cyclone = 1;
	else
		is_cyclone = 0;

	IS_FAMILY_CYCLONE  = is_cyclone;
end
endfunction //IS_FAMILY_CYCLONE

function IS_VALID_FAMILY;
	input device;
	reg[8*20:1] device;
	reg is_valid;
begin
	if (((device == "ACEX1K") || (device == "acex1k") || (device == "ACEX 1K") || (device == "acex 1k"))
	|| ((device == "APEX20K") || (device == "apex20k") || (device == "APEX 20K") || (device == "apex 20k") || (device == "RAPHAEL") || (device == "raphael"))
	|| ((device == "APEX20KC") || (device == "apex20kc") || (device == "APEX 20KC") || (device == "apex 20kc"))
	|| ((device == "APEX20KE") || (device == "apex20ke") || (device == "APEX 20KE") || (device == "apex 20ke"))
	|| ((device == "APEX II") || (device == "apex ii") || (device == "APEXII") || (device == "apexii") || (device == "APEX 20KF") || (device == "apex 20kf") || (device == "APEX20KF") || (device == "apex20kf"))
	|| ((device == "EXCALIBUR_ARM") || (device == "excalibur_arm") || (device == "Excalibur ARM") || (device == "EXCALIBUR ARM") || (device == "excalibur arm") || (device == "ARM-BASED EXCALIBUR") || (device == "arm-based excalibur") || (device == "ARM_BASED_EXCALIBUR") || (device == "arm_based_excalibur"))
	|| ((device == "FLEX10KE") || (device == "flex10ke") || (device == "FLEX 10KE") || (device == "flex 10ke"))
	|| ((device == "FLEX10K") || (device == "flex10k") || (device == "FLEX 10K") || (device == "flex 10k"))
	|| ((device == "FLEX10KA") || (device == "flex10ka") || (device == "FLEX 10KA") || (device == "flex 10ka"))
	|| ((device == "FLEX6000") || (device == "flex6000") || (device == "FLEX 6000") || (device == "flex 6000") || (device == "FLEX6K") || (device == "flex6k"))
	|| ((device == "MAX7000B") || (device == "max7000b") || (device == "MAX 7000B") || (device == "max 7000b"))
	|| ((device == "MAX7000AE") || (device == "max7000ae") || (device == "MAX 7000AE") || (device == "max 7000ae"))
	|| ((device == "MAX3000A") || (device == "max3000a") || (device == "MAX 3000A") || (device == "max 3000a"))
	|| ((device == "MAX7000S") || (device == "max7000s") || (device == "MAX 7000S") || (device == "max 7000s"))
	|| ((device == "MAX7000A") || (device == "max7000a") || (device == "MAX 7000A") || (device == "max 7000a"))
	|| ((device == "Mercury") || (device == "MERCURY") || (device == "mercury") || (device == "DALI") || (device == "dali"))
	|| ((device == "Stratix") || (device == "STRATIX") || (device == "stratix") || (device == "Yeager") || (device == "YEAGER") || (device == "yeager"))
	|| ((device == "Stratix GX") || (device == "STRATIX GX") || (device == "stratix gx") || (device == "Stratix-GX") || (device == "STRATIX-GX") || (device == "stratix-gx") || (device == "StratixGX") || (device == "STRATIXGX") || (device == "stratixgx") || (device == "Aurora") || (device == "AURORA") || (device == "aurora"))
	|| ((device == "Cyclone") || (device == "CYCLONE") || (device == "cyclone") || (device == "ACEX2K") || (device == "acex2k") || (device == "ACEX 2K") || (device == "acex 2k") || (device == "Tornado") || (device == "TORNADO") || (device == "tornado"))
	|| ((device == "MAX II") || (device == "max ii") || (device == "MAXII") || (device == "maxii") || (device == "Tsunami") || (device == "TSUNAMI") || (device == "tsunami"))
	|| ((device == "HardCopy Stratix") || (device == "HARDCOPY STRATIX") || (device == "hardcopy stratix") || (device == "Stratix HC") || (device == "STRATIX HC") || (device == "stratix hc") || (device == "StratixHC") || (device == "STRATIXHC") || (device == "stratixhc") || (device == "HardcopyStratix") || (device == "HARDCOPYSTRATIX") || (device == "hardcopystratix"))
	|| ((device == "Stratix II") || (device == "STRATIX II") || (device == "stratix ii") || (device == "StratixII") || (device == "STRATIXII") || (device == "stratixii") || (device == "Armstrong") || (device == "ARMSTRONG") || (device == "armstrong"))
	|| ((device == "Cyclone II") || (device == "CYCLONE II") || (device == "cyclone ii") || (device == "Cycloneii") || (device == "CYCLONEII") || (device == "cycloneii") || (device == "Magellan") || (device == "MAGELLAN") || (device == "magellan")))
		is_valid = 1;
	else
		is_valid = 0;

	IS_VALID_FAMILY = is_valid;
end
endfunction // IS_VALID_FAMILY


endmodule // LPM_DEVICE_FAMILIES
//START_MODULE_NAME------------------------------------------------------------
//
// Module Name     :  lpm_constant
//
// Description     :  Parameterized constant generator megafunction. lpm_constant 
//                    may be useful for convert a parameter into a constant.
//
// Limitation      :  n/a
//
// Results expected:  Value specified by the argument to LPM_CVALUE.
//
//END_MODULE_NAME--------------------------------------------------------------

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

// MODULE DECLARATION
module lpm_constant ( 
    result // Value specified by the argument to LPM_CVALUE. (Required)
);

// GLOBAL PARAMETER DECLARATION
    parameter lpm_width = 1;   // Width of the result[] port. (Required)
    parameter lpm_cvalue = 0;  // Constant value to be driven out on the 
                               // result[] port. (Required)
    parameter lpm_strength = "UNUSED";    
    parameter lpm_type = "lpm_constant";  
    parameter lpm_hint = "UNUSED";       

// OUTPUT PORT DECLARATION
    output [lpm_width-1:0] result;

// INITIAL CONSTRUCT BLOCK
    initial
    begin
        if (lpm_width <= 0)
        begin
            $display("Value of lpm_width parameter must be greater than 0(ERROR)");
            $finish;
        end
    end

// CONTINOUS ASSIGNMENT
    assign result = lpm_cvalue;

endmodule // lpm_constant

//START_MODULE_NAME------------------------------------------------------------
//
// Module Name     :  lpm_inv

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩综合在线视频| 亚洲三级电影网站| 欧美国产视频在线| 亚洲综合成人在线视频| 顶级嫩模精品视频在线看| 欧美在线播放高清精品| 国产色产综合色产在线视频| 日韩精品免费视频人成| 亚洲伊人色欲综合网| 日本中文在线一区| 99国产精品99久久久久久| 2021久久国产精品不只是精品| 亚洲成人免费看| 在线亚洲人成电影网站色www| 国产喂奶挤奶一区二区三区| 美国毛片一区二区| 91麻豆精品国产91久久久久久久久| 国产精品美女久久久久久久| 国产一区二区免费视频| 日韩无一区二区| 五月婷婷激情综合网| 在线观看日韩高清av| 中文字幕亚洲不卡| 成人av小说网| √…a在线天堂一区| 不卡免费追剧大全电视剧网站| 久久综合久久鬼色| 韩国女主播成人在线观看| 制服丝袜在线91| 久草中文综合在线| 精品视频1区2区3区| 亚洲精选视频在线| 99精品欧美一区二区蜜桃免费| 久久久美女毛片| 国产高清精品久久久久| 久久亚洲春色中文字幕久久久| 理论片日本一区| 日韩精品一区二区三区中文不卡| 视频一区国产视频| 91精品国产一区二区| 天涯成人国产亚洲精品一区av| 欧美精品vⅰdeose4hd| 亚洲一二三四区| 欧美精品在线观看一区二区| 偷拍一区二区三区| 欧美成人三级电影在线| 国产精品白丝jk白祙喷水网站| 国产日韩欧美一区二区三区综合| 午夜视频一区二区| 欧美理论电影在线| 老司机精品视频导航| 日本一区二区三区四区| av一区二区久久| 日本视频中文字幕一区二区三区| 欧美一区二区三区在线电影| 国产一区亚洲一区| 亚洲视频一二三区| 欧美丝袜自拍制服另类| 久久99精品国产麻豆婷婷洗澡| 国产日产欧产精品推荐色| 91国产丝袜在线播放| 麻豆精品蜜桃视频网站| 欧美高清在线一区| 欧美日韩视频在线第一区| 久久99久久精品| 亚洲欧美在线高清| 3d动漫精品啪啪一区二区竹菊| 高清久久久久久| 91一区一区三区| 麻豆视频观看网址久久| 国产精品久久久久久福利一牛影视| 欧美三级一区二区| 国产精品69毛片高清亚洲| 亚洲一区二区三区四区不卡| 久久久久久日产精品| 精品视频在线看| 东方欧美亚洲色图在线| 爽好多水快深点欧美视频| 国产欧美一区二区精品性| 欧美精品丝袜中出| 99视频精品在线| 极品少妇xxxx精品少妇偷拍| 亚洲综合激情网| 最新成人av在线| 久久久久国色av免费看影院| 在线免费精品视频| 国产成人无遮挡在线视频| 成人av午夜电影| 亚洲激情成人在线| 国产亚洲精品免费| 日韩欧美亚洲一区二区| 欧美美女黄视频| 91在线无精精品入口| 色综合久久88色综合天天6 | 日韩欧美黄色影院| 91福利在线播放| 成人av在线影院| 国产成人精品免费看| 精品一区二区日韩| 免费观看在线综合| 五月激情综合网| 午夜精品久久久久影视| 伊人开心综合网| 亚洲欧美另类久久久精品2019| 国产欧美一区二区精品婷婷 | 欧美久久高跟鞋激| 精品视频在线免费观看| 欧美日韩一区三区| 天堂久久一区二区三区| 欧美精品一区二区精品网| 欧美日韩亚洲综合一区 | 国产资源精品在线观看| 日本伊人色综合网| 日韩精彩视频在线观看| 天天色图综合网| 亚洲欧美色图小说| 亚洲黄色小视频| 亚洲黄色片在线观看| 亚洲成人7777| 日韩一区欧美二区| 亚洲精品一区二区在线观看| 色www精品视频在线观看| 国模大尺度一区二区三区| 美女视频免费一区| 三级欧美在线一区| 91久久国产最好的精华液| 欧美性极品少妇| 日本欧美在线观看| 免费在线观看日韩欧美| 看国产成人h片视频| 国产无一区二区| 欧美国产精品一区| 亚洲欧洲精品一区二区三区| 另类中文字幕网| 国产一区二区三区四区五区美女| 国产精品美女久久久久aⅴ | 在线观看亚洲专区| 欧美日韩aaaaaa| 久久综合久久99| 久久99精品国产麻豆不卡| 中文字幕第一区二区| 国产午夜精品一区二区| 亚洲精品乱码久久久久久久久| 日韩精品一区第一页| 国产精品77777| 男男视频亚洲欧美| 视频一区国产视频| 捆绑变态av一区二区三区| 亚洲第一综合色| 国产精品亚洲一区二区三区妖精| 91在线精品一区二区三区| 69精品人人人人| 亚洲国产精品v| 亚洲三级在线观看| 丝袜诱惑亚洲看片| 成人一区二区三区视频在线观看| 欧美日韩高清影院| 久久九九国产精品| 午夜精品爽啪视频| caoporn国产一区二区| 欧美一区二区三区人| 17c精品麻豆一区二区免费| 麻豆成人在线观看| 欧美最猛性xxxxx直播| 2023国产一二三区日本精品2022| 亚洲一区二区三区四区在线| 粉嫩aⅴ一区二区三区四区| 日韩三级高清在线| 一区二区三区不卡视频| 国产一区二区三区四区五区入口| 欧美三级中文字幕| 亚洲日本乱码在线观看| 国产精品一区一区| 欧美电影一区二区| 久久久久9999亚洲精品| 麻豆91免费观看| 欧美偷拍一区二区| 亚洲人成精品久久久久| 国产高清不卡一区二区| 欧美一级理论片| 同产精品九九九| 欧美日韩国产另类一区| 伊人婷婷欧美激情| 91麻豆精东视频| 中文字幕一区二区三区不卡在线 | 国产乱码字幕精品高清av| 7777精品久久久大香线蕉| 亚洲综合在线观看视频| 99国产麻豆精品| 五月综合激情网| 懂色av噜噜一区二区三区av| 久久久久久一二三区| 国产在线观看一区二区| 久久综合九色综合97婷婷 | 亚洲一区国产视频| 在线观看一区日韩| 亚洲在线视频网站| 欧美三级三级三级| 午夜视频一区在线观看| 91精品国产欧美日韩|