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

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

?? intface.vhd

?? UART的rs232通信接口VHDL語言
?? VHD
?? 第 1 頁 / 共 3 頁
字號:
-- --------------------------------------------------------------------
-- >>>>>>>>>>>>>>>>>>>>>>>>> COPYRIGHT NOTICE <<<<<<<<<<<<<<<<<<<<<<<<<
-- --------------------------------------------------------------------
-- Copyright (c) 2001 by Lattice Semiconductor Corporation
-- --------------------------------------------------------------------
--
-- Permission:
--
--   Lattice Semiconductor grants permission to use this code for use
--   in synthesis for any Lattice programmable logic product.  Other
--   use of this code, including the selling or duplication of any
--   portion is strictly prohibited.
--
-- Disclaimer:
--
--   This VHDL or Verilog source code is intended as a design reference
--   which illustrates how these types of functions can be implemented.
--   It is the user's responsibility to verify their design for
--   consistency and functionality through the use of formal
--   verification methods.  Lattice Semiconductor provides no warranty
--   regarding the use or functionality of this code.
--
-- --------------------------------------------------------------------
--           
--                     Lattice Semiconductor Corporation
--                     5555 NE Moore Court
--                     Hillsboro, OR 97214
--                     U.S.A
--
--                     TEL: 1-800-Lattice (USA and Canada)
--                          408-826-6000 (other locations)
--
--                     web: http://www.latticesemi.com/
--                     email: techsupport@latticesemi.com
--
-- --------------------------------------------------------------------
--
--  Project:           Universal Asynchronous Receiver Transmitter
--  File:              intface.vhd
--  Title:             intface
--  Design Library:    IEEE
--  Dependencies:      IEEE.std_logic_1164.all
--                     IEEE.std_logic_unsigned.all
--  Description:       VHDL File for UART Controller Interface Module. 
--
--    <Global reset and clock>
--      Reset       : Master reset
--      Clk16X      : UART internal clock
--
--    <Processor interface>
--      A           : Address bus
--      DIN         : Data bus input
--      DOUT        : Data but output
--      ADSn        : Address strobe
--      CS          : Chip Select
--      RDn         : Read
--      WRn         : Write
--      DDIS        : Driver disable
--      INTR        : Interrupt
--
--    <Registers>
--      RBR         : Receiver Buffer Register
--      THR         : Transmitter Holding Register
--      MSR         : Modem Status Register
--      MCR         : Modem Control Register
--
--    <Rising edge of registers read/write strobes>
--      RbrRDn_re   : one Clk16X width pulse indicating rising edge of RbrRDn_r
--      ThrWRn_re   : one Clk16X width pulse indicating rising edge of ThrWRn_r
--      LsrRDn_re   : one Clk16X width pulse indicating rising edge of LsrRDn_r
--      MsrRDn_re   : one Clk16X width pulse indicating rising edge of MsrRDn_r
--
--    <Receiver/Transmitter control>
--      Databits    : "00"=5-bit, "01"=6-bit, "10"=7-bit, "11"=8-bit
--      Stopbits    : "00"=1-bit, "01"=1.5-bit(5-bit data),
--                    "10"=2-bit(6,7,8-bit data)
--      ParityEnable: '0'=Parity Bit Enable, '1'=Parity Bit Disable
--      ParityEven  : '0'=Even Parity Selected, '1'=Odd Parity Selected
--      ParityStick : '0'=Stick Parity Disable, '1'=Stick Parity Enable
--      TxBreak     : '0'=Disable BREAK assertion, '1'=Assert BREAK
--
--    <Receiver/Transmitter status>
--      RxRDY       : RBR data is ready to be read
--      OverrunErr  : Overrun error
--      ParityErr   : Parity error
--      FrameErr    : Frame error
--      BreakInt    : BREAK interrupt
--      THRE        : THR is empty
--      TEMT        : Both THR and TSR are empty
--
-- --------------------------------------------------------------------
--
-- Revision History :
-- --------------------------------------------------------------------
--   Ver  :| Author            :| Mod. Date :| Changes Made:
--   V1.1 :| J.H.              :| 06/19/01  :| Support ispMACH 5000VG
--   V1.0 :| D.W. & J.H.       :| 06/01/01  :| First Release
-- --------------------------------------------------------------------
--
--
------------------------------------------------------------------------------
--   GENERAL REGISTER:                                                      --
--------------------------                                                  --
--   =================================================================      --
--  |  ADDRESS A[2:0]   |            REGISTER             | IMPLEMENT |     --
--   =================================================================      --
--  | $000 (READ)       | RBR (RECEIVER BUFFER REGISTER)  |  Y        |     --
--   -----------------------------------------------------------------      --
--  | $000 (WRITE)      | THR (TRANSMIT HOLD REGISTER)    |  Y        |     --
--   =================================================================      --
--  | $001 (WRITE)      | IER (INTERRUPT ENABLE REGISTER) |  Y        |     --
--   =================================================================      --
--  | $010 (READ)       | IIR (INTERRUPT ID REGISTER)     |  Y        |     --
--   =================================================================      --
--  | $011 (WRITE)      | LCR (LINE CONTROL REGISTER)     |  Y        |     --
--   =================================================================      --
--  | $100 (WRITE)      | MCR (MODEM CONTROL REGISTER)    |  Y        |     --
--   =================================================================      --
--  | $101 (READ)       | LSR (LINE STATUS REGISTER)      |  Y        |     --
--   =================================================================      --
--  | $110 (READ)       | MSR (MODEM STATUS REGISTER)     |  Y        |     --
--   =================================================================      --
--  | $111 (READ/WRITE) | SCR (SCRATCHPAD REGISTER)       |  N        |     --
--   =================================================================      --
--                                                                          --
--  NOTE:  By using Lattice ISP solution, the Baud Rate can be
--         re-configured even when the device is soldered on the board.     --
--         Therefore the Baud Rate register set is omitted.                 --
--                                                                          --
--         Because each Lattice ispLSI device has a embedded UES register,  --
--         the Scratchpad register can be omitted too.                      --
--                                                                          --
------------------------------------------------------------------------------
--  REGISTER BIT FIELDS:                                                    --
----------------------------                                                --
--                                                                          --
--    ============================                                          --
--   | LSR (LINE STATUS REGISTER) |                                         --
--    ==============================================================        --
--   |  0    | TEMT | THRE  |  BI   |  FE   |  PE   |  OE   | RxRDY |       --
--    ==============================================================        --
--                                                                          --
--    RxRDY : RECEIVE DATA READY                                            --
--    OE    : OVERRUN ERROR                                                 --
--    PE    : PARITY ERROR                                                  --
--    FE    : FRAMING ERROR                                                 --
--    BI    : BREAK INTERRUPT                                               --
--    THRE  : TRASMITTER HOLDING REGISTER EMPTY                             --
--    TEMT  : TRASMITTER EMPTY                                              --
--                                                                          --
--                                                                          --
--    RxRDY: The data received flag is set to 1 at the successful           --
--           completion of a byte receive cycle.  It is automatically       --
--           cleared to 0 when the Rx Data Register is read.  If a new byte --
--           is received before an Rx Data Register read, the over run flag --
--           will be set to 1. If (SR) status option is set the UART will   --
--           ignore all further incoming bytes until the Rx Data Register   --
--           has been read.                                                 --
--                                                                          --
--    OE:    It indicates that the data in RBR was not read by the CPU      --
--           before the next character arrived, thereby destroying the the  --
--           previous character. The OE indicator is set to 1 upon          --
--           detection of an overrun condition and reset whenever the CPU   --
--           reads the contents of LSR                                      --
--                                                                          --
--    PE:    The parity error flag is set to 1 if an invalid parity bit is  --
--           encountered. It is automatically cleared to 0 when the CPU     --
--           reads the contents of Line Status Register.                    --
--                                                                          --
--    FE:    The framing error flag is set to 1 if an invalid stop bit is   --
--           encountered. It is automatically cleared to 0 when the CPU     --
--           reads the contents of Line Status Register.                    --
--                                                                          --
--    BI:    The start bit error flag is set to 1 if an invalid start bit   --
--           is encountered. It is automatically cleared to 0 when the CPU  --
--           reads the contents of Line Status Register.                    --
--                                                                          --
--    THRE:  The Transmit Holding Register Empty flag indicate that the     --
--           UART is ready to accept a new character for transmission. In   --
--           addition this bit cause the UART issue an interrupt to the CPU --
--           when the THRE interrupt enable is set to high                  --
--                                                                          --
--    TEMT:  The Transmitter Empty indicator is set to '1' whenever         --
--           whenever the Transmitter Holding Register and the Transmitter  --
--           Shifting Register are both empty. It is reset to '0' whenever  --
--           either the Transmitter Holding register or Transmitter Shift   --
--           Register contains a character                                  --
--                                                                          --
--    ================================                                      --
--   | LCR (LINE CONTROL REGISTER)    |                                     --
--    ===============================================================       --
--   |  DLAB |  SB   |  SP   | EPS   |  PEN  |  STB  | WLS1  | WLS0  |      --
--    ===============================================================       --
--                                                                          --
--    WLS1-WLS0:  WORD LENGTH SELECT  00 = 5 DATA BITS                      --
--                                    01 = 6 DATA BITS                      --
--                                    10 = 7 DATA BITS                      --
--                                    11 = 8 DATA BITS                      --
--                                                                          --
--    STB:  NUMBER OF STOP BITS  0 = 1 STOP BIT (DEFAULT)                   --
--                               1 = 1.5 STOP BITS (DATA LENGTH 5 BITS)     --
--                               1 = 2 STOP BITS   (DATA LENGTH 6,7,8 BITS) --
--                                                                          --
--    PEN:  PARITY ENABLE                                                   --
--    EPS:  EVEN PARITY SELECT                                              --
--    SP:   SET PARITY                                                      --
--                                  SP EPS PEN      PARITY SELECTION        --
--                                  X   X   0       NO PARITY               --
--                                  0   0   1       ODD PARITY              --
--                                  0   1   1       EVEN PARITY             --
--                                  1   0   1       FORCE PARITY "1"        --
--                                  1   1   1       FORCE PARITY "0"        --
--                                                                          --
--    SB:   SET BREAK When enable the Break control bit causes a break      --
--          condition to be transmitted (the TX output is forced to a logic --
--          0 state). This condition exits until disabled by resetting this --

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕亚洲不卡| 欧美成人女星排行榜| 国产精品电影一区二区| 成人午夜免费电影| 亚洲欧洲日韩一区二区三区| 91蜜桃婷婷狠狠久久综合9色| 亚洲欧美日韩国产综合在线 | 久久精品日产第一区二区三区高清版| 麻豆精品在线视频| 久久久久久久久一| 972aa.com艺术欧美| 亚洲va韩国va欧美va| 欧美变态口味重另类| 国产大陆亚洲精品国产| 亚洲精品五月天| 91精品国产欧美一区二区成人| 狠狠v欧美v日韩v亚洲ⅴ| 中文字幕av不卡| 欧美日韩激情在线| 国产麻豆9l精品三级站| 亚洲欧美日韩国产一区二区三区| 欧美日韩三级在线| 国产精品一区三区| 一二三区精品福利视频| 欧美精品一区二区高清在线观看| av一二三不卡影片| 日韩精品国产欧美| 亚洲视频精选在线| 日韩欧美国产精品一区| 99久久精品99国产精品| 日本aⅴ精品一区二区三区| 国产精品嫩草99a| 欧美巨大另类极品videosbest| 国产久卡久卡久卡久卡视频精品| 亚洲另类在线视频| 久久久久国产精品人| 欧美视频中文字幕| 国产91精品免费| 肉丝袜脚交视频一区二区| 国产人成一区二区三区影院| 欧美日韩精品一区二区三区蜜桃| 国产不卡在线一区| 看电视剧不卡顿的网站| 亚洲精选视频在线| 久久免费看少妇高潮| 欧美年轻男男videosbes| aa级大片欧美| 国产麻豆成人传媒免费观看| 日本一不卡视频| 亚洲自拍偷拍网站| 国产精品乱码一区二区三区软件| 日韩一级黄色片| 欧美无人高清视频在线观看| 成人高清视频免费观看| 国产一区91精品张津瑜| 亚洲成人动漫av| 一区二区在线观看视频| 国产精品不卡视频| 国产欧美精品在线观看| 久久综合久久久久88| 欧美一区二区日韩一区二区| 欧美怡红院视频| 欧美无乱码久久久免费午夜一区| 99精品视频免费在线观看| 国产东北露脸精品视频| 国内不卡的二区三区中文字幕| 日韩影院精彩在线| 五月婷婷久久综合| 亚洲高清视频中文字幕| 亚洲自拍偷拍欧美| 亚洲午夜av在线| 亚洲图片有声小说| 午夜一区二区三区视频| 午夜免费欧美电影| 日韩精品视频网站| 美女国产一区二区| 精品一区二区三区在线播放| 免费成人小视频| 国产自产视频一区二区三区| 激情文学综合丁香| 国产精品一区二区久久精品爱涩| 国产aⅴ综合色| www.成人在线| 欧美少妇一区二区| 91精品国产色综合久久| 欧美成人官网二区| 久久久精品影视| 国产精品国产三级国产普通话三级| 中文字幕第一区第二区| 一区在线观看免费| 亚洲午夜私人影院| 老司机午夜精品| 成人激情免费电影网址| 色综合天天性综合| 欧美精品一级二级| 欧美精品一区二区三区久久久| 欧美激情中文不卡| 亚洲国产日韩综合久久精品| 日产精品久久久久久久性色| 国产九色sp调教91| 色老头久久综合| 日韩午夜激情免费电影| 欧美国产一区二区| 亚洲午夜久久久久| 国产精品 欧美精品| 色一情一乱一乱一91av| 日韩精品一区二区三区蜜臀| 亚洲国产精品成人综合| 亚洲一区二区三区激情| 久久99久久99精品免视看婷婷| 成人av免费在线观看| 欧美三日本三级三级在线播放| 日韩视频免费观看高清完整版| 国产女人18水真多18精品一级做| 亚洲精品成人天堂一二三| 欧美影视一区二区三区| 日韩免费性生活视频播放| 亚洲欧美在线视频| 麻豆视频观看网址久久| 色综合天天在线| 久久日韩粉嫩一区二区三区| 亚洲成人av福利| 成人午夜伦理影院| 精品国产露脸精彩对白| 一区二区三区四区亚洲| 国产精品夜夜嗨| 91精品国产91久久久久久一区二区| 欧美激情一区二区三区| 美国十次综合导航| 欧美性一级生活| 国产精品久久二区二区| 蓝色福利精品导航| 在线观看91av| 亚洲精品水蜜桃| 99热精品国产| 久久蜜桃av一区二区天堂| 日韩精品乱码av一区二区| 色悠悠久久综合| 国产精品国产三级国产aⅴ无密码 国产精品国产三级国产aⅴ原创 | 成人在线视频一区二区| 日韩午夜激情av| 亚洲一区二区美女| 99re成人在线| 国产欧美日韩在线| 国产精选一区二区三区| 精品国产精品网麻豆系列| 亚洲国产成人av网| 欧美做爰猛烈大尺度电影无法无天| 中文字幕一区二区三区不卡在线| 黄色日韩网站视频| 精品美女一区二区三区| 六月丁香综合在线视频| 91超碰这里只有精品国产| 亚洲国产视频直播| 欧美日韩一二三| 亚洲高清在线精品| 欧美日韩一区二区三区高清 | 日韩不卡一二三区| 欧美色区777第一页| 亚洲久草在线视频| 色婷婷av一区| 亚洲综合在线视频| 成人免费在线播放视频| 99久久综合99久久综合网站| 国产精品国产自产拍高清av | 欧美三级视频在线观看| 亚洲综合视频在线观看| 91久久精品网| 亚洲国产乱码最新视频| 欧美日韩国产乱码电影| 亚洲成人你懂的| 51精品视频一区二区三区| 日韩精品一二三| 日韩欧美亚洲国产另类| 极品少妇xxxx精品少妇| 2021国产精品久久精品| 成人性生交大片免费看在线播放 | 水蜜桃久久夜色精品一区的特点 | 91麻豆免费在线观看| 国产精品你懂的在线欣赏| 91女厕偷拍女厕偷拍高清| 尤物av一区二区| 欧美一级片在线观看| 加勒比av一区二区| 国产精品毛片久久久久久久| 91色.com| 日韩经典一区二区| 久久久www成人免费毛片麻豆| 成人激情动漫在线观看| 亚洲国产日韩综合久久精品| 欧美大片日本大片免费观看| 国产美女精品在线| 亚洲蜜桃精久久久久久久| 91麻豆精品国产自产在线观看一区| 精品一区中文字幕| 中文字幕一区二区三| 欧美日韩高清一区二区三区| 国产精品一区二区91| 一区二区三区成人在线视频| 精品成人a区在线观看|