OpenCores
URL https://opencores.org/ocsvn/amber/amber/trunk

Subversion Repositories amber

[/] [amber/] [trunk/] [hw/] [vlog/] [system/] [uart.v] - Diff between revs 63 and 82

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 63 Rev 82
Line 49... Line 49...
// 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                     //
//                                                              //
//                                                              //
//////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////
 
 
`include "system_config_defines.v"
`include "system_config_defines.vh"
`include "global_defines.v"
`include "global_defines.vh"
 
 
// Normally AMBER_UART_BAUD is defined in the system_config_defines.v file.
// Normally AMBER_UART_BAUD is defined in the system_config_defines.v file.
`ifndef AMBER_UART_BAUD
`ifndef AMBER_UART_BAUD
`define AMBER_UART_BAUD 230400
`define AMBER_UART_BAUD 230400
`endif
`endif
Line 83... Line 83...
input                       i_uart_rxd      // Receive data
input                       i_uart_rxd      // Receive data
 
 
);
);
 
 
 
 
`include "register_addresses.v"
`include "register_addresses.vh"
 
 
 
 
localparam [3:0] TXD_IDLE  = 4'd0,
localparam [3:0] TXD_IDLE  = 4'd0,
                 TXD_START = 4'd1,
                 TXD_START = 4'd1,
                 TXD_DATA0 = 4'd2,
                 TXD_DATA0 = 4'd2,

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.