rfsom/ccbox- tsw updates

main
Rejeesh Kutty 2017-07-18 13:51:37 -04:00
parent 2e173201d4
commit becc3e8628
2 changed files with 29 additions and 34 deletions

View File

@ -95,16 +95,13 @@ module system_top (
input [ 2:0] pss_valid_n,
inout [ 2:0] adp5061_io,
inout tsw_rot_com_a,
inout tsw_dir_com_b,
inout tsw_rot_s1,
inout tsw_rot_a,
inout tsw_rot_b,
inout tsw_rot_misc,
inout tsw_dir_s2,
inout tsw_dir_s3,
inout tsw_dir_s4,
inout tsw_dir_s5,
inout tsw_s1,
inout tsw_s2,
inout tsw_s3,
inout tsw_s4,
inout tsw_s5,
inout tsw_a,
inout tsw_b,
inout otg_ctrl,
inout adp1614_en,
@ -219,20 +216,21 @@ module system_top (
// ad9361 gpio - tact-scroll-wheel
ad_iobuf #(.DATA_WIDTH(10)) i_iobuf_tsw (
.dio_t ({gpio_t[63:62], gpio_t[60:57], gpio_t[50:47]}),
.dio_i ({gpio_o[63:62], gpio_o[60:57], gpio_o[50:47]}),
.dio_o ({gpio_i[63:62], gpio_i[60:57], gpio_i[50:47]}),
.dio_p ({ tsw_rot_com_a, // 63
tsw_dir_com_b, // 62
tsw_rot_s1, // 60
tsw_rot_a, // 59
tsw_rot_b, // 58
tsw_rot_misc, // 57
tsw_dir_s2, // 50
tsw_dir_s3, // 49
tsw_dir_s4, // 48
tsw_dir_s5})); // 47
assign gpio_i[63] = gpio_o[63];
assign gpio_i[62] = gpio_o[62];
assign gpio_i[60] = gpio_o[60];
ad_iobuf #(.DATA_WIDTH(7)) i_iobuf_tsw (
.dio_t ({gpio_t[59:57], gpio_t[50:47]}),
.dio_i ({gpio_o[59:57], gpio_o[50:47]}),
.dio_o ({gpio_i[59:57], gpio_i[50:47]}),
.dio_p ({ tsw_a, // 59
tsw_b, // 58
tsw_s1, // 57
tsw_s2, // 50
tsw_s3, // 49
tsw_s4, // 48
tsw_s5})); // 47
// ad9361 gpio - 63-32

View File

@ -72,16 +72,13 @@ set_property -dict {PACKAGE_PIN H6 IOSTANDARD LVCMOS18} [get_ports pss_va
## tsw
set_property -dict {PACKAGE_PIN B7 IOSTANDARD LVCMOS18} [get_ports tsw_rot_com_a] ; ## U1,B7,IO_L18_34_JX4_P,JX4,68,TSW_COM_A
set_property -dict {PACKAGE_PIN A7 IOSTANDARD LVCMOS18} [get_ports tsw_rot_s1] ; ## U1,A7,IO_L18_34_JX4_N,JX4,70,TSW_S1
set_property -dict {PACKAGE_PIN C4 IOSTANDARD LVCMOS18} [get_ports tsw_rot_a] ; ## U1,C4,IO_L19_34_JX4_P,JX4,73,TSW_A
set_property -dict {PACKAGE_PIN C3 IOSTANDARD LVCMOS18} [get_ports tsw_rot_b] ; ## U1,C3,IO_L19_34_JX4_N,JX4,75,TSW_B
set_property -dict {PACKAGE_PIN B5 IOSTANDARD LVCMOS18} [get_ports tsw_rot_misc] ; ## U1,B5,IO_L20_34_JX4_P,JX4,74,TSW_?
set_property -dict {PACKAGE_PIN B4 IOSTANDARD LVCMOS18} [get_ports tsw_dir_com_b] ; ## U1,B4,IO_L20_34_JX4_N,JX4,76,TSW_COM_B
set_property -dict {PACKAGE_PIN B6 IOSTANDARD LVCMOS18} [get_ports tsw_dir_s2] ; ## U1,B6,IO_L21_34_JX4_P,JX4,77,TSW_S2
set_property -dict {PACKAGE_PIN A5 IOSTANDARD LVCMOS18} [get_ports tsw_dir_s3] ; ## U1,A5,IO_L21_34_JX4_N,JX4,79,TSW_S3
set_property -dict {PACKAGE_PIN A4 IOSTANDARD LVCMOS18} [get_ports tsw_dir_s4] ; ## U1,A4,IO_L22_34_JX4_P,JX4,78,TSW_S4
set_property -dict {PACKAGE_PIN A3 IOSTANDARD LVCMOS18} [get_ports tsw_dir_s5] ; ## U1,A3,IO_L22_34_JX4_N,JX4,80,TSW_S5
set_property -dict {PACKAGE_PIN C9 IOSTANDARD LVCMOS18} [get_ports tsw_s1] ; ## U1,C9,IO_L15_34_JX4_P,JX4,57,P11,2,NAV_SWITCH_S1
set_property -dict {PACKAGE_PIN A10 IOSTANDARD LVCMOS18} [get_ports tsw_s2] ; ## U1,A10,IO_L16_34_JX4_N,JX4,60,P11,4,NAV_SWITCH_S2
set_property -dict {PACKAGE_PIN A9 IOSTANDARD LVCMOS18} [get_ports tsw_s3] ; ## U1,A9,IO_L17_34_JX4_P,JX4,67,P11,6,NAV_SWITCH_S3
set_property -dict {PACKAGE_PIN B7 IOSTANDARD LVCMOS18} [get_ports tsw_s4] ; ## U1,B7,IO_L18_34_JX4_P,JX4,68,P11,8,NAV_SWITCH_S4
set_property -dict {PACKAGE_PIN A8 IOSTANDARD LVCMOS18} [get_ports tsw_s5] ; ## U1,A8,IO_L17_34_JX4_N,JX4,69,P11,10,NAV_SWITCH_S5
set_property -dict {PACKAGE_PIN B10 IOSTANDARD LVCMOS18} [get_ports tsw_a] ; ## U1,B10,IO_L16_34_JX4_P,JX4,58,P11,1,NAV_SWITCH_A
set_property -dict {PACKAGE_PIN B9 IOSTANDARD LVCMOS18} [get_ports tsw_b] ; ## U1,B9,IO_L15_34_JX4_N,JX4,59,P11,3,NAV_SWITCH_B
## misc