URL
https://opencores.org/ocsvn/minsoc/minsoc/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 139 |
Rev 140 |
Line 667... |
Line 667... |
);
|
);
|
|
|
//
|
//
|
// Instantiation of the UART16550
|
// Instantiation of the UART16550
|
//
|
//
|
`ifdef UART
|
`ifdef UART_DPI
|
|
uart_dpi
|
|
#( .tcp_port(5678),
|
|
.port_name("UART DPI number 2"),
|
|
.welcome_message( "--- Welcome to my second UART DPI port ---\n\r" )
|
|
)
|
|
uart_dpi_0_
|
|
(
|
|
// WISHBONE common
|
|
.wb_clk_i ( wb_clk ),
|
|
.wb_rst_i ( wb_rst ),
|
|
|
|
// WISHBONE slave
|
|
.wb_adr_i ( wb_us_adr_i[4:0] ),
|
|
.wb_dat_i ( wb_us_dat_i ),
|
|
.wb_dat_o ( wb_us_dat_o ),
|
|
.wb_we_i ( wb_us_we_i ),
|
|
.wb_stb_i ( wb_us_stb_i ),
|
|
.wb_cyc_i ( wb_us_cyc_i ),
|
|
.wb_ack_o ( wb_us_ack_o ),
|
|
.wb_sel_i ( wb_us_sel_i ),
|
|
|
|
// Interrupt request
|
|
.int_o ( pic_ints[`APP_INT_UART] )
|
|
);
|
|
`elsif UART
|
uart_top uart_top (
|
uart_top uart_top (
|
|
|
// WISHBONE common
|
// WISHBONE common
|
.wb_clk_i ( wb_clk ),
|
.wb_clk_i ( wb_clk ),
|
.wb_rst_i ( wb_rst ),
|
.wb_rst_i ( wb_rst ),
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.