From e1412c080b9204574d4b2a08442487540215f9c2 Mon Sep 17 00:00:00 2001 From: Konstantin Pavlov Date: Tue, 2 Jul 2024 16:01:04 +0300 Subject: [PATCH] Change some pins to I and IO for convinience --- .../vivado_test_prj_template_v3/src/main.sv | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/example_projects/vivado_test_prj_template_v3/src/main.sv b/example_projects/vivado_test_prj_template_v3/src/main.sv index fd3966c..b26cab0 100644 --- a/example_projects/vivado_test_prj_template_v3/src/main.sv +++ b/example_projects/vivado_test_prj_template_v3/src/main.sv @@ -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, @@ -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