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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [orpsocv2/] [rtl/] [verilog/] [include/] [uart_defines.v] - Diff between revs 360 and 373

Show entire file | Details | Blame | View Log

Rev 360 Rev 373
Line 238... Line 238...
`define VERBOSE_WB  0           // All activity on the WISHBONE is recorded
`define VERBOSE_WB  0           // All activity on the WISHBONE is recorded
`define VERBOSE_LINE_STATUS 0   // Details about the lsr (line status register)
`define VERBOSE_LINE_STATUS 0   // Details about the lsr (line status register)
`define FAST_TEST   1           // 64/1024 packets are sent
`define FAST_TEST   1           // 64/1024 packets are sent
 
 
// Defines hard baud prescaler register - uncomment to enable
// Defines hard baud prescaler register - uncomment to enable
//`define PRESCALER_PRESET_HARD
`define PRESCALER_PRESET_HARD
// 115200 baud preset values
// 115200 baud preset values
// 20MHz: prescaler 10.8 (11, rounded up)
// 20MHz: prescaler 10.8 (11, rounded up)
 
//`define PRESCALER_HIGH_PRESET 8'd0
 
//`define PRESCALER_LOW_PRESET 8'd11
 
// 50MHz: prescaler 27.1
`define PRESCALER_HIGH_PRESET 8'd0
`define PRESCALER_HIGH_PRESET 8'd0
`define PRESCALER_LOW_PRESET 8'd11
`define PRESCALER_LOW_PRESET 8'd27
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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