rfsom2/ccbox- rtc int

main
Rejeesh Kutty 2017-07-20 09:25:09 -04:00
parent 8c60a2a850
commit f3ad2e24c1
2 changed files with 15 additions and 8 deletions

View File

@ -103,6 +103,7 @@ module system_top (
inout tsw_a,
inout tsw_b,
inout rtc_int,
inout ltc2955_kill_n,
inout ltc2955_int_n,
inout mic_present_n,
@ -158,13 +159,15 @@ module system_top (
assign gpio_i[31:29] = gpio_o[31:29];
assign gpio_i[28:28] = imu_ready;
assign gpio_i[27:24] = gpio_o[27:24];
assign gpio_i[27:27] = gpio_o[27:27];
assign gpio_i[25:24] = gpio_o[25:24];
ad_iobuf #(.DATA_WIDTH(4)) i_iobuf_misc (
.dio_t (gpio_t[23:20]),
.dio_i (gpio_o[23:20]),
.dio_o (gpio_i[23:20]),
.dio_p ({ ltc2955_kill_n,
ad_iobuf #(.DATA_WIDTH(5)) i_iobuf_misc (
.dio_t ({gpio_t[26], gpio_t[23:20]}),
.dio_i ({gpio_o[26], gpio_o[23:20]}),
.dio_o ({gpio_i[26], gpio_i[23:20]}),
.dio_p ({ rtc_int,
ltc2955_kill_n,
ltc2955_int_n,
ts3a227_int_n,
mic_present_n}));

View File

@ -11,8 +11,8 @@ set_property -dict {PACKAGE_PIN W14 IOSTANDARD LVCMOS25} [get_ports gpio_rf4
## push-button
set_property -dict {PACKAGE_PIN P14 IOSTANDARD LVCMOS25} [get_ports ltc2955_kill_n] ; ## U1,P14,IO_L06_34_JX4_P,JX4,32,LTC2955_KILL_N
set_property -dict {PACKAGE_PIN T14 IOSTANDARD LVCMOS25} [get_ports ltc2955_int_n] ; ## U1,T14,IO_L05_34_JX4_P,JX4,31,LTC2955_INT_N
set_property -dict {PACKAGE_PIN P14 IOSTANDARD LVCMOS25} [get_ports ltc2955_kill_n] ; ## U1,P14,IO_L06_34_JX4_P,JX4,32,SOM2C_KILL_N
set_property -dict {PACKAGE_PIN T14 IOSTANDARD LVCMOS25} [get_ports ltc2955_int_n] ; ## U1,T14,IO_L05_34_JX4_P,JX4,31,C2SOM_KILL_N
## oled
@ -80,3 +80,7 @@ set_property -dict {PACKAGE_PIN Y19 IOSTANDARD LVCMOS25} [get_ports tsw_s5
set_property -dict {PACKAGE_PIN V20 IOSTANDARD LVCMOS25} [get_ports tsw_a] ; ## U1,V20,IO_L16_34_JX4_P,JX4,58,P11,1,NAV_SWITCH_A
set_property -dict {PACKAGE_PIN U20 IOSTANDARD LVCMOS25} [get_ports tsw_b] ; ## U1,U20,IO_L15_34_JX4_N,JX4,59,P11,3,NAV_SWITCH_B
## misc
set_property -dict {PACKAGE_PIN W15 IOSTANDARD LVCMOS25} [get_ports rtc_int] ; ## U1,W15,IO_L10_34_JX4_N,JX4,44,TIMER_INT