Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
Platform-independent core collection
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
14
Issues
14
List
Board
Labels
Milestones
Merge Requests
5
Merge Requests
5
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Platform-independent core collection
Commits
f3809580
Commit
f3809580
authored
Jan 23, 2020
by
A. Hahn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wb_uart: removed last fix
parent
b8f808b6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
72 deletions
+12
-72
Manifest.py
modules/wishbone/wb_uart/Manifest.py
+9
-8
wb_simple_uart.vhd
modules/wishbone/wb_uart/wb_simple_uart.vhd
+1
-1
xwb_simple_uart.vhd
modules/wishbone/wb_uart/xwb_simple_uart.vhd
+2
-63
No files found.
modules/wishbone/wb_uart/Manifest.py
View file @
f3809580
files
=
[
"simple_uart_pkg.vhd"
,
"simple_uart_wb.vhd"
,
"uart_async_rx.vhd"
,
"uart_async_tx.vhd"
,
"uart_baud_gen.vhd"
,
"uart_wb_slave.vhd"
,
"wb_simple_uart.vhd"
,
"xwb_simple_uart.vhd"
];
files
=
[
"uart_async_rx.vhd"
,
"uart_async_tx.vhd"
,
"uart_baud_gen.vhd"
,
"simple_uart_wb.vhd"
,
"simple_uart_pkg.vhd"
,
"wb_simple_uart.vhd"
,
"xwb_simple_uart.vhd"
];
extra_modules
=
[
"wb_simple_uart"
];
modules/wishbone/wb_uart/wb_simple_uart.vhd
View file @
f3809580
...
...
@@ -133,7 +133,7 @@ begin -- arch
sl_ack_o
=>
wb_ack_o
,
sl_stall_o
=>
wb_stall_o
);
U_WB_SLAVE
:
simple_uart_wb
U_WB_SLAVE
:
entity
work
.
simple_uart_wb
port
map
(
rst_n_i
=>
rst_n_i
,
clk_sys_i
=>
clk_sys_i
,
...
...
modules/wishbone/wb_uart/xwb_simple_uart.vhd
View file @
f3809580
...
...
@@ -60,71 +60,9 @@ end xwb_simple_uart;
architecture
arch
of
xwb_simple_uart
is
type
t_uart_in_registers
is
record
sr_tx_busy_i
:
std_logic
;
sr_rx_rdy_i
:
std_logic
;
rdr_rx_data_i
:
std_logic_vector
(
7
downto
0
);
host_tdr_rdy_i
:
std_logic
;
host_rdr_data_i
:
std_logic_vector
(
7
downto
0
);
host_rdr_rdy_i
:
std_logic
;
host_rdr_count_i
:
std_logic_vector
(
15
downto
0
);
end
record
;
type
t_uart_out_registers
is
record
bcr_o
:
std_logic_vector
(
31
downto
0
);
bcr_wr_o
:
std_logic
;
tdr_tx_data_o
:
std_logic_vector
(
7
downto
0
);
tdr_tx_data_wr_o
:
std_logic
;
host_tdr_data_o
:
std_logic_vector
(
7
downto
0
);
host_tdr_data_wr_o
:
std_logic
;
end
record
;
component
wb_simple_uart
generic
(
g_with_virtual_uart
:
boolean
;
g_with_physical_uart
:
boolean
;
g_interface_mode
:
t_wishbone_interface_mode
;
g_address_granularity
:
t_wishbone_address_granularity
;
g_vuart_fifo_size
:
integer
);
port
(
clk_sys_i
:
in
std_logic
;
rst_n_i
:
in
std_logic
;
wb_adr_i
:
in
std_logic_vector
(
4
downto
0
);
wb_dat_i
:
in
std_logic_vector
(
31
downto
0
);
wb_dat_o
:
out
std_logic_vector
(
31
downto
0
);
wb_cyc_i
:
in
std_logic
;
wb_sel_i
:
in
std_logic_vector
(
3
downto
0
);
wb_stb_i
:
in
std_logic
;
wb_we_i
:
in
std_logic
;
wb_ack_o
:
out
std_logic
;
wb_stall_o
:
out
std_logic
;
uart_rxd_i
:
in
std_logic
;
uart_txd_o
:
out
std_logic
);
end
component
;
component
simple_uart_wb
is
port
(
rst_n_i
:
in
std_logic
;
clk_sys_i
:
in
std_logic
;
wb_adr_i
:
in
std_logic_vector
(
2
downto
0
);
wb_dat_i
:
in
std_logic_vector
(
31
downto
0
);
wb_dat_o
:
out
std_logic_vector
(
31
downto
0
);
wb_cyc_i
:
in
std_logic
;
wb_sel_i
:
in
std_logic_vector
(
3
downto
0
);
wb_stb_i
:
in
std_logic
;
wb_we_i
:
in
std_logic
;
wb_ack_o
:
out
std_logic
;
wb_stall_o
:
out
std_logic
;
rdr_rack_o
:
out
std_logic
;
host_rack_o
:
out
std_logic
;
regs_i
:
in
t_uart_in_registers
;
regs_o
:
out
t_uart_out_registers
);
end
component
;
begin
-- arch
U_Wrapped_UART
:
wb_simple_uart
U_Wrapped_UART
:
entity
work
.
wb_simple_uart
generic
map
(
g_WITH_VIRTUAL_UART
=>
g_WITH_VIRTUAL_UART
,
g_WITH_PHYSICAL_UART
=>
g_WITH_PHYSICAL_UART
,
...
...
@@ -143,6 +81,7 @@ begin -- arch
wb_we_i
=>
slave_i
.
we
,
wb_ack_o
=>
slave_o
.
ack
,
wb_stall_o
=>
slave_o
.
stall
,
int_o
=>
int_o
,
uart_rxd_i
=>
uart_rxd_i
,
uart_txd_o
=>
uart_txd_o
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment