Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Koen Martens
gmcpu8
Commits
fe6bcc27
Commit
fe6bcc27
authored
Aug 18, 2019
by
Koen Martens
Browse files
soc1: fix uart address decode, connect sout/sin
parent
df743214
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/verilog/soc/soc1.v
View file @
fe6bcc27
...
...
@@ -34,7 +34,7 @@ module soc1
localparam
ADR_IO_SEL_HI_BIT
=
7
;
localparam
ADR_IO_SEL_SIZE
=
4
;
localparam
ADR_IO_GPIO
=
4'h0
;
localparam
ADR_IO_UART
=
4'h
0
;
localparam
ADR_IO_UART
=
4'h
1
;
// constants
...
...
@@ -151,6 +151,8 @@ module soc1
uart
#(
.
DATA_WIDTH
(
DATA_WIDTH
)
)
uart
(
.
sout
(
uart_sout
),
.
sin
(
uart_sin
),
.
clk_i
(
clk
),
.
rst_i
(
rst
),
.
cyc_i
(
cpu_cyc_o
),
...
...
Write
Preview
Supports
Markdown
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