好用的Verilog串口UART程序
[09-12 18:30:57] 来源:http://www.88dzw.com EDA/PLD 阅读:8367次
文章摘要:==//-// Design Name : uart // File Name : uart.v// Function : Simple UART// Coder : Deepak Kumar Tala//-module uart (reset ,txclk ,ld_tx_data ,tx_data ,tx_enable ,tx_out ,tx_empty ,rxclk ,uld_rx_data ,rx_data ,rx_enable
好用的Verilog串口UART程序,标签:eda技术,eda技术实用教程,http://www.88dzw.com==========================================================================
//-----------------------------------------------------
// Design Name : uart
// File Name : uart.v
// Function : Simple UART
// Coder : Deepak Kumar Tala
//-----------------------------------------------------
module uart (
reset ,
txclk ,
ld_tx_data ,
tx_data ,
tx_enable ,
tx_out ,
tx_empty ,
rxclk ,
uld_rx_data ,
rx_data ,
rx_enable ,
rx_in ,
rx_empty
);
// Port declarations
input reset ;
input txclk ;
input ld_tx_data ;
input [7:0] tx_data ;
input tx_enable ;
output tx_out ;
output tx_empty ;
input rxclk ;
input uld_rx_data ;
output [7:0] rx_data ;
input rx_enable ;
input rx_in ;
output rx_empty ;
// Internal Variables
reg [7:0] tx_reg ;
reg tx_empty ;
reg tx_over_run ;
reg [3:0] tx_cnt ;
reg tx_out ;
reg [7:0] rx_reg ;
reg [7:0] rx_data ;
reg [3:0] rx_sample_cnt ;
reg [3:0] rx_cnt ;
reg rx_frame_err ;
reg rx_over_run ;
reg rx_empty ;
《好用的Verilog串口UART程序》相关文章
- › 好用的Verilog串口UART程序
- 在百度中搜索相关文章:好用的Verilog串口UART程序
- 在谷歌中搜索相关文章:好用的Verilog串口UART程序
- 在soso中搜索相关文章:好用的Verilog串口UART程序
- 在搜狗中搜索相关文章:好用的Verilog串口UART程序