Skip to content

Commit

Permalink
Change some pins to I and IO for convinience
Browse files Browse the repository at this point in the history
  • Loading branch information
pConst committed Jul 2, 2024
1 parent 955efdf commit e1412c0
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions example_projects/vivado_test_prj_template_v3/src/main.sv
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ module main(
input [5:0] ck_an_n,

// Digital I/O On Outer Analog Header
output [5:0] ck_a,
inout [5:0] ck_a,
// Digital I/O On Inner Analog Header
//

// Digital I/O Low
output [13:0] ck_io_low,
input [13:0] ck_io_low,

// Digital I/O High
output [41:26] ck_io_high,
Expand All @@ -87,9 +87,16 @@ module main(
output ck_ioa
);

`VIVADO_MODULE_HEADER
//`VIVADO_MODULE_HEADER


// convinience rename ==========================================================
logic [13:0] hdr_in;
assign hdr_in[13:0] = ck_io_low[13:0];

logic [15:0] hdr_out;
assign ck_io_high[41:26] = hdr_out[15:0];

// clocks ======================================================================

logic sys_pll_locked; // asyn
Expand Down

0 comments on commit e1412c0

Please sign in to comment.