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

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

?? uart_receiver.v

?? UART串口的verilog源代碼
?? V
?? 第 1 頁 / 共 2 頁
字號:
//////////////////////////////////////////////////////////////////////////                                                              ////////  uart_receiver.v                                             ////////                                                              ////////                                                              ////////  This file is part of the "UART 16550 compatible" project    ////////  http://www.opencores.org/cores/uart16550/                   ////////                                                              ////////  Documentation related to this project:                      ////////  - http://www.opencores.org/cores/uart16550/                 ////////                                                              ////////  Projects compatibility:                                     ////////  - WISHBONE                                                  ////////  RS232 Protocol                                              ////////  16550D uart (mostly supported)                              ////////                                                              ////////  Overview (main Features):                                   ////////  UART core receiver logic                                    ////////                                                              ////////  Known problems (limits):                                    ////////  None known                                                  ////////                                                              ////////  To Do:                                                      ////////  Thourough testing.                                          ////////                                                              ////////  Author(s):                                                  ////////      - gorban@opencores.org                                  ////////      - Jacob Gorban                                          ////////      - Igor Mohor (igorm@opencores.org)                      ////////                                                              ////////  Created:        2001/05/12                                  ////////  Last Updated:   2001/05/17                                  ////////                  (See log for the revision history)          ////////                                                              ////////                                                              //////////////////////////////////////////////////////////////////////////////                                                              //////// Copyright (C) 2000, 2001 Authors                             ////////                                                              //////// 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 source file is free software; you can redistribute it   //////// and/or modify it under the terms of the GNU Lesser General   //////// Public License as published by the Free Software Foundation; //////// either version 2.1 of the License, or (at your option) any   //////// later version.                                               ////////                                                              //////// This source is distributed in the hope that it will be       //////// useful, but WITHOUT ANY WARRANTY; without even the implied   //////// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR      //////// PURPOSE.  See the GNU Lesser General Public License for more //////// details.                                                     ////////                                                              //////// You should have received a copy of the GNU Lesser General    //////// Public License along with this source; if not, download it   //////// from http://www.opencores.org/lgpl.shtml                     ////////                                                              ////////////////////////////////////////////////////////////////////////////// CVS Revision History//// $Log: uart_receiver.v,v $// Revision 1.31  2004/06/18 14:46:15  tadejm// Brandl Tobias repaired a bug regarding frame error in receiver when brake is received.//// Revision 1.29  2002/07/29 21:16:18  gorban// The uart_defines.v file is included again in sources.//// Revision 1.28  2002/07/22 23:02:23  gorban// Bug Fixes://  * Possible loss of sync and bad reception of stop bit on slow baud rates fixed.//   Problem reported by Kenny.Tung.//  * Bad (or lack of ) loopback handling fixed. Reported by Cherry Withers.//// Improvements://  * Made FIFO's as general inferrable memory where possible.//  So on FPGA they should be inferred as RAM (Distributed RAM on Xilinx).//  This saves about 1/3 of the Slice count and reduces P&R and synthesis times.////  * Added optional baudrate output (baud_o).//  This is identical to BAUDOUT* signal on 16550 chip.//  It outputs 16xbit_clock_rate - the divided clock.//  It's disabled by default. Define UART_HAS_BAUDRATE_OUTPUT to use.//// Revision 1.27  2001/12/30 20:39:13  mohor// More than one character was stored in case of break. End of the break// was not detected correctly.//// Revision 1.26  2001/12/20 13:28:27  mohor// Missing declaration of rf_push_q fixed.//// Revision 1.25  2001/12/20 13:25:46  mohor// rx push changed to be only one cycle wide.//// Revision 1.24  2001/12/19 08:03:34  mohor// Warnings cleared.//// Revision 1.23  2001/12/19 07:33:54  mohor// Synplicity was having troubles with the comment.//// Revision 1.22  2001/12/17 14:46:48  mohor// overrun signal was moved to separate block because many sequential lsr// reads were preventing data from being written to rx fifo.// underrun signal was not used and was removed from the project.//// Revision 1.21  2001/12/13 10:31:16  mohor// timeout irq must be set regardless of the rda irq (rda irq does not reset the// timeout counter).//// Revision 1.20  2001/12/10 19:52:05  gorban// Igor fixed break condition bugs//// Revision 1.19  2001/12/06 14:51:04  gorban// Bug in LSR[0] is fixed.// All WISHBONE signals are now sampled, so another wait-state is introduced on all transfers.//// Revision 1.18  2001/12/03 21:44:29  gorban// Updated specification documentation.// Added full 32-bit data bus interface, now as default.// Address is 5-bit wide in 32-bit data bus mode.// Added wb_sel_i input to the core. It's used in the 32-bit mode.// Added debug interface with two 32-bit read-only registers in 32-bit mode.// Bits 5 and 6 of LSR are now only cleared on TX FIFO write.// My small test bench is modified to work with 32-bit mode.//// Revision 1.17  2001/11/28 19:36:39  gorban// Fixed: timeout and break didn't pay attention to current data format when counting time//// Revision 1.16  2001/11/27 22:17:09  gorban// Fixed bug that prevented synthesis in uart_receiver.v//// Revision 1.15  2001/11/26 21:38:54  gorban// Lots of fixes:// Break condition wasn't handled correctly at all.// LSR bits could lose their values.// LSR value after reset was wrong.// Timing of THRE interrupt signal corrected.// LSR bit 0 timing corrected.//// Revision 1.14  2001/11/10 12:43:21  gorban// Logic Synthesis bugs fixed. Some other minor changes//// Revision 1.13  2001/11/08 14:54:23  mohor// Comments in Slovene language deleted, few small fixes for better work of// old tools. IRQs need to be fix.//// Revision 1.12  2001/11/07 17:51:52  gorban// Heavily rewritten interrupt and LSR subsystems.// Many bugs hopefully squashed.//// Revision 1.11  2001/10/31 15:19:22  gorban// Fixes to break and timeout conditions//// Revision 1.10  2001/10/20 09:58:40  gorban// Small synopsis fixes//// Revision 1.9  2001/08/24 21:01:12  mohor// Things connected to parity changed.// Clock devider changed.//// Revision 1.8  2001/08/23 16:05:05  mohor// Stop bit bug fixed.// Parity bug fixed.// WISHBONE read cycle bug fixed,// OE indicator (Overrun Error) bug fixed.// PE indicator (Parity Error) bug fixed.// Register read bug fixed.//// Revision 1.6  2001/06/23 11:21:48  gorban// DL made 16-bit long. Fixed transmission/reception bugs.//// Revision 1.5  2001/06/02 14:28:14  gorban// Fixed receiver and transmitter. Major bug fixed.//// Revision 1.4  2001/05/31 20:08:01  gorban// FIFO changes and other corrections.//// Revision 1.3  2001/05/27 17:37:49  gorban// Fixed many bugs. Updated spec. Changed FIFO files structure. See CHANGES.txt file.//// Revision 1.2  2001/05/21 19:12:02  gorban// Corrected some Linter messages.//// Revision 1.1  2001/05/17 18:34:18  gorban// First 'stable' release. Should be sythesizable now. Also added new header.//// Revision 1.0  2001-05-17 21:27:11+02  jacob// Initial revision////// synopsys translate_off`include "timescale.v"// synopsys translate_on`include "uart_defines.v"module uart_receiver (clk, wb_rst_i, lcr, rf_pop, srx_pad_i, enable, 	counter_t, rf_count, rf_data_out, rf_error_bit, rf_overrun, rx_reset, lsr_mask, rstate, rf_push_pulse);input				clk;input				wb_rst_i;input	[7:0]	lcr;input				rf_pop;input				srx_pad_i;input				enable;input				rx_reset;input       lsr_mask;output	[9:0]			counter_t;output	[`UART_FIFO_COUNTER_W-1:0]	rf_count;output	[`UART_FIFO_REC_WIDTH-1:0]	rf_data_out;output				rf_overrun;output				rf_error_bit;output [3:0] 		rstate;output 				rf_push_pulse;reg	[3:0]	rstate;reg	[3:0]	rcounter16;reg	[2:0]	rbit_counter;reg	[7:0]	rshift;			// receiver shift registerreg		rparity;		// received parityreg		rparity_error;reg		rframing_error;		// framing error flagreg		rbit_in;reg		rparity_xor;reg	[7:0]	counter_b;	// counts the 0 (low) signalsreg   rf_push_q;// RX FIFO signalsreg	[`UART_FIFO_REC_WIDTH-1:0]	rf_data_in;wire	[`UART_FIFO_REC_WIDTH-1:0]	rf_data_out;wire      rf_push_pulse;reg				rf_push;wire				rf_pop;wire				rf_overrun;wire	[`UART_FIFO_COUNTER_W-1:0]	rf_count;wire				rf_error_bit; // an error (parity or framing) is inside the fifowire 				break_error = (counter_b == 0);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线看国产一区二区| 一本大道久久a久久精二百| 亚洲午夜激情网页| 椎名由奈av一区二区三区| 久久久国产精品午夜一区ai换脸| 欧美日韩国产一级片| 欧美三级蜜桃2在线观看| 91麻豆福利精品推荐| 99re这里只有精品首页| 成人精品国产一区二区4080| 成人激情小说网站| 高清av一区二区| 成人av在线网站| 欧美无砖砖区免费| 欧美一级片在线| 日韩小视频在线观看专区| 日韩精品一区二区三区视频在线观看| 国产偷国产偷精品高清尤物| 最新成人av在线| 五月激情六月综合| 成人毛片视频在线观看| 欧美精品一区二区高清在线观看| 日本亚洲最大的色成网站www| 一区二区三区四区在线播放| 国产成人自拍网| 国产成人在线免费观看| 成a人片亚洲日本久久| 91麻豆成人久久精品二区三区| 91老司机福利 在线| 欧美日韩高清一区二区三区| 欧美一级视频精品观看| 日本一区二区高清| 亚洲一区免费在线观看| 美女在线观看视频一区二区| 成人性生交大片免费看中文 | 国产91对白在线观看九色| 成人一区二区视频| 色菇凉天天综合网| 欧美电影免费观看高清完整版在线 | 麻豆精品蜜桃视频网站| 成人小视频免费观看| 在线观看av不卡| 久久综合九色综合欧美98| 亚洲精品国产一区二区精华液| 亚洲综合一区二区精品导航| 麻豆精品视频在线观看| 91久久精品一区二区三区| 国产亚洲一区二区三区四区| 中文字幕在线播放不卡一区| 欧美aaaaaa午夜精品| 成人av在线一区二区三区| 精品理论电影在线| 午夜免费久久看| 成人午夜av电影| 精品国产免费久久| 亚洲一区在线观看免费| 国产精品综合视频| 日韩一级黄色大片| 亚洲国产成人精品视频| 国产sm精品调教视频网站| 51精品国自产在线| 亚洲一区二区视频在线| 成人激情开心网| 中文无字幕一区二区三区| 免费的成人av| 欧美一区二区三区在线观看| 亚洲激情在线激情| 成人99免费视频| 中文乱码免费一区二区| 国产91精品在线观看| 久久久av毛片精品| 国产乱码精品一区二区三| 日韩欧美中文字幕制服| 亚洲va欧美va天堂v国产综合| 色婷婷久久久久swag精品| 国产精品欧美综合在线| 成人18视频在线播放| 中国av一区二区三区| 成人美女视频在线看| 中文字幕一区二区视频| 成人18精品视频| 亚洲乱码中文字幕| 在线看日本不卡| 亚洲123区在线观看| 欧美一区二区三区的| 麻豆精品视频在线| 久久久久久**毛片大全| 风间由美一区二区三区在线观看| 欧美激情资源网| 国产91丝袜在线播放| 亚洲免费视频中文字幕| 欧美无砖砖区免费| 欧美aⅴ一区二区三区视频| 日韩免费一区二区三区在线播放| 久久精品99国产精品日本| 精品国产在天天线2019| 97成人超碰视| 亚洲成人免费视| 欧美va在线播放| 成人综合激情网| 亚洲一线二线三线视频| 日韩欧美国产一区二区在线播放| 国产精品中文字幕一区二区三区| 国产日韩欧美制服另类| 99久久精品免费| 亚洲va在线va天堂| 日本一区二区三区视频视频| 91久久精品午夜一区二区| 奇米精品一区二区三区在线观看一| 久久久www成人免费毛片麻豆| 99麻豆久久久国产精品免费优播| 亚洲mv在线观看| 国产欧美日本一区二区三区| 欧美日韩国产综合视频在线观看 | 国产日韩v精品一区二区| 色综合一区二区三区| 精品亚洲国内自在自线福利| 1000部国产精品成人观看| 日韩欧美一区中文| 99视频精品在线| 国产乱码精品一品二品| 午夜久久久久久久久| 国产精品免费视频观看| 在线不卡一区二区| 一本色道a无线码一区v| 国产尤物一区二区在线| 天天综合天天做天天综合| 中文字幕一区二区三区精华液| 777久久久精品| 一本到一区二区三区| 国产成人8x视频一区二区| 麻豆精品国产传媒mv男同 | 91超碰这里只有精品国产| 国产精品一区二区在线观看不卡| 亚洲午夜激情av| 中文字幕亚洲成人| 国产精品久久看| 精品国产乱码久久久久久图片 | 粉嫩一区二区三区在线看| 日韩一区欧美二区| 一区二区三区四区在线播放| 国产精品久久久久桃色tv| 久久精品亚洲乱码伦伦中文| 日韩一级黄色大片| 在线播放中文字幕一区| 欧美日韩一区二区三区视频| 91美女在线看| 成人av免费在线播放| 高清国产一区二区三区| 欧美在线一区二区| va亚洲va日韩不卡在线观看| 国产成人丝袜美腿| 丁香六月久久综合狠狠色| 国产传媒日韩欧美成人| 国产一区二区在线观看视频| 精品亚洲aⅴ乱码一区二区三区| 男女男精品视频网| 久久国产精品99久久久久久老狼 | 在线不卡免费av| 欧美老肥妇做.爰bbww| 欧美日韩一卡二卡三卡| 欧美精品在线一区二区三区| 欧美午夜理伦三级在线观看| 欧美性极品少妇| 欧美精品日韩综合在线| 日韩一区二区高清| 精品国产免费久久 | 成人av电影观看| 99久久精品国产观看| 欧美三级蜜桃2在线观看| aaa欧美日韩| www.99精品| 一区二区三区蜜桃| 亚洲欧美自拍偷拍| 亚洲激情图片小说视频| 国产欧美一区二区在线| 国产精品久久久久久久蜜臀| 日韩一卡二卡三卡| 欧美成人猛片aaaaaaa| 56国语精品自产拍在线观看| 欧美浪妇xxxx高跟鞋交| 欧美日韩中文字幕一区| 日韩精品一区二区三区swag| 日韩欧美国产一区在线观看| 国产精品自在欧美一区| www..com久久爱| 欧美图片一区二区三区| 日韩精品一区二区在线| 国产精品久久久久久久久快鸭| 亚洲精品欧美专区| 麻豆免费看一区二区三区| 国产老妇另类xxxxx| 在线精品视频小说1| 欧美不卡一区二区| 亚洲免费观看高清在线观看| 日韩不卡免费视频| eeuss鲁一区二区三区| 欧美一级欧美一级在线播放| 欧美激情在线看| 日本成人在线视频网站|