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

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

?? bench_top.v

?? fpga based jpge 壓縮算法
?? V
字號:
/////////////////////////////////////////////////////////////////////////                                                             ////////  Discrete Cosine Transform Testbench                        ////////                                                             ////////  Author: Richard Herveille                                  ////////          richard@asics.ws                                   ////////          www.asics.ws                                       ////////                                                             /////////////////////////////////////////////////////////////////////////////                                                             //////// Copyright (C) 2002 Richard Herveille                        ////////                    richard@asics.ws                         ////////                                                             //////// This source file may be used and distributed without        //////// restriction provided that this copyright statement is not   //////// removed from the file and that any derivative work contains //////// the original copyright notice and the associated disclaimer.////////                                                             ////////     THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY     //////// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED   //////// TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS   //////// FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL THE AUTHOR      //////// OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,         //////// INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES    //////// (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE   //////// GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR        //////// BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF  //////// LIABILITY, WHETHER IN  CONTRACT, STRICT LIABILITY, OR TORT  //////// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT  //////// OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE         //////// POSSIBILITY OF SUCH DAMAGE.                                 ////////                                                             ///////////////////////////////////////////////////////////////////////////  CVS Log////  $Id: bench_top.v,v 1.2 2002/10/23 09:06:58 rherveille Exp $////  $Date: 2002/10/23 09:06:58 $//  $Revision: 1.2 $//  $Author: rherveille $//  $Locker:  $//  $State: Exp $//// Change History://               $Log: bench_top.v,v $//               Revision 1.2  2002/10/23 09:06:58  rherveille//               Improved many files.//               Fixed some bugs in Run-Length-Encoder.//               Removed dependency on ud_cnt and ro_cnt.//               Started (Motion)JPEG hardware encoder project.////`include "timescale.v"module bench_top();	//	// internal wires	//	reg clk;	reg rst;	reg dstrb;	reg [7:0] din;	wire den;	wire [11:0] dout;	reg [ 7:0] input_list  [63:0];	reg [11:0] output_list [63:0];	integer x,y;	integer err_cnt;	//	// DCT unit	//	////////////////////////////////////////////////////////////////////	//                                                                //	// ITU-T.81, ITU-T.83 & Coefficient resolution notes              //	//                                                                //	////////////////////////////////////////////////////////////////////	//                                                                //	// Worst case error (all input values -128) is                    //	// zero (i.e. no errors) when using 15bit coefficients            //	//                                                                //	// Using less bits for the coefficients produces a biterror       //	// approx. equal to (15 - used_coefficient-bits).                 //	// e.g. 14bit coefficients, errors in dout-bit[0] only            //	//      13bit coefficients, errors in dout-bits[1:0]              //	//      12bit coefficients, errors in dout-bits[2:0] etc.         //	// Tests with real non-continous tone image data have shown that  //	// even when using 13bit coefficients errors remain in the lsb    //	// only (i.e. dout-bit[0]                                         //	//                                                                //	// The amount of coefficient-bits needed is dependent on the      //	// desired quality.                                               //	// The JPEG-standard compliance specs.(ITU-T.83) prescribe        //	// that the output of the combined DCT AND Quantization unit      //	// shall not exceed 1 for the desired quality.                    //	//                                                                //	// This means for high quantization levels, lesser bits           //	// for the DCT unit can be used.                                  //	//                                                                //	// Looking at the recommended "quantization tables for generic    //	// compliance testing of DCT-based processes" (ITU-T.83 annex B)  //	// it can be noticed that relatively large quantization values    //	// are being used. Errors in the lower-order bits should          //	// therefore not be visible.                                      //	// For certain applications some of the lower-order bits could    //	// actually be discarded. When looking at the luminance and       //	// chrominance example quantization tables (ITU-T.81 annex K)     //	// it can be seen that the smallest quantization value is ten     //	// (qnt_val_min = 10). This means that the lowest 2bits can be    //	// discarded (set to zero '0') without having any effect on the   //	// final result. In this example 11 bit or 12 bit coefficients    //	// would be sufficient.                                           //	//                                                                //	////////////////////////////////////////////////////////////////////	fdct #(13)	dut (		.clk(clk),		.ena(1'b1),		.rst(rst),		.dstrb(dstrb),		.din(din),		.dout(dout),		.douten(den)	);	//	// testbench body	//	// generate clock	always #2.5 clk <= ~clk;	// initial statements	initial	begin		// waves statement		`ifdef WAVES		    $shm_open("waves");		    $shm_probe("AS",bench_top,"AS");		    $display("INFO: Signal dump enabled ...\n\n");		`endif		// fill input-table		input_list[00] <= 8'd139;		input_list[01] <= 8'd144;		input_list[02] <= 8'd149;		input_list[03] <= 8'd153;		input_list[04] <= 8'd155;		input_list[05] <= 8'd155;		input_list[06] <= 8'd155;		input_list[07] <= 8'd155;		input_list[08] <= 8'd144;		input_list[09] <= 8'd151;		input_list[10] <= 8'd153;		input_list[11] <= 8'd156;		input_list[12] <= 8'd159;		input_list[13] <= 8'd156;		input_list[14] <= 8'd156;		input_list[15] <= 8'd156;		input_list[16] <= 8'd150;		input_list[17] <= 8'd155;		input_list[18] <= 8'd160;		input_list[19] <= 8'd163;		input_list[20] <= 8'd158;		input_list[21] <= 8'd156;		input_list[22] <= 8'd156;		input_list[23] <= 8'd156;		input_list[24] <= 8'd159;		input_list[25] <= 8'd161;		input_list[26] <= 8'd162;		input_list[27] <= 8'd160;		input_list[28] <= 8'd160;		input_list[29] <= 8'd159;		input_list[30] <= 8'd159;		input_list[31] <= 8'd159;		input_list[32] <= 8'd159;		input_list[33] <= 8'd160;		input_list[34] <= 8'd161;		input_list[35] <= 8'd162;		input_list[36] <= 8'd162;		input_list[37] <= 8'd155;		input_list[38] <= 8'd155;		input_list[39] <= 8'd155;		input_list[40] <= 8'd161;		input_list[41] <= 8'd161;		input_list[42] <= 8'd161;		input_list[43] <= 8'd161;		input_list[44] <= 8'd160;		input_list[45] <= 8'd157;		input_list[46] <= 8'd157;		input_list[47] <= 8'd157;		input_list[48] <= 8'd162;		input_list[49] <= 8'd162;		input_list[50] <= 8'd161;		input_list[51] <= 8'd163;		input_list[52] <= 8'd162;		input_list[53] <= 8'd157;		input_list[54] <= 8'd157;		input_list[55] <= 8'd157;		input_list[56] <= 8'd162;		input_list[57] <= 8'd162;		input_list[58] <= 8'd161;		input_list[59] <= 8'd161;		input_list[60] <= 8'd163;		input_list[61] <= 8'd158;		input_list[62] <= 8'd158;		input_list[63] <= 8'd158;/*		input_list[00] <= 8'd0;		input_list[01] <= 8'd0;		input_list[02] <= 8'd0;		input_list[03] <= 8'd0;		input_list[04] <= 8'd0;		input_list[05] <= 8'd0;		input_list[06] <= 8'd0;		input_list[07] <= 8'd0;		input_list[08] <= 8'd0;		input_list[09] <= 8'd0;		input_list[10] <= 8'd0;		input_list[11] <= 8'd0;		input_list[12] <= 8'd0;		input_list[13] <= 8'd0;		input_list[14] <= 8'd0;		input_list[15] <= 8'd0;		input_list[16] <= 8'd0;		input_list[17] <= 8'd0;		input_list[18] <= 8'd0;		input_list[19] <= 8'd0;		input_list[20] <= 8'd0;		input_list[21] <= 8'd0;		input_list[22] <= 8'd0;		input_list[23] <= 8'd0;		input_list[24] <= 8'd0;		input_list[25] <= 8'd0;		input_list[26] <= 8'd0;		input_list[27] <= 8'd0;		input_list[28] <= 8'd0;		input_list[29] <= 8'd0;		input_list[30] <= 8'd0;		input_list[31] <= 8'd0;		input_list[32] <= 8'd0;		input_list[33] <= 8'd0;		input_list[34] <= 8'd0;		input_list[35] <= 8'd0;		input_list[36] <= 8'd0;		input_list[37] <= 8'd0;		input_list[38] <= 8'd0;		input_list[39] <= 8'd0;		input_list[40] <= 8'd0;		input_list[41] <= 8'd0;		input_list[42] <= 8'd0;		input_list[43] <= 8'd0;		input_list[44] <= 8'd0;		input_list[45] <= 8'd0;		input_list[46] <= 8'd0;		input_list[47] <= 8'd0;		input_list[48] <= 8'd0;		input_list[49] <= 8'd0;		input_list[50] <= 8'd0;		input_list[51] <= 8'd0;		input_list[52] <= 8'd0;		input_list[53] <= 8'd0;		input_list[54] <= 8'd0;		input_list[55] <= 8'd0;		input_list[56] <= 8'd0;		input_list[57] <= 8'd0;		input_list[58] <= 8'd0;		input_list[59] <= 8'd0;		input_list[60] <= 8'd0;		input_list[61] <= 8'd0;		input_list[62] <= 8'd0;		input_list[63] <= 8'd0;*/		// fill output-table		output_list[00] <= 12'h1d7;		output_list[01] <= 12'hffe;		output_list[02] <= 12'hfd3;		output_list[03] <= 12'hfea;		output_list[04] <= 12'hfdd; //16bit resolution returns 13'h1fdc		output_list[05] <= 12'hfe8;		output_list[06] <= 12'hff6;		output_list[07] <= 12'hff4;		output_list[08] <= 12'hfed;		output_list[09] <= 12'hff2;		output_list[10] <= 12'hfff;		output_list[11] <= 12'hffc;		output_list[12] <= 12'hffd;		output_list[13] <= 12'hffa;		output_list[14] <= 12'h004;		output_list[15] <= 12'hffd;		output_list[16] <= 12'hffa;		output_list[17] <= 12'h003;		output_list[18] <= 12'h000;		output_list[19] <= 12'hffe;		output_list[20] <= 12'h004;		output_list[21] <= 12'hffd;		output_list[22] <= 12'h000;		output_list[23] <= 12'h003;		output_list[24] <= 12'h003;		output_list[25] <= 12'h000;		output_list[26] <= 12'h000;		output_list[27] <= 12'hffb;		output_list[28] <= 12'h003;		output_list[29] <= 12'h001;		output_list[30] <= 12'hffe;		output_list[31] <= 12'h002;		output_list[32] <= 12'h003;		output_list[33] <= 12'h003;		output_list[34] <= 12'hfff;		output_list[35] <= 12'hffb;		output_list[36] <= 12'h003;		output_list[37] <= 12'hfff;		output_list[38] <= 12'hfff;		output_list[39] <= 12'h000;		output_list[40] <= 12'h000;		output_list[41] <= 12'hfff;		output_list[42] <= 12'hffe;		output_list[43] <= 12'h000;		output_list[44] <= 12'h000;		output_list[45] <= 12'hfff;		output_list[46] <= 12'hffe;		output_list[47] <= 12'hffd;		output_list[48] <= 12'hff8;		output_list[49] <= 12'hffc;		output_list[50] <= 12'hfff;		output_list[51] <= 12'h003;		output_list[52] <= 12'h001;		output_list[53] <= 12'h001;		output_list[54] <= 12'h003;		output_list[55] <= 12'h002;		output_list[56] <= 12'h003;		output_list[57] <= 12'h004;		output_list[58] <= 12'h002;		output_list[59] <= 12'h002;		output_list[60] <= 12'hffe;		output_list[61] <= 12'hffe;		output_list[62] <= 12'hfff;		output_list[63] <= 12'hfff;		clk = 0; // start with low-level clock		rst = 0; // reset system		dstrb = 1'b0;		rst = #17 1'b1;		// wait a while		repeat(20) @(posedge clk);		// present dstrb		dstrb = #1 1'b1;		@(posedge clk)		dstrb = #1 1'b0;		for(y=0; y<=7; y=y+1)		for(x=0; x<=7; x=x+1)		begin		  din = #1 input_list[y*8 +x] -8'd128;		  @(posedge clk);		end		// wait for 'den' signal		while (!den) @(posedge clk);		// den is presented 1clk cycle before data		@(posedge clk);		err_cnt = 0;		for(y=0; y<=7; y=y+1)		for(x=0; x<=7; x=x+1)		begin			if (dout !== output_list[y*8 +x])			begin			  $display("Data compare error, received %h, expected %h. %d",			           dout, output_list[y*8 +x], y*8 +x);			  err_cnt = err_cnt +1;			end			@(posedge clk);		end		$display("\nTotal errors: %d", err_cnt);		$stop;	endendmodule

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人白浆超碰人人人人| 亚洲天堂2016| 91精品国产综合久久精品app | 午夜欧美电影在线观看| 一区二区视频在线| 一区二区三区av电影| 亚洲综合区在线| 亚洲成人激情社区| 婷婷国产在线综合| 日本亚洲天堂网| 精品一区中文字幕| 国产精品99久久久久久似苏梦涵| 久草中文综合在线| 福利91精品一区二区三区| 国产成人精品免费| 91网站黄www| 欧美色欧美亚洲另类二区| 欧美日韩黄视频| 精品福利在线导航| 国产精品视频免费| 亚洲精品久久嫩草网站秘色| 亚洲成人激情av| 久久精品国产亚洲aⅴ| 大陆成人av片| 在线观看av一区二区| 欧美日韩国产不卡| 精品国产一区二区三区av性色 | 亚洲欧美电影一区二区| 亚洲一级二级三级| 国模一区二区三区白浆| 色综合久久综合网欧美综合网 | 91视视频在线观看入口直接观看www | 久久先锋影音av鲁色资源网| 中文文精品字幕一区二区| 亚洲视频在线观看三级| 爽好久久久欧美精品| 国产九色精品成人porny | 亚洲在线中文字幕| 狠狠狠色丁香婷婷综合久久五月| 懂色中文一区二区在线播放| 91视频com| 久久久一区二区三区| 一级日本不卡的影视| 国产精品一二三四| 91精品国产入口| 国产精品日日摸夜夜摸av| 日本sm残虐另类| 91一区二区三区在线观看| 精品国产乱码久久久久久图片| 伊人色综合久久天天| 国产成a人亚洲| 在线观看91精品国产麻豆| 17c精品麻豆一区二区免费| 久久不见久久见免费视频7| 91久久精品一区二区| 国产欧美精品在线观看| 老司机一区二区| 欧美男生操女生| 一区二区高清免费观看影视大全| 成人美女视频在线看| 精品少妇一区二区三区在线播放| 洋洋成人永久网站入口| 成人动漫一区二区在线| 欧美videofree性高清杂交| 午夜精品一区二区三区三上悠亚| 97精品电影院| 国产精品美女久久久久久| 国产在线精品免费| 亚洲精品一区二区三区香蕉| 日韩精品三区四区| 欧美伊人精品成人久久综合97| 综合色中文字幕| 99精品热视频| 亚洲精品成人悠悠色影视| 99久久精品99国产精品| 亚洲欧洲日韩女同| 97精品久久久午夜一区二区三区| 欧美国产一区二区| av一二三不卡影片| 亚洲精品久久嫩草网站秘色| 色综合色狠狠综合色| 亚洲一区在线播放| 欧美精品久久久久久久多人混战| 天天综合天天做天天综合| 777欧美精品| 久久99精品国产麻豆不卡| 日韩欧美成人一区二区| 国模套图日韩精品一区二区| 久久精品亚洲精品国产欧美kt∨| 久久激五月天综合精品| 精品国产免费人成电影在线观看四季| 久草热8精品视频在线观看| 日韩欧美在线123| 国产在线不卡视频| 中文字幕一区二区三区四区| 色94色欧美sute亚洲线路一ni | 国产女同性恋一区二区| 不卡视频免费播放| 亚洲图片欧美综合| 精品国产麻豆免费人成网站| 成人性生交大片| 亚欧色一区w666天堂| 亚洲精品成人悠悠色影视| 欧美日韩美少妇| 国产乱人伦偷精品视频免下载 | 欧美性猛交一区二区三区精品| 午夜精品福利在线| 欧美va亚洲va香蕉在线| av亚洲产国偷v产偷v自拍| 婷婷中文字幕综合| 国产欧美一区二区精品秋霞影院| 一本色道a无线码一区v| 蜜桃av一区二区| 成人免费视频在线观看| 91精品国产欧美一区二区| 成人av在线资源网站| 午夜一区二区三区在线观看| 久久蜜桃av一区二区天堂 | 久久精品免费观看| 亚洲欧洲日本在线| 精品日本一线二线三线不卡| 成人av先锋影音| 日本不卡123| 一个色综合网站| 国产亚洲视频系列| 欧美一区二区三区喷汁尤物| 99精品视频在线观看免费| 久久se这里有精品| 一区二区不卡在线播放| 国产欧美精品一区二区三区四区 | 亚洲欧美中日韩| 日韩午夜三级在线| 欧美日产国产精品| 一本色道久久综合亚洲aⅴ蜜桃| 国产在线精品免费av| 亚洲成人免费在线| 亚洲女人的天堂| 国产日本一区二区| 久久久久久久久岛国免费| 日韩欧美成人一区| 777xxx欧美| 777xxx欧美| 在线播放一区二区三区| 欧美怡红院视频| 色综合一区二区三区| 99麻豆久久久国产精品免费| 国产精品一区免费视频| 国产精品资源在线| 国产在线麻豆精品观看| 狠狠v欧美v日韩v亚洲ⅴ| 奇米一区二区三区av| 蜜臂av日日欢夜夜爽一区| 日本免费在线视频不卡一不卡二| 日日摸夜夜添夜夜添精品视频| 一区二区免费在线| 亚洲综合999| 日韩在线a电影| 免费成人性网站| 国产一区二区不卡| 狠狠色狠狠色综合| 粗大黑人巨茎大战欧美成人| 99久久精品国产一区| 色天使色偷偷av一区二区| 在线视频一区二区三区| 欧美在线观看你懂的| 欧美日韩精品福利| 日韩一区二区三区免费观看| 欧美va天堂va视频va在线| 日本一区二区三区四区| 国产精品嫩草影院av蜜臀| 亚洲天堂久久久久久久| 亚洲一区在线免费观看| 偷拍一区二区三区| 国产乱对白刺激视频不卡| 成人理论电影网| 欧美色爱综合网| 久久天堂av综合合色蜜桃网| 国产精品私人影院| 亚洲成人福利片| 国产揄拍国内精品对白| 99久久精品国产一区| 欧美亚洲国产一区二区三区va| 这里只有精品99re| 国产欧美日韩卡一| 亚洲国产综合色| 国产激情精品久久久第一区二区| 91麻豆精品在线观看| 欧美大片在线观看一区| 中文字幕欧美国产| 天堂影院一区二区| 国产成人精品三级麻豆| 欧美日韩一区二区三区免费看 | 亚洲美女精品一区| 美女视频黄 久久| 国产福利不卡视频| 91精品欧美久久久久久动漫 | 777色狠狠一区二区三区| 国产日产亚洲精品系列| 亚洲国产成人va在线观看天堂| 国内精品伊人久久久久av一坑|