URL
https://opencores.org/ocsvn/amber/amber/trunk
[/] [amber/] [trunk/] [hw/] [vlog/] [tb/] [tb_uart.v] - Diff between revs 2 and 27
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 2 |
Rev 27 |
Line 36... |
Line 36... |
// Public License along with this source; if not, download it //
|
// Public License along with this source; if not, download it //
|
// from http://www.opencores.org/lgpl.shtml //
|
// from http://www.opencores.org/lgpl.shtml //
|
// //
|
// //
|
//////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////
|
|
|
|
`timescale 1 ps / 1 ps
|
|
|
module tb_uart (
|
module tb_uart (
|
input i_uart_cts_n, // Clear To Send
|
input i_uart_cts_n, // Clear To Send
|
output reg o_uart_txd,
|
output reg o_uart_txd,
|
output o_uart_rts_n, // Request to Send
|
output o_uart_rts_n, // Request to Send
|
input i_uart_rxd
|
input i_uart_rxd
|
|
|
);
|
);
|
|
|
// assign o_uart_txd = 1'd1;
|
|
assign o_uart_rts_n = 1'd0; // allow the other side to transmit all the time
|
assign o_uart_rts_n = 1'd0; // allow the other side to transmit all the time
|
|
|
// -------------------------------------------------------------------------
|
// -------------------------------------------------------------------------
|
// Baud Rate Configuration
|
// Baud Rate Configuration
|
// -------------------------------------------------------------------------
|
// -------------------------------------------------------------------------
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.