Skip to content

Commit e1412c0

Browse files
committed
Change some pins to I and IO for convinience
1 parent 955efdf commit e1412c0

File tree

1 file changed

+10
-3
lines changed
  • example_projects/vivado_test_prj_template_v3/src

1 file changed

+10
-3
lines changed

example_projects/vivado_test_prj_template_v3/src/main.sv

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ module main(
6969
input [5:0] ck_an_n,
7070

7171
// Digital I/O On Outer Analog Header
72-
output [5:0] ck_a,
72+
inout [5:0] ck_a,
7373
// Digital I/O On Inner Analog Header
7474
//
7575

7676
// Digital I/O Low
77-
output [13:0] ck_io_low,
77+
input [13:0] ck_io_low,
7878

7979
// Digital I/O High
8080
output [41:26] ck_io_high,
@@ -87,9 +87,16 @@ module main(
8787
output ck_ioa
8888
);
8989

90-
`VIVADO_MODULE_HEADER
90+
//`VIVADO_MODULE_HEADER
9191

9292

93+
// convinience rename ==========================================================
94+
logic [13:0] hdr_in;
95+
assign hdr_in[13:0] = ck_io_low[13:0];
96+
97+
logic [15:0] hdr_out;
98+
assign ck_io_high[41:26] = hdr_out[15:0];
99+
93100
// clocks ======================================================================
94101

95102
logic sys_pll_locked; // asyn

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy