URL
https://opencores.org/ocsvn/z80control/z80control/trunk
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
12 |
tylerapohl |
//Legal Notice: (C)2006 Altera Corporation. All rights reserved. Your
|
2 |
|
|
//use of Altera Corporation's design tools, logic functions and other
|
3 |
|
|
//software and tools, and its AMPP partner logic functions, and any
|
4 |
|
|
//output files any of the foregoing (including device programming or
|
5 |
|
|
//simulation files), and any associated documentation or information are
|
6 |
|
|
//expressly subject to the terms and conditions of the Altera Program
|
7 |
|
|
//License Subscription Agreement or other applicable license agreement,
|
8 |
|
|
//including, without limitation, that your use is for the sole purpose
|
9 |
|
|
//of programming logic devices manufactured by Altera and sold by Altera
|
10 |
|
|
//or its authorized distributors. Please refer to the applicable
|
11 |
|
|
//agreement for further details.
|
12 |
|
|
|
13 |
|
|
module RS232_Controller(oDATA,iDATA,oTxD,oTxD_Busy,iTxD_Start,
|
14 |
|
|
iRxD,oRxD_Ready,iCLK);
|
15 |
|
|
input [7:0] iDATA;
|
16 |
|
|
input iTxD_Start,iRxD,iCLK;
|
17 |
|
|
output [7:0] oDATA;
|
18 |
|
|
output oTxD,oTxD_Busy,oRxD_Ready;
|
19 |
|
|
|
20 |
|
|
async_receiver u0 ( .clk(iCLK), .RxD(iRxD),
|
21 |
|
|
.RxD_data_ready(oRxD_Ready),
|
22 |
|
|
.RxD_data(oDATA));
|
23 |
|
|
async_transmitter u1 ( .clk(iCLK), .TxD_start(iTxD_Start),
|
24 |
|
|
.TxD_data(iDATA), .TxD(oTxD),
|
25 |
|
|
.TxD_busy(oTxD_Busy));
|
26 |
|
|
|
27 |
|
|
endmodule
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.