URL
https://opencores.org/ocsvn/uart2bus/uart2bus/trunk
[/] [uart2bus/] [trunk/] [verilog/] [rtl/] [uart2bus_top.v] - Diff between revs 2 and 4
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 2 |
Rev 4 |
Line 24... |
Line 24... |
output int_write; // write control to register file
|
output int_write; // write control to register file
|
output int_read; // read control to register file
|
output int_read; // read control to register file
|
input [7:0] int_rd_data; // data read from register file
|
input [7:0] int_rd_data; // data read from register file
|
|
|
// baud rate configuration, see baud_gen.v for more details.
|
// baud rate configuration, see baud_gen.v for more details.
|
// baud rate generator parameters for 115200 baud on 44MHz clock
|
|
`define D_BAUD_FREQ 12'd23
|
|
`define D_BAUD_LIMIT 16'd527
|
|
// baud rate generator parameters for 115200 baud on 40MHz clock
|
// baud rate generator parameters for 115200 baud on 40MHz clock
|
//`define D_BAUD_FREQ 12'h90
|
`define D_BAUD_FREQ 12'h90
|
//`define D_BAUD_LIMIT 16'h0ba5
|
`define D_BAUD_LIMIT 16'h0ba5
|
|
// baud rate generator parameters for 115200 baud on 44MHz clock
|
|
// `define D_BAUD_FREQ 12'd23
|
|
// `define D_BAUD_LIMIT 16'd527
|
// baud rate generator parameters for 9600 baud on 66MHz clock
|
// baud rate generator parameters for 9600 baud on 66MHz clock
|
//`define D_BAUD_FREQ 12'h10
|
//`define D_BAUD_FREQ 12'h10
|
//`define D_BAUD_LIMIT 16'h1ACB
|
//`define D_BAUD_LIMIT 16'h1ACB
|
|
|
// internal wires
|
// internal wires
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.