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

Subversion Repositories amber

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /amber/trunk
    from Rev 26 to Rev 27
    Reverse comparison

Rev 26 → Rev 27

/hw/vlog/system/uart.v
791,7 → 791,7
begin
`TB_ERROR_MESSAGE
$display("UART TX bit period, %.1f, is too big. UART will not work!", TX_BITPULSE_COUNT * CLK_PERIOD);
$display("Baud rate is %d, and baud bit period is %.1f", UART_BAUD, UART_BIT_PERIOD);
$display("Baud rate is %f, and baud bit period is %.1f", UART_BAUD, UART_BIT_PERIOD);
$display("Either reduce the baud rate, or increase the system clock frequency");
$display("------");
end
/hw/vlog/tb/global_defines.v
46,7 → 46,9
`ifndef _GLOBAL_DEFINES
`define _GLOBAL_DEFINES
 
`define AMBER_TIMEOUT 0
`ifndef AMBER_TIMEOUT
`define AMBER_TIMEOUT 0
`endif
 
`define U_TB tb
`define U_SYSTEM `U_TB.u_system
/hw/vlog/tb/tb_uart.v
38,6 → 38,7
// //
//////////////////////////////////////////////////////////////////
 
`timescale 1 ps / 1 ps
 
module tb_uart (
input i_uart_cts_n, // Clear To Send
47,7 → 48,6
 
);
 
// assign o_uart_txd = 1'd1;
assign o_uart_rts_n = 1'd0; // allow the other side to transmit all the time
 
// -------------------------------------------------------------------------

powered by: WebSVN 2.1.0

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