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

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

?? intface.vhd

?? 利用VHDL語(yǔ)言開(kāi)發(fā)一個(gè)UART的源代碼
?? VHD
?? 第 1 頁(yè) / 共 3 頁(yè)
字號(hào):
-- --------------------------------------------------------------------
-- >>>>>>>>>>>>>>>>>>>>>>>>> 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 --

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品亚洲综合一区在线观看| 中文在线一区二区| 国产不卡免费视频| 日韩一区国产二区欧美三区| 99精品热视频| 天天色 色综合| 国产婷婷一区二区| 欧美主播一区二区三区美女| 国内精品在线播放| 洋洋av久久久久久久一区| 欧美肥胖老妇做爰| 岛国av在线一区| 日韩精品视频网| 国产精品国产三级国产aⅴ无密码 国产精品国产三级国产aⅴ原创 | 天天做天天摸天天爽国产一区| 精品国产1区2区3区| 在线免费亚洲电影| 国产丶欧美丶日本不卡视频| 亚洲香肠在线观看| 国产女主播一区| 欧美一级片在线| 91免费小视频| 国产精品99久久久久久久vr| 亚洲第一搞黄网站| 中文字幕一区二区三区在线播放 | 日韩精品免费专区| 亚洲国产精品成人综合色在线婷婷 | 99re热视频这里只精品| 九九**精品视频免费播放| 一区二区三区色| 国产日韩精品一区二区三区在线| 欧美肥妇free| 色偷偷成人一区二区三区91 | 亚洲免费看黄网站| 国产亚洲综合av| 91精品国产综合久久久久久漫画| 色综合中文字幕国产 | 国产综合久久久久久鬼色 | 欧美一区二区视频在线观看2020 | 欧美国产97人人爽人人喊| 欧美一二三区在线观看| 欧美三级乱人伦电影| 91麻豆123| 懂色av一区二区在线播放| 久久狠狠亚洲综合| 亚洲欧洲精品天堂一级| 国产女主播一区| 久久夜色精品国产欧美乱极品| 日韩一区二区精品葵司在线| 欧美性猛交一区二区三区精品| 95精品视频在线| 成人一区二区三区视频在线观看| 久久99久久99| 日韩在线一区二区三区| 亚洲大型综合色站| 亚洲综合网站在线观看| 亚洲欧美一区二区视频| 亚洲精选免费视频| 亚洲一级二级三级| 日本不卡一区二区三区高清视频| 午夜av一区二区| 亚洲综合激情网| 亚洲第一电影网| 偷偷要91色婷婷| 激情综合色丁香一区二区| 激情欧美一区二区| 成人免费视频播放| 99精品视频在线免费观看| 欧日韩精品视频| 欧美一级免费大片| 欧美日韩国产美| 久久亚洲捆绑美女| 国产欧美视频一区二区三区| 亚洲精品高清在线观看| 亚洲综合在线免费观看| 美女视频免费一区| 国产一区二区三区电影在线观看| jlzzjlzz欧美大全| 欧美午夜视频网站| 日韩欧美国产综合| 综合久久综合久久| 亚洲成人久久影院| 国产精品99久久久久| 91亚洲国产成人精品一区二三| 欧美伦理视频网站| 欧美精品一区二区三区很污很色的 | 日韩电影免费在线看| 国产成人小视频| 91污在线观看| 欧美videos中文字幕| 中文字幕 久热精品 视频在线| 亚洲欧洲色图综合| 蜜桃久久精品一区二区| 国产99久久久国产精品免费看| 91香蕉视频污在线| 日韩欧美国产三级| 一区二区三区四区视频精品免费| 日本特黄久久久高潮| 久久99精品久久久久久| av网站免费线看精品| 欧美日韩日本视频| 亚洲视频图片小说| 美洲天堂一区二卡三卡四卡视频| 91免费观看视频在线| 日韩欧美一区二区免费| 亚洲精品免费电影| 精品一区二区免费视频| 欧美日韩一区二区欧美激情| 亚洲精品一区二区三区福利| 亚洲曰韩产成在线| 成人午夜视频在线| 国产一二精品视频| 91精品福利在线一区二区三区| 欧美经典一区二区| 麻豆久久一区二区| 色激情天天射综合网| 国产精品视频看| 美女网站色91| bt7086福利一区国产| 国产日本欧美一区二区| 日本在线播放一区二区三区| 91在线精品秘密一区二区| 精品奇米国产一区二区三区| 一区二区三区中文字幕精品精品| 国产精品66部| 欧美日韩国产三级| 亚洲国产美女搞黄色| 不卡欧美aaaaa| 久久一日本道色综合| 奇米影视一区二区三区小说| 51精品秘密在线观看| 亚洲人成网站在线| 91在线一区二区三区| 国产精品伦一区| 国产美女视频91| 欧美tk—视频vk| 一区二区免费在线播放| 91亚洲午夜精品久久久久久| 国产欧美一区视频| 床上的激情91.| 久久久精品tv| 岛国精品在线观看| 午夜欧美一区二区三区在线播放| 色播五月激情综合网| 中文字幕欧美一区| 日本道免费精品一区二区三区| 欧美国产在线观看| 国产成人精品一区二区三区四区| 欧美mv和日韩mv国产网站| 日本aⅴ免费视频一区二区三区| 久久久综合视频| 亚洲色图一区二区三区| 成人小视频在线观看| 国产无遮挡一区二区三区毛片日本| 美女视频黄久久| 欧美精品一区二区三区在线播放| 轻轻草成人在线| 精品日产卡一卡二卡麻豆| 日韩**一区毛片| 欧美精品黑人性xxxx| 亚洲午夜视频在线观看| 欧美中文字幕一二三区视频| 亚洲一区在线视频| 在线欧美一区二区| 亚洲成av人影院在线观看网| 欧美日韩亚洲综合在线 | 国产美女一区二区| 日韩一级免费观看| 精品一区二区三区免费观看| 欧美激情综合五月色丁香小说| 国产成人高清在线| 亚洲美女在线一区| 5566中文字幕一区二区电影| 蜜臀av国产精品久久久久 | 国产精品三级电影| 99在线精品免费| 亚洲电影你懂得| 国产日韩欧美精品综合| 色婷婷综合久久久久中文| 亚洲专区一二三| 日韩精品一区二区三区在线观看| 国产一区二区三区| 欧美高清在线精品一区| 777色狠狠一区二区三区| 麻豆极品一区二区三区| 国产午夜一区二区三区| 91免费视频观看| 日本中文在线一区| 国产精品夫妻自拍| 欧美三级视频在线播放| 精品一区二区三区的国产在线播放 | 一本色道久久综合亚洲aⅴ蜜桃| 午夜精品久久久久久久99樱桃 | 国产一区二区三区视频在线播放| 国产视频视频一区| 91视频国产资源| 日av在线不卡| 亚洲区小说区图片区qvod| 欧美高清精品3d| 成人免费观看视频|