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

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

?? kcuart_tx.v

?? Xilinx的培訓(xùn)教程的源碼 virtex
?? V
字號:
////////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2004 Xilinx, Inc.
// All Rights Reserved
////////////////////////////////////////////////////////////////////////////////
//   ____  ____
//  /   /\/   /
// /___/  \  /    Vendor: Xilinx
// \   \   \/     Version: 1.03
//  \   \         Filename: kcuart_tx.v
//  /   /         Date Last Modified:  November 2, 2004
// /___/   /\     Date Created: October 14, 2002
// \   \  /  \
//  \___\/\___\
//
//Device:  	Xilinx
//Purpose: 	
// 	Constant (K) Compact UART Transmitter
//Reference:
// 	None
//Revision History:
//    Rev 1.00 - kc - Start of design entry in VHDL,  October 14, 2002
//    Rev 1.01 - sus - Converted to verilog,  August 4, 2004
//    Rev 1.02 - njs - Synplicity attributes added,  September 6, 2004
//    Rev 1.03 - njs - Fixed simulation attributes from string to hex, 
//				November 2, 2004
////////////////////////////////////////////////////////////////////////////////// 
// Contact: e-mail  picoblaze@xilinx.com
//////////////////////////////////////////////////////////////////////////////////
//
// Disclaimer: 
// LIMITED WARRANTY AND DISCLAIMER. These designs are
// provided to you "as is". Xilinx and its licensors make and you
// receive no warranties or conditions, express, implied,
// statutory or otherwise, and Xilinx specifically disclaims any
// implied warranties of merchantability, non-infringement, or
// fitness for a particular purpose. Xilinx does not warrant that
// the functions contained in these designs will meet your
// requirements, or that the operation of these designs will be
// uninterrupted or error free, or that defects in the Designs
// will be corrected. Furthermore, Xilinx does not warrant or
// make any representations regarding use or the results of the
// use of the designs in terms of correctness, accuracy,
// reliability, or otherwise.
//
// LIMITATION OF LIABILITY. In no event will Xilinx or its
// licensors be liable for any loss of data, lost profits, cost
// or procurement of substitute goods or services, or for any
// special, incidental, consequential, or indirect damages
// arising from the use or operation of the designs or
// accompanying documentation, however caused and on any theory
// of liability. This limitation will apply even if Xilinx
// has been advised of the possibility of such damage. This
// limitation shall apply not-withstanding the failure of the 
// essential purpose of any limited remedies herein. 
//////////////////////////////////////////////////////////////////////////////////

