• verilogcase > 通用串行异步收发器8251的Verilog
  • 通用串行异步收发器8251的Verilog

    免费下载 下载该文档 文档格式:DOC   更新时间:2005-12-02   下载次数:0   点击次数:4
    文档基本属性
    文档语言:Simplified Chinese
    文档格式:doc
    文档作者:hzg
    关键词:
    主题:
    备注:
    点击这里显示更多文档属性

    /*****************************************************************************
    通用串行异步收发器8251的Verilog HDL源代码
    ******************************************************************************/
    module I8251A ( dbus, rcd, gnd, txc_, write_, chipsel_, comdat_,
    read_, rxrdy, txrdy, syndet, cts_, txe, txd,
    clk, reset, dsr_,rts_,dtr_,rxc_,vcc);

    /* timing constants ,for A. C. timing check, only non-zero times are
    specified,in nano-sec */
    /* read cycle */
    `define TRR 250
    `define TRD 200
    `define TDF 100 // max. time used
    /* write cycle */
    `define TWW 250
    `define TDW 150
    `define TWD 20
    `define TRV 6 // in terms of clock cycles
    /* other timing */
    `define TTXRDY 8 // 8 clock cycle

    input rcd, //receive data
    rxc_, //receive clock
    txc_, //transmit clock
    chipsel_, //chip selected when low
    comdat_, //command /data_ select
    read_,write_,
    dsr_, // data set ready
    cts_, // clear to send
    reset, // reset when high
    clk, // at least 30 times of the transmit/rexeibe data bit rates
    gnd,
    vcc;
    output rxrdy, //receive data ready when high
    txd, //transmit data lone
    txrdy, //transmit buffer ready to accept another byte to transfer
    txe, // transmit buffer empty
    rts_, // request to send
    dtr_; // data terminal ready

    下一页

  • 下载地址 (推荐使用迅雷下载地址,速度快,支持断点续传)
  • 免费下载 DOC格式下载
  • 您可能感兴趣的
  • verilogcase  verilog中case语句  verilog  veriloghdl  systemverilog  verilog语言  verilog教程  异步fifoverilog  全加器verilog  veriloggenerate