`timescale 1 ps / 1ps

module kcuart_tx
     (data_in,
      send_character,
      en_16_x_baud,
      serial_out,
      Tx_complete,
      clk);

input 	[7:0]	data_in;
input       	send_character;
input       	en_16_x_baud;
output		serial_out;
output		Tx_complete;
input 		clk;

//
////////////////////////////////////////////////////////////////////////////////////
//
// Start of KCUART_TX
//	 
//
////////////////////////////////////////////////////////////////////////////////////
//
////////////////////////////////////////////////////////////////////////////////////
//
// wires used in KCUART_TX
//
////////////////////////////////////////////////////////////////////////////////////
//
wire 		data_01;
wire 		data_23;
wire 		data_45;
wire 		data_67;
wire 		data_0123;
wire 		data_4567;
wire 		data_01234567;
wire 	[2:0] 	bit_select;
wire 	[2:0] 	next_count;
wire 	[2:0] 	mask_count;
wire 	[2:0] 	mask_count_carry;
wire 	[2:0] 	count_carry;
wire 		ready_to_start;
wire 		decode_Tx_start;
wire 		Tx_start;
wire 		decode_Tx_run;
wire 		Tx_run;
wire 		decode_hot_state;
wire 		hot_state;
wire 		hot_delay;
wire 		Tx_bit;
wire 		decode_Tx_stop;
wire 		Tx_stop;
wire 		decode_Tx_complete;
//
//
////////////////////////////////////////////////////////////////////////////////////
//
// Attributes to define LUT contents during implementation 
// The information is repeated in the generic map for functional simulation//
//
////////////////////////////////////////////////////////////////////////////////////

// synthesis attribute init of mux1_lut is "E4FF"; 
// synthesis attribute init of mux2_lut is "E4FF";
// synthesis attribute init of mux3_lut is "E4FF";
// synthesis attribute init of mux4_lut is "E4FF";
// synthesis attribute init of ready_lut is "10";
// synthesis attribute init of start_lut is "0190";
// synthesis attribute init of run_lut is "1540";
// synthesis attribute init of hot_state_lut is "94";
// synthesis attribute init of delay14_srl is "0000";
// synthesis attribute init of stop_lut is "0180";
// synthesis attribute init of complete_lut is "8";
// synthesis attribute init of count_lut_0 is "8";
// synthesis attribute init of count_lut_1 is "8";
// synthesis attribute init of count_lut_2 is "8";

//
////////////////////////////////////////////////////////////////////////////////////
//
// Start of KCUART_TX circuit description
//
////////////////////////////////////////////////////////////////////////////////////
//	

  // 8 to 1 multiplexer to convert parallel data to serial

  	LUT4 mux1_lut
  	  ( .I0(bit_select[0]),
   	    .I1(data_in[0]),
            .I2(data_in[1]),
            .I3(Tx_run),
            .O(data_01) )/* synthesis xc_props = "INIT=E4FF"*/;
	// synthesis translate_off
	defparam mux1_lut.INIT = 16'hE4FF; 
	// synthesis translate_on

  	LUT4 mux2_lut 
  	(   .I0(bit_select[0]),
            .I1(data_in[2]),
            .I2(data_in[3]),
            .I3(Tx_run),
            .O(data_23) )/* synthesis xc_props = "INIT=E4FF"*/;
	// synthesis translate_off
	defparam mux2_lut.INIT = 16'hE4FF; 
	// synthesis translate_on

  	LUT4 mux3_lut
  	   (.I0(bit_select[0]),
            .I1(data_in[4]),
            .I2(data_in[5]),
            .I3(Tx_run),
            .O(data_45) )/* synthesis xc_props = "INIT=E4FF"*/;
	// synthesis translate_off
	defparam mux3_lut.INIT = 16'hE4FF; 
	// synthesis translate_on

  	LUT4 mux4_lut
  	   (.I0(bit_select[0]),
            .I1(data_in[6]),
            .I2(data_in[7]),
            .I3(Tx_run),
            .O(data_67) )/* synthesis xc_props = "INIT=E4FF"*/;
	// synthesis translate_off
	defparam mux4_lut.INIT = 16'hE4FF; 
	// synthesis translate_on

  	MUXF5 mux5_muxf5
  		(		.I1(data_23),
            .I0(data_01),
            .S(bit_select[1]),
            .O(data_0123) );

  	MUXF5 mux6_muxf5
  		( 		.I1(data_67),
            .I0(data_45),
            .S(bit_select[1]),
            .O(data_4567) );

  	MUXF6 mux7_muxf6
  		(		.I1(data_4567),
            .I0(data_0123),
            .S(bit_select[2]),
            .O(data_01234567) );

  // Register serial output and force start and stop bits

  	FDRS pipeline_serial
   	(   .D(data_01234567),
            .Q(serial_out),
            .R(Tx_start),
            .S(Tx_stop),
            .C(clk) ) ;

  // 3-bit counter
  // Counter is clock enabled by en_16_x_baud
  // Counter will be reset when 'Tx_start' is active
  // Counter will increment when Tx_bit is active
  // Tx_run must be active to count
  // count_carry[2] indicates when terminal count [7] is reached and Tx_bit=1 (ie overflow)

	FDRE register_bit_0
   	(.D(next_count[0]),
         .Q(bit_select[0]),
         .CE(en_16_x_baud),
         .R(Tx_start),
         .C(clk) );

	LUT2 count_lut_0
     	(.I0(bit_select[0]),
         .I1(Tx_run),
         .O(mask_count[0]) )/* synthesis xc_props = "INIT=8"*/;
	// synthesis translate_off
	defparam count_lut_0.INIT = 4'h8; 					 
	// synthesis translate_on

   MULT_AND mask_and_0
   	(.I0(bit_select[0]),
       	 .I1(Tx_run),
         .LO(mask_count_carry[0]) );

	MUXCY count_muxcy_0
   	( .DI(mask_count_carry[0]),
         .CI(Tx_bit),
         .S(mask_count[0]),
         .O(count_carry[0]) );
       
	XORCY count_xor_0
   	(.LI(mask_count[0]),
         .CI(Tx_bit),
         .O(next_count[0]) );
 
	FDRE register_bit_1
     	(.D(next_count[1]),
         .Q(bit_select[1]),
         .CE(en_16_x_baud),
         .R(Tx_start),
         .C(clk) );

	LUT2 count_lut_1
     	(.I0(bit_select[1]),
         .I1(Tx_run),
         .O(mask_count[1]) )/* synthesis xc_props = "INIT=8"*/;
	// synthesis translate_off
	defparam count_lut_1.INIT = 4'h8; 					 
	// synthesis translate_on

   MULT_AND mask_and_1
     	( 	.I0(bit_select[1]),
         .I1(Tx_run),
         .LO(mask_count_carry[1]) );

	MUXCY count_muxcy_1
   	( 	.DI(mask_count_carry[1]),
         .CI(count_carry[0]),
         .S(mask_count[1]),
         .O(count_carry[1]) );
       
	XORCY count_xor_1
     	( 	.LI(mask_count[1]),
         .CI(count_carry[0]),
         .O(next_count[1]) );

	FDRE register_bit_2
     	( 	.D(next_count[2]),
         .Q(bit_select[2]),
         .CE(en_16_x_baud),
         .R(Tx_start),
         .C(clk) );

  	LUT2 count_lut_2
   	( 	.I0(bit_select[2]),
         .I1(Tx_run),
         .O(mask_count[2]) )/* synthesis xc_props = "INIT=8"*/;
	// synthesis translate_off
	defparam count_lut_2.INIT = 4'h8; 					 
	// synthesis translate_on
	
	MULT_AND mask_and_2
     	( 	.I0(bit_select[2]),
         .I1(Tx_run),
         .LO(mask_count_carry[2]) );


	MUXCY count_muxcy_2
   	( 	.DI(mask_count_carry[2]),
         .CI(count_carry[1]),
         .S(mask_count[2]) ,
         .O(count_carry[2]) );
       
	XORCY count_xor_2
		( 	.LI(mask_count[2]),
         .CI(count_carry[1]),
         .O(next_count[2]) );

  // Ready to start decode

  	LUT3 ready_lut
  		( 	.I0(Tx_run),
         .I1(Tx_start),
         .I2(send_character),
         .O(ready_to_start ) )/* synthesis xc_props = "INIT=10"*/;
	// synthesis translate_off
	defparam ready_lut.INIT = 8'h10; 
	// synthesis translate_on

  // Start bit enable

  	LUT4 start_lut
  		( 	.I0(Tx_bit),
         .I1(Tx_stop),
         .I2(ready_to_start),
         .I3(Tx_start),
         .O(decode_Tx_start ) )/* synthesis xc_props = "INIT=0190"*/;
	// synthesis translate_off
	defparam start_lut.INIT = 16'h0190; 
	// synthesis translate_on

  	FDE Tx_start_reg
  	(	.D(decode_Tx_start),
      .Q(Tx_start),
      .CE(en_16_x_baud),
      .C(clk) );


  // Run bit enable
  	LUT4 run_lut
  	( 	.I0(count_carry[2]),
      .I1(Tx_bit),
      .I2(Tx_start),
      .I3(Tx_run),
		.O(decode_Tx_run ) )/* synthesis xc_props = "INIT=1540"*/;
	// synthesis translate_off
	defparam run_lut.INIT = 16'h1540; 
	// synthesis translate_on

  	FDE Tx_run_reg
  	(	.D(decode_Tx_run),
      .Q(Tx_run),
      .CE(en_16_x_baud),
      .C(clk) );

  // Bit rate enable

  	LUT3 hot_state_lut
  	(	.I0(Tx_stop),
      .I1(ready_to_start),
      .I2(Tx_bit),
      .O(decode_hot_state) )/* synthesis xc_props = "INIT=94"*/;
	// synthesis translate_off
	defparam hot_state_lut.INIT = 8'h94; 
	// synthesis translate_on

  	FDE hot_state_reg
  	(	.D(decode_hot_state),
      .Q(hot_state),
      .CE(en_16_x_baud),
      .C(clk) );

  	SRL16E delay14_srl
  	(	.D(hot_state),
      .CE(en_16_x_baud),
      .CLK(clk),
      .A0(1'b1),
      .A1(1'b0),
      .A2(1'b1),
      .A3(1'b1),
      .Q(hot_delay) )/* synthesis xc_props = "INIT=0000"*/;
	// synthesis translate_off
	defparam delay14_srl.INIT = 16'h0000; 
	// synthesis translate_on

  	FDE Tx_bit_reg
  	(	.D(hot_delay),
     	.Q(Tx_bit),
      .CE(en_16_x_baud),
      .C(clk) );

  // Stop bit enable
  	LUT4 stop_lut
  	(	.I0(Tx_bit),
      .I1(Tx_run),
      .I2(count_carry[2]),
      .I3(Tx_stop),	  
      .O(decode_Tx_stop) )/* synthesis xc_props = "INIT=0180"*/;
	// synthesis translate_off
	defparam stop_lut.INIT = 16'h0180; 
	// synthesis translate_on

  FDE Tx_stop_reg
  ( 	    .D(decode_Tx_stop),
            .Q(Tx_stop),
            .CE(en_16_x_baud),
            .C(clk) );

  // Tx_complete strobe

  LUT2 complete_lut
  ( 	    .I0(count_carry[2]),
            .I1(en_16_x_baud),
            .O(decode_Tx_complete) )/* synthesis xc_props = "INIT=8"*/;
	// synthesis translate_off
	defparam complete_lut.INIT = 4'h8; 
	// synthesis translate_on

  FD Tx_complete_reg
  ( 	     .D(decode_Tx_complete),
             .Q(Tx_complete),
             .C(clk) );


endmodule

////////////////////////////////////////////////////////////////////////////////////
//
// END OF FILE KCUART_TX.V
//
////////////////////////////////////////////////////////////////////////////////////


?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品国产制服丝袜高跟| 国产精品三级电影| 日韩国产欧美在线播放| 欧美无乱码久久久免费午夜一区| 国产精品久久久久久久久久久免费看| 国产成人综合网| 欧美xxxxx牲另类人与| 日本亚洲电影天堂| 欧美日韩国产综合一区二区三区| 一区二区三区欧美日| 97精品视频在线观看自产线路二| 中文字幕不卡在线| 成人aaaa免费全部观看| 国产精品美日韩| a级精品国产片在线观看| 国产精品久99| 91网站在线播放| 亚洲免费观看在线观看| 91精品1区2区| 亚洲综合免费观看高清完整版| 欧美综合亚洲图片综合区| 一区二区成人在线视频| 欧美天堂一区二区三区| 午夜精品123| 欧美一区二区三区在线看 | 日韩欧美电影一二三| 久草中文综合在线| 久久亚洲影视婷婷| 成人午夜碰碰视频| 亚洲欧美日本在线| 欧美性一二三区| 水野朝阳av一区二区三区| 日韩三级免费观看| 国产精品自拍在线| 国产精品久久久久国产精品日日| 91小视频免费看| 一区二区三国产精华液| 69久久99精品久久久久婷婷| 美女视频网站黄色亚洲| 久久这里都是精品| av一本久道久久综合久久鬼色| 一区二区三区视频在线看| 欧美肥妇free| 国产美女精品一区二区三区| 亚洲欧洲一区二区在线播放| 欧美三级视频在线| 国内精品久久久久影院色| 国产精品美女久久久久久久| 欧美性高清videossexo| 九一久久久久久| 成人免费小视频| 欧美日韩极品在线观看一区| 韩国三级中文字幕hd久久精品| 国产精品久久久久久久久免费丝袜 | 日韩av在线免费观看不卡| 欧美电影一区二区| 久久机这里只有精品| 国产无一区二区| www.日韩在线| 亚洲精品国产成人久久av盗摄 | 色综合久久精品| 午夜欧美在线一二页| 日韩欧美不卡在线观看视频| 久久国内精品视频| 亚洲国产精品av| 日本韩国欧美三级| 天堂久久一区二区三区| 久久网站热最新地址| bt7086福利一区国产| 亚洲一区二区三区美女| 欧美成人女星排名| 成人黄色一级视频| 一区二区三区在线视频免费观看| 欧美日韩国产区一| 国产自产高清不卡| 亚洲精品国产无套在线观| 欧美日韩五月天| 国产寡妇亲子伦一区二区| 亚洲日穴在线视频| 欧美一区二区三区色| 国产99久久久国产精品免费看| 亚洲综合在线观看视频| 欧美白人最猛性xxxxx69交| 成人av免费在线| 午夜激情一区二区三区| 国产欧美一区二区精品忘忧草| 色综合天天综合网天天狠天天| 日韩电影在线免费观看| 久久综合久久综合九色| 欧洲另类一二三四区| 国产主播一区二区三区| 亚洲主播在线播放| 精品成a人在线观看| 色妹子一区二区| 经典一区二区三区| 亚洲另类一区二区| 欧美一区二区三区精品| 不卡电影免费在线播放一区| 免费在线视频一区| 综合自拍亚洲综合图不卡区| 日韩欧美电影一二三| 欧美在线视频不卡| 国内精品第一页| 免费一区二区视频| 亚洲色图欧洲色图| 久久久精品2019中文字幕之3| 欧美色图一区二区三区| 国产福利一区二区三区视频| 亚洲va欧美va天堂v国产综合| 日本一区二区三区在线不卡| 91精品国产综合久久久蜜臀粉嫩| av欧美精品.com| 国产在线精品一区二区不卡了| 日本特黄久久久高潮| 一区二区在线观看视频| 国产欧美一区二区精品性色| 日韩一区二区麻豆国产| 91久久线看在观草草青青| 成人免费高清在线观看| 久久99精品国产麻豆不卡| 亚洲高清中文字幕| 国产视频一区二区在线观看| www国产精品av| 日韩一区二区麻豆国产| 欧美日韩视频不卡| 99久久伊人网影院| 六月丁香婷婷久久| 亚洲精品美腿丝袜| 国产精品久久久久aaaa樱花| 久久久青草青青国产亚洲免观| 欧美一区二区视频在线观看2020| 欧美午夜精品一区二区蜜桃| 91一区二区三区在线观看| 国产精品一区二区久久精品爱涩| 日韩成人一区二区| 亚洲综合一区在线| 亚洲精品免费在线观看| 国产精品白丝在线| 中文字幕av一区二区三区免费看| 久久蜜桃av一区二区天堂| 日韩欧美中文字幕一区| 欧美人狂配大交3d怪物一区| 色八戒一区二区三区| 成人av电影免费观看| 成人高清免费在线播放| 春色校园综合激情亚洲| 国产成人在线免费| 国产酒店精品激情| 国产麻豆日韩欧美久久| 五月天视频一区| 亚洲一本大道在线| 亚洲成人精品一区| 五月婷婷激情综合网| 日韩av在线播放中文字幕| 三级在线观看一区二区| 日韩av在线免费观看不卡| 日本不卡中文字幕| 麻豆免费精品视频| 精品一区二区三区在线观看| 欧美aa在线视频| 久久99精品久久只有精品| 国产在线精品免费| 国产福利一区在线| av电影天堂一区二区在线| 97成人超碰视| 欧洲一区二区三区在线| 欧美视频中文字幕| 欧美一二三四区在线| 久久亚洲精精品中文字幕早川悠里| 久久久久久97三级| 国产精品丝袜91| 一区在线观看视频| 国产精品污www在线观看| www欧美成人18+| 国产精品你懂的在线欣赏| 亚洲欧美电影一区二区| 亚洲电影一级黄| 男女视频一区二区| 国产精品自在欧美一区| 国产成人在线观看免费网站| www.性欧美| 欧美色窝79yyyycom| 欧美高清视频在线高清观看mv色露露十八 | 欧美一级艳片视频免费观看| 精品国产免费久久| 欧美国产日韩精品免费观看| 国产精品网站一区| 亚洲欧美日韩人成在线播放| 天天综合天天综合色| 狠狠狠色丁香婷婷综合激情| 国产精品亚洲人在线观看| 91蜜桃视频在线| 欧美日韩久久不卡| 精品国产精品网麻豆系列| 国产拍揄自揄精品视频麻豆| 一区二区欧美视频| 国产一区在线精品| 色婷婷国产精品| 日韩欧美在线影院| 国产午夜精品一区二区三区嫩草|