Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit a1e5d574 authored by Vauban's avatar Vauban
Browse files

Cape: Remove pull-ups from P8 IOs. Add CSI_PWND.

parent 3e0d338f
Branches p8-experiments
No related tags found
No related merge requests found
# Microchip I/O Physical Design Constraints file
set_io -port_name P9_PIN11 \
-pin_name B5 \ # User I/O Constraints file
-fixed true \
-io_std LVCMOS33 \ # Version: 2022.3 2022.3.0.8
-DIRECTION INOUT
# Family: PolarFireSoC , Die: MPFS025T , Package: FCVG484
set_io -port_name P9_PIN12 \
-pin_name C5 \ # Date generated: Wed Oct 18 09:59:26 2023
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT #
# User Locked I/O Bank Settings
set_io -port_name P9_PIN13 \ #
-pin_name D19 \
-fixed true \
-io_std LVCMOS33 \ #
-DIRECTION INOUT # Unlocked I/O Bank Settings
# The I/O Bank Settings can be locked by directly editing this file
set_io -port_name P9_PIN14 \ # or by making changes in the I/O Attribute Editor
-pin_name C6 \ #
-fixed true \
-io_std LVCMOS33 \
-DIRECTION OUT #
# User Locked I/O settings
set_io -port_name P9_PIN15 \ #
-pin_name A5 \
-fixed true \ set_io -port_name P8_PIN10_USER_LED_7 \
-io_std LVCMOS33 \ -pin_name W21 \
-DIRECTION INOUT -fixed true \
-RES_PULL None \
set_io -port_name P9_PIN16 \ -DIRECTION INOUT
-pin_name A6 \
-fixed true \
-io_std LVCMOS33 \ set_io -port_name P8_PIN11_USER_LED_8 \
-DIRECTION OUT -pin_name Y21 \
-fixed true \
set_io -port_name P9_PIN17 \ -RES_PULL None \
-pin_name C9 \ -DIRECTION INOUT
-fixed true \
-io_std LVCMOS33 \
-DIRECTION OUT set_io -port_name P8_PIN12_USER_LED_9 \
-pin_name Y20 \
set_io -port_name P9_PIN18 \ -fixed true \
-pin_name C10 \ -RES_PULL None \
-io_std LVCMOS33 \ -DIRECTION INOUT
-fixed true \
-DIRECTION OUT
set_io -port_name P8_PIN13_USER_LED_10 \
set_io -port_name P9_PIN21 \ -pin_name B10 \
-pin_name B8 \ -fixed true \
-fixed true \ -io_std LVCMOS33 \
-io_std LVCMOS33 \ -RES_PULL None \
-DIRECTION OUT -DIRECTION INOUT
set_io -port_name P9_PIN22 \
-pin_name A8 \ set_io -port_name P8_PIN14_USER_LED_11 \
-fixed true \ -pin_name B9 \
-io_std LVCMOS33 \ -fixed true \
-DIRECTION OUT -io_std LVCMOS33 \
-RES_PULL None \
set_io -port_name P9_PIN23 \ -DIRECTION INOUT
-pin_name C12 \
-fixed true \
-io_std LVCMOS33 \ set_io -port_name P8_PIN15 \
-DIRECTION INOUT -pin_name T12 \
-fixed true \
set_io -port_name P9_PIN24 \ -RES_PULL None \
-pin_name B12 \ -DIRECTION INOUT
-fixed true \
-io_std LVCMOS33 \
-DIRECTION OUT set_io -port_name P8_PIN16 \
-pin_name U12 \
set_io -port_name P9_PIN25 \ -fixed true \
-pin_name B7 \ -RES_PULL None \
-fixed true \ -DIRECTION INOUT
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_PIN17 \
set_io -port_name P9_PIN26 \ -pin_name W13 \
-pin_name A7 \ -fixed true \
-fixed true \ -RES_PULL None \
-io_std LVCMOS33 \ -DIRECTION INOUT
-DIRECTION OUT
set_io -port_name P9_PIN27 \ set_io -port_name P8_PIN18 \
-pin_name D11 \ -pin_name T16 \
-fixed true \ -fixed true \
-io_std LVCMOS33 \ -RES_PULL None \
-DIRECTION INOUT -DIRECTION INOUT
set_io -port_name P9_PIN28 \
-pin_name C11 \ set_io -port_name P8_PIN19 \
-fixed true \ -pin_name W18 \
-io_std LVCMOS33 \ -fixed true \
-DIRECTION OUT -RES_PULL None \
-DIRECTION INOUT
set_io -port_name P9_PIN29 \
-pin_name F17 \
-fixed true \ set_io -port_name P8_PIN20 \
-io_std LVCMOS33 \ -pin_name R16 \
-DIRECTION OUT -fixed true \
-RES_PULL None \
set_io -port_name P9_PIN30 \ -DIRECTION INOUT
-pin_name F16 \
-fixed true \
-io_std LVCMOS33 \ set_io -port_name P8_PIN21 \
-DIRECTION INOUT -pin_name AA21 \
-fixed true \
set_io -port_name P9_PIN31 \ -RES_PULL None \
-pin_name E18 \ -DIRECTION INOUT
-fixed true \
-io_std LVCMOS33 \
-DIRECTION OUT set_io -port_name P8_PIN22 \
-pin_name AA22 \
set_io -port_name P9_PIN41 \ -fixed true \
-pin_name E15 \ -RES_PULL None \
-fixed true \ -DIRECTION INOUT
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_PIN23 \
set_io -port_name P9_PIN42 \ -pin_name AB18 \
-pin_name E14 \ -fixed true \
-fixed true \ -RES_PULL None \
-io_std LVCMOS33 \ -DIRECTION INOUT
-DIRECTION OUT
#------------------------------------------------------------------------------- set_io -port_name P8_PIN24 \
-pin_name AA18 \
set_io -port_name P8_PIN3_USER_LED_0 \ -fixed true \
-pin_name V22 \ -RES_PULL None \
-fixed true \ -DIRECTION INOUT
-DIRECTION INOUT
set_io -port_name P8_PIN4_USER_LED_1 \ set_io -port_name P8_PIN25 \
-pin_name W22 \ -pin_name V17 \
-fixed true \ -fixed true \
-DIRECTION INOUT -RES_PULL None \
-DIRECTION INOUT
set_io -port_name P8_PIN5_USER_LED_2 \
-pin_name V19 \
-fixed true \ set_io -port_name P8_PIN26 \
-DIRECTION INOUT -pin_name A12 \
-fixed true \
set_io -port_name P8_PIN6_USER_LED_3 \ -io_std LVCMOS33 \
-pin_name V20 \ -DIRECTION INOUT
-fixed true \
-DIRECTION INOUT
set_io -port_name P8_PIN27 \
set_io -port_name P8_PIN7_USER_LED_4 \ -pin_name A13 \
-pin_name V15 \ -fixed true \
-fixed true \ -io_std LVCMOS33 \
-DIRECTION INOUT -DIRECTION INOUT
set_io -port_name P8_PIN8_USER_LED_5 \
-pin_name V14 \ set_io -port_name P8_PIN28 \
-fixed true \ -pin_name B14 \
-DIRECTION INOUT -fixed true \
-io_std LVCMOS33 \
set_io -port_name P8_PIN9_USER_LED_6 \ -DIRECTION INOUT
-pin_name V21 \
-fixed true \
-DIRECTION INOUT set_io -port_name P8_PIN29 \
-pin_name B13 \
set_io -port_name P8_PIN10_USER_LED_7 \ -fixed true \
-pin_name W21 \ -io_std LVCMOS33 \
-fixed true \ -DIRECTION INOUT
-DIRECTION INOUT
set_io -port_name P8_PIN11_USER_LED_8 \ set_io -port_name P8_PIN30 \
-pin_name Y21 \ -pin_name D14 \
-fixed true \ -fixed true \
-DIRECTION INOUT -io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_PIN12_USER_LED_9 \
-pin_name Y20 \
-fixed true \ set_io -port_name P8_PIN31 \
-DIRECTION INOUT -pin_name D13 \
-fixed true \
set_io -port_name P8_PIN13_USER_LED_10 \ -io_std LVCMOS33 \
-pin_name B10 \ -DIRECTION INOUT
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT set_io -port_name P8_PIN32 \
-pin_name B15 \
set_io -port_name P8_PIN14_USER_LED_11 \ -fixed true \
-pin_name B9 \ -io_std LVCMOS33 \
-io_std LVCMOS33 \ -DIRECTION INOUT
-fixed true \
-DIRECTION INOUT
set_io -port_name P8_PIN33 \
-pin_name A15 \
-fixed true \
set_io -port_name P8_PIN15 \ -io_std LVCMOS33 \
-pin_name T12 \ -DIRECTION INOUT
-fixed true \
-DIRECTION INOUT
set_io -port_name P8_PIN34 \
set_io -port_name P8_PIN16 \ -pin_name C15 \
-pin_name U12 \ -fixed true \
-fixed true \ -io_std LVCMOS33 \
-DIRECTION INOUT -DIRECTION INOUT
set_io -port_name P8_PIN17 \
-pin_name W13 \ set_io -port_name P8_PIN35 \
-fixed true \ -pin_name C14 \
-DIRECTION INOUT -fixed true \
-io_std LVCMOS33 \
set_io -port_name P8_PIN18 \ -DIRECTION INOUT
-pin_name T16 \
-fixed true \
-DIRECTION INOUT set_io -port_name P8_PIN36 \
-pin_name B4 \
set_io -port_name P8_PIN19 \ -fixed true \
-pin_name W18 \ -io_std LVCMOS33 \
-fixed true \ -DIRECTION INOUT
-DIRECTION INOUT
set_io -port_name P8_PIN20 \ set_io -port_name P8_PIN37 \
-pin_name R16 \ -pin_name C4 \
-fixed true \ -fixed true \
-DIRECTION INOUT -io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_PIN21 \
-pin_name AA21 \
-fixed true \ set_io -port_name P8_PIN38 \
-DIRECTION INOUT -pin_name C17 \
-fixed true \
set_io -port_name P8_PIN22 \ -io_std LVCMOS33 \
-pin_name AA22 \ -DIRECTION INOUT
-fixed true \
-DIRECTION INOUT
set_io -port_name P8_PIN39 \
set_io -port_name P8_PIN23 \ -pin_name B17 \
-pin_name AB18 \ -fixed true \
-fixed true \ -io_std LVCMOS33 \
-DIRECTION INOUT -DIRECTION INOUT
set_io -port_name P8_PIN24 \
-pin_name AA18 \ set_io -port_name P8_PIN3_USER_LED_0 \
-fixed true \ -pin_name V22 \
-DIRECTION INOUT -fixed true \
-RES_PULL None \
set_io -port_name P8_PIN25 \ -DIRECTION INOUT
-pin_name V17 \
-fixed true \
-DIRECTION INOUT set_io -port_name P8_PIN40 \
-pin_name B18 \
set_io -port_name P8_PIN26 \ -fixed true \
-pin_name A12 \ -io_std LVCMOS33 \
-fixed true \ -DIRECTION INOUT
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_PIN41 \
set_io -port_name P8_PIN27 \ -pin_name A18 \
-pin_name A13 \ -fixed true \
-fixed true \ -io_std LVCMOS33 \
-io_std LVCMOS33 \ -DIRECTION INOUT
-DIRECTION INOUT
set_io -port_name P8_PIN28 \ set_io -port_name P8_PIN42 \
-pin_name B14 \ -pin_name D6 \
-fixed true \ -fixed true \
-io_std LVCMOS33 \ -io_std LVCMOS33 \
-DIRECTION INOUT -DIRECTION INOUT
set_io -port_name P8_PIN29 \
-pin_name B13 \ set_io -port_name P8_PIN43 \
-fixed true \ -pin_name D7 \
-io_std LVCMOS33 \ -fixed true \
-DIRECTION INOUT -io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_PIN30 \
-pin_name D14 \
-fixed true \ set_io -port_name P8_PIN44 \
-io_std LVCMOS33 \ -pin_name D8 \
-DIRECTION INOUT -fixed true \
-io_std LVCMOS33 \
set_io -port_name P8_PIN31 \ -DIRECTION INOUT
-pin_name D13 \
-fixed true \
-io_std LVCMOS33 \ set_io -port_name P8_PIN45 \
-DIRECTION INOUT -pin_name D9 \
-fixed true \
set_io -port_name P8_PIN32 \ -io_std LVCMOS33 \
-pin_name B15 \ -DIRECTION INOUT
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT set_io -port_name P8_PIN46 \
-pin_name D18 \
set_io -port_name P8_PIN33 \ -fixed true \
-pin_name A15 \ -io_std LVCMOS33 \
-fixed true \ -DIRECTION INOUT
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_PIN4_USER_LED_1 \
set_io -port_name P8_PIN34 \ -pin_name W22 \
-pin_name C15 \ -fixed true \
-fixed true \ -RES_PULL None \
-io_std LVCMOS33 \ -DIRECTION INOUT
-DIRECTION INOUT
set_io -port_name P8_PIN35 \ set_io -port_name P8_PIN5_USER_LED_2 \
-pin_name C14 \ -pin_name V19 \
-fixed true \ -fixed true \
-io_std LVCMOS33 \ -RES_PULL None \
-DIRECTION INOUT -DIRECTION INOUT
set_io -port_name P8_PIN36 \
-pin_name B4 \ set_io -port_name P8_PIN6_USER_LED_3 \
-fixed true \ -pin_name V20 \
-io_std LVCMOS33 \ -fixed true \
-DIRECTION INOUT -RES_PULL None \
-DIRECTION INOUT
set_io -port_name P8_PIN37 \
-pin_name C4 \
-fixed true \ set_io -port_name P8_PIN7_USER_LED_4 \
-io_std LVCMOS33 \ -pin_name V15 \
-DIRECTION INOUT -fixed true \
-RES_PULL None \
set_io -port_name P8_PIN38 \ -DIRECTION INOUT
-pin_name C17 \
-fixed true \
-io_std LVCMOS33 \ set_io -port_name P8_PIN8_USER_LED_5 \
-DIRECTION INOUT -pin_name V14 \
-fixed true \
set_io -port_name P8_PIN39 \ -RES_PULL None \
-pin_name B17 \ -DIRECTION INOUT
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT set_io -port_name P8_PIN9_USER_LED_6 \
-pin_name V21 \
set_io -port_name P8_PIN40 \ -fixed true \
-pin_name B18 \ -RES_PULL None \
-fixed true \ -DIRECTION INOUT
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P9_PIN11 \
set_io -port_name P8_PIN41 \ -pin_name B5 \
-pin_name A18 \ -fixed true \
-fixed true \ -io_std LVCMOS33 \
-io_std LVCMOS33 \ -DIRECTION INOUT
-DIRECTION INOUT
set_io -port_name P8_PIN42 \ set_io -port_name P9_PIN12 \
-pin_name D6 \ -pin_name C5 \
-fixed true \ -fixed true \
-io_std LVCMOS33 \ -io_std LVCMOS33 \
-DIRECTION INOUT -DIRECTION INOUT
set_io -port_name P8_PIN43 \
-pin_name D7 \ set_io -port_name P9_PIN13 \
-fixed true \ -pin_name D19 \
-io_std LVCMOS33 \ -fixed true \
-DIRECTION INOUT -io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_PIN44 \
-pin_name D8 \
-fixed true \ set_io -port_name P9_PIN14 \
-io_std LVCMOS33 \ -pin_name C6 \
-DIRECTION INOUT -fixed true \
-io_std LVCMOS33 \
set_io -port_name P8_PIN45 \ -DIRECTION INOUT
-pin_name D9 \
-fixed true \
-io_std LVCMOS33 \ set_io -port_name P9_PIN15 \
-DIRECTION INOUT -pin_name A5 \
-fixed true \
set_io -port_name P8_PIN46 \ -io_std LVCMOS33 \
-pin_name D18 \ -DIRECTION INOUT
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT set_io -port_name P9_PIN16 \
-pin_name A6 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P9_PIN17 \
-pin_name C9 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P9_PIN18 \
-pin_name C10 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P9_PIN21 \
-pin_name B8 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P9_PIN22 \
-pin_name A8 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P9_PIN23 \
-pin_name C12 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P9_PIN24 \
-pin_name B12 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P9_PIN25 \
-pin_name B7 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P9_PIN26 \
-pin_name A7 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P9_PIN27 \
-pin_name D11 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P9_PIN28 \
-pin_name C11 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P9_PIN29 \
-pin_name F17 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P9_PIN30 \
-pin_name F16 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P9_PIN31 \
-pin_name E18 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P9_PIN41 \
-pin_name E15 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P9_PIN42 \
-pin_name E14 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
#
# Dedicated Peripheral I/O Settings
#
#
# Unlocked I/O settings
# The I/Os in this section are unplaced or placed but are not locked
# the other listed attributes have been applied
#
#
#Ports using Dedicated Pins
#
...@@ -26,6 +26,8 @@ sd_create_scalar_port -sd_name ${sd_name} -port_name {M2_UART_CTS} -port_directi ...@@ -26,6 +26,8 @@ sd_create_scalar_port -sd_name ${sd_name} -port_name {M2_UART_CTS} -port_directi
sd_create_scalar_port -sd_name ${sd_name} -port_name {M2_PERST0n} -port_direction {OUT} sd_create_scalar_port -sd_name ${sd_name} -port_name {M2_PERST0n} -port_direction {OUT}
sd_create_scalar_port -sd_name ${sd_name} -port_name {CSI1_PWND} -port_direction {OUT}
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
sd_instantiate_component -sd_name ${sd_name} -component_name {M2_INTERFACE} -instance_name {M2_INTERFACE_0} sd_instantiate_component -sd_name ${sd_name} -component_name {M2_INTERFACE} -instance_name {M2_INTERFACE_0}
...@@ -52,6 +54,9 @@ sd_connect_pin_to_port -sd_name ${sd_name} -pin_name {M2_INTERFACE_0:M2_PEWAKEN} ...@@ -52,6 +54,9 @@ sd_connect_pin_to_port -sd_name ${sd_name} -pin_name {M2_INTERFACE_0:M2_PEWAKEN}
sd_connect_pins -sd_name ${sd_name} -pin_names {"M2_INTERFACE_0:M2_UART_RTS" "M2_UART_RTS"} sd_connect_pins -sd_name ${sd_name} -pin_names {"M2_INTERFACE_0:M2_UART_RTS" "M2_UART_RTS"}
sd_connect_pins -sd_name ${sd_name} -pin_names {"M2_INTERFACE_0:M2_UART_CTS" "M2_UART_CTS"} sd_connect_pins -sd_name ${sd_name} -pin_names {"M2_INTERFACE_0:M2_UART_CTS" "M2_UART_CTS"}
sd_connect_pins -sd_name ${sd_name} -pin_names {"CSI1_PWND" "M2_INTERFACE_0:CSI_PWND"}
sd_invert_pins -sd_name ${sd_name} -pin_names {"CSI1_PWND"}
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
sd_connect_pins_to_constant -sd_name ${sd_name} -pin_names {BVF_RISCV_SUBSYSTEM:M2_UART_CTS} -value {GND} sd_connect_pins_to_constant -sd_name ${sd_name} -pin_names {BVF_RISCV_SUBSYSTEM:M2_UART_CTS} -value {GND}
sd_mark_pins_unused -sd_name ${sd_name} -pin_names {BVF_RISCV_SUBSYSTEM:M2_W_DISABLE2} sd_mark_pins_unused -sd_name ${sd_name} -pin_names {BVF_RISCV_SUBSYSTEM:M2_W_DISABLE2}
......
...@@ -13,7 +13,7 @@ create_and_configure_core -core_vlnv {Actel:DirectCore:CoreGPIO:3.2.102} -compon ...@@ -13,7 +13,7 @@ create_and_configure_core -core_vlnv {Actel:DirectCore:CoreGPIO:3.2.102} -compon
"FIXED_CONFIG_6:true" \ "FIXED_CONFIG_6:true" \
"FIXED_CONFIG_7:true" \ "FIXED_CONFIG_7:true" \
"FIXED_CONFIG_8:true" \ "FIXED_CONFIG_8:true" \
"FIXED_CONFIG_9:false" \ "FIXED_CONFIG_9:true" \
"FIXED_CONFIG_10:false" \ "FIXED_CONFIG_10:false" \
"FIXED_CONFIG_11:false" \ "FIXED_CONFIG_11:false" \
"FIXED_CONFIG_12:false" \ "FIXED_CONFIG_12:false" \
...@@ -69,7 +69,7 @@ create_and_configure_core -core_vlnv {Actel:DirectCore:CoreGPIO:3.2.102} -compon ...@@ -69,7 +69,7 @@ create_and_configure_core -core_vlnv {Actel:DirectCore:CoreGPIO:3.2.102} -compon
"IO_INT_TYPE_29:7" \ "IO_INT_TYPE_29:7" \
"IO_INT_TYPE_30:7" \ "IO_INT_TYPE_30:7" \
"IO_INT_TYPE_31:7" \ "IO_INT_TYPE_31:7" \
"IO_NUM:9" \ "IO_NUM:10" \
"IO_TYPE_0:2" \ "IO_TYPE_0:2" \
"IO_TYPE_1:2" \ "IO_TYPE_1:2" \
"IO_TYPE_2:2" \ "IO_TYPE_2:2" \
...@@ -79,7 +79,7 @@ create_and_configure_core -core_vlnv {Actel:DirectCore:CoreGPIO:3.2.102} -compon ...@@ -79,7 +79,7 @@ create_and_configure_core -core_vlnv {Actel:DirectCore:CoreGPIO:3.2.102} -compon
"IO_TYPE_6:2" \ "IO_TYPE_6:2" \
"IO_TYPE_7:2" \ "IO_TYPE_7:2" \
"IO_TYPE_8:2" \ "IO_TYPE_8:2" \
"IO_TYPE_9:0" \ "IO_TYPE_9:2" \
"IO_TYPE_10:0" \ "IO_TYPE_10:0" \
"IO_TYPE_11:0" \ "IO_TYPE_11:0" \
"IO_TYPE_12:0" \ "IO_TYPE_12:0" \
......
...@@ -14,6 +14,7 @@ sd_create_scalar_port -sd_name ${sd_name} -port_name {PRESETN} -port_direction { ...@@ -14,6 +14,7 @@ sd_create_scalar_port -sd_name ${sd_name} -port_name {PRESETN} -port_direction {
sd_create_scalar_port -sd_name ${sd_name} -port_name {APB_TARGET_PREADY} -port_direction {OUT} sd_create_scalar_port -sd_name ${sd_name} -port_name {APB_TARGET_PREADY} -port_direction {OUT}
sd_create_scalar_port -sd_name ${sd_name} -port_name {APB_TARGET_PSLVERR} -port_direction {OUT} sd_create_scalar_port -sd_name ${sd_name} -port_name {APB_TARGET_PSLVERR} -port_direction {OUT}
sd_create_scalar_port -sd_name ${sd_name} -port_name {CSI_PWND} -port_direction {OUT}
sd_create_scalar_port -sd_name ${sd_name} -port_name {H_M2_CLKREQ0N} -port_direction {OUT} sd_create_scalar_port -sd_name ${sd_name} -port_name {H_M2_CLKREQ0N} -port_direction {OUT}
sd_create_scalar_port -sd_name ${sd_name} -port_name {M2_I2C_ALTN} -port_direction {OUT} sd_create_scalar_port -sd_name ${sd_name} -port_name {M2_I2C_ALTN} -port_direction {OUT}
sd_create_scalar_port -sd_name ${sd_name} -port_name {M2_PERST0n} -port_direction {OUT} sd_create_scalar_port -sd_name ${sd_name} -port_name {M2_PERST0n} -port_direction {OUT}
...@@ -54,6 +55,7 @@ sd_create_pin_slices -sd_name ${sd_name} -pin_name {CoreGPIO_M2_0:GPIO_IN} -pin_ ...@@ -54,6 +55,7 @@ sd_create_pin_slices -sd_name ${sd_name} -pin_name {CoreGPIO_M2_0:GPIO_IN} -pin_
sd_create_pin_slices -sd_name ${sd_name} -pin_name {CoreGPIO_M2_0:GPIO_IN} -pin_slices {[6:6]} sd_create_pin_slices -sd_name ${sd_name} -pin_name {CoreGPIO_M2_0:GPIO_IN} -pin_slices {[6:6]}
sd_create_pin_slices -sd_name ${sd_name} -pin_name {CoreGPIO_M2_0:GPIO_IN} -pin_slices {[7:7]} sd_create_pin_slices -sd_name ${sd_name} -pin_name {CoreGPIO_M2_0:GPIO_IN} -pin_slices {[7:7]}
sd_create_pin_slices -sd_name ${sd_name} -pin_name {CoreGPIO_M2_0:GPIO_IN} -pin_slices {[8:8]} sd_create_pin_slices -sd_name ${sd_name} -pin_name {CoreGPIO_M2_0:GPIO_IN} -pin_slices {[8:8]}
sd_create_pin_slices -sd_name ${sd_name} -pin_name {CoreGPIO_M2_0:GPIO_IN} -pin_slices {[9:9]}
sd_create_pin_slices -sd_name ${sd_name} -pin_name {CoreGPIO_M2_0:GPIO_OUT} -pin_slices {[0:0]} sd_create_pin_slices -sd_name ${sd_name} -pin_name {CoreGPIO_M2_0:GPIO_OUT} -pin_slices {[0:0]}
sd_create_pin_slices -sd_name ${sd_name} -pin_name {CoreGPIO_M2_0:GPIO_OUT} -pin_slices {[1:1]} sd_create_pin_slices -sd_name ${sd_name} -pin_name {CoreGPIO_M2_0:GPIO_OUT} -pin_slices {[1:1]}
sd_create_pin_slices -sd_name ${sd_name} -pin_name {CoreGPIO_M2_0:GPIO_OUT} -pin_slices {[2:2]} sd_create_pin_slices -sd_name ${sd_name} -pin_name {CoreGPIO_M2_0:GPIO_OUT} -pin_slices {[2:2]}
...@@ -63,12 +65,14 @@ sd_create_pin_slices -sd_name ${sd_name} -pin_name {CoreGPIO_M2_0:GPIO_OUT} -pin ...@@ -63,12 +65,14 @@ sd_create_pin_slices -sd_name ${sd_name} -pin_name {CoreGPIO_M2_0:GPIO_OUT} -pin
sd_create_pin_slices -sd_name ${sd_name} -pin_name {CoreGPIO_M2_0:GPIO_OUT} -pin_slices {[6:6]} sd_create_pin_slices -sd_name ${sd_name} -pin_name {CoreGPIO_M2_0:GPIO_OUT} -pin_slices {[6:6]}
sd_create_pin_slices -sd_name ${sd_name} -pin_name {CoreGPIO_M2_0:GPIO_OUT} -pin_slices {[7:7]} sd_create_pin_slices -sd_name ${sd_name} -pin_name {CoreGPIO_M2_0:GPIO_OUT} -pin_slices {[7:7]}
sd_create_pin_slices -sd_name ${sd_name} -pin_name {CoreGPIO_M2_0:GPIO_OUT} -pin_slices {[8:8]} sd_create_pin_slices -sd_name ${sd_name} -pin_name {CoreGPIO_M2_0:GPIO_OUT} -pin_slices {[8:8]}
sd_create_pin_slices -sd_name ${sd_name} -pin_name {CoreGPIO_M2_0:GPIO_OUT} -pin_slices {[9:9]}
sd_mark_pins_unused -sd_name ${sd_name} -pin_names {CoreGPIO_M2_0:INT} sd_mark_pins_unused -sd_name ${sd_name} -pin_names {CoreGPIO_M2_0:INT}
sd_mark_pins_unused -sd_name ${sd_name} -pin_names {CoreGPIO_M2_0:GPIO_OE} sd_mark_pins_unused -sd_name ${sd_name} -pin_names {CoreGPIO_M2_0:GPIO_OE}
# Add scalar net connections # Add scalar net connections
sd_connect_pins -sd_name ${sd_name} -pin_names {"CSI_PWND" "CoreGPIO_M2_0:GPIO_IN[9:9]" "CoreGPIO_M2_0:GPIO_OUT[9:9]" }
sd_connect_pins -sd_name ${sd_name} -pin_names {"CoreGPIO_M2_0:GPIO_IN[0:0]" "CoreGPIO_M2_0:GPIO_OUT[0:0]" "M2_PERST0n" } sd_connect_pins -sd_name ${sd_name} -pin_names {"CoreGPIO_M2_0:GPIO_IN[0:0]" "CoreGPIO_M2_0:GPIO_OUT[0:0]" "M2_PERST0n" }
sd_connect_pins -sd_name ${sd_name} -pin_names {"CoreGPIO_M2_0:GPIO_IN[1:1]" "CoreGPIO_M2_0:GPIO_OUT[1:1]" "M2_UART_WAKEN" } sd_connect_pins -sd_name ${sd_name} -pin_names {"CoreGPIO_M2_0:GPIO_IN[1:1]" "CoreGPIO_M2_0:GPIO_OUT[1:1]" "M2_UART_WAKEN" }
sd_connect_pins -sd_name ${sd_name} -pin_names {"CoreGPIO_M2_0:GPIO_IN[2:2]" "CoreGPIO_M2_0:GPIO_OUT[2:2]" "M2_W_DISABLE1" } sd_connect_pins -sd_name ${sd_name} -pin_names {"CoreGPIO_M2_0:GPIO_IN[2:2]" "CoreGPIO_M2_0:GPIO_OUT[2:2]" "M2_W_DISABLE1" }
......
...@@ -49,3 +49,8 @@ set_io -port_name H_M2_CLKREQ0N \ ...@@ -49,3 +49,8 @@ set_io -port_name H_M2_CLKREQ0N \
-pin_name W19 \ -pin_name W19 \
-fixed true \ -fixed true \
-DIRECTION OUTPUT -DIRECTION OUTPUT
set_io -port_name CSI1_PWND \
-pin_name Y13 \
-fixed true \
-DIRECTION OUTPUT
...@@ -19,10 +19,10 @@ ...@@ -19,10 +19,10 @@
clocks = <&fabric_clk3>; clocks = <&fabric_clk3>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
ngpios=<9>; ngpios=<10>;
status = "okay"; status = "okay";
gpio-line-names = "M2_PERST0N", "M2_UART_WAKEN", "M2_W_DISABLE1_BT", "M2_W_DISABLE2_BT", gpio-line-names = "M2_PERST0N", "M2_UART_WAKEN", "M2_W_DISABLE1_BT", "M2_W_DISABLE2_BT",
"M2_CLKREQ0N", "M2_PEWAKEN", "M2_I2C_ALTN", "M2_UART_RTS", "M2_UART_CTS"; "M2_CLKREQ0N", "M2_PEWAKEN", "M2_I2C_ALTN", "M2_UART_RTS", "M2_UART_CTS","CSI1_PWND";
}; };
}; };
}; };
......
...@@ -16,13 +16,13 @@ source script_support/components/MIPI_CSI/IMX219_PHY_TEST/IMX219_IF_TOP.tcl ...@@ -16,13 +16,13 @@ source script_support/components/MIPI_CSI/IMX219_PHY_TEST/IMX219_IF_TOP.tcl
set sd_name ${top_level_name} set sd_name ${top_level_name}
sd_create_scalar_port -sd_name ${sd_name} -port_name {CSI1_PWND} -port_direction {OUT} #sd_create_scalar_port -sd_name ${sd_name} -port_name {CSI1_PWND} -port_direction {OUT}
sd_instantiate_component -sd_name ${sd_name} -component_name {IMX219_IF_TOP} -instance_name {IMX219_IF_TOP_0} sd_instantiate_component -sd_name ${sd_name} -component_name {IMX219_IF_TOP} -instance_name {IMX219_IF_TOP_0}
sd_connect_pins -sd_name ${sd_name} -pin_names {"CLOCKS_AND_RESETS:DEVICE_INIT_DONE" "IMX219_IF_TOP_0:INIT_DONE"} sd_connect_pins -sd_name ${sd_name} -pin_names {"CLOCKS_AND_RESETS:DEVICE_INIT_DONE" "IMX219_IF_TOP_0:INIT_DONE"}
sd_connect_pins_to_constant -sd_name ${sd_name} -pin_names {CSI1_PWND} -value {VCC} #sd_connect_pins_to_constant -sd_name ${sd_name} -pin_names {CSI1_PWND} -value {VCC}
sd_connect_pins -sd_name ${sd_name} -pin_names {"CLOCKS_AND_RESETS:FIC_3_PCLK" "IMX219_IF_TOP_0:PCLK"} sd_connect_pins -sd_name ${sd_name} -pin_names {"CLOCKS_AND_RESETS:FIC_3_PCLK" "IMX219_IF_TOP_0:PCLK"}
sd_connect_pins -sd_name ${sd_name} -pin_names {"CLOCKS_AND_RESETS:FIC_3_FABRIC_RESET_N" "IMX219_IF_TOP_0:PRESETN"} sd_connect_pins -sd_name ${sd_name} -pin_names {"CLOCKS_AND_RESETS:FIC_3_FABRIC_RESET_N" "IMX219_IF_TOP_0:PRESETN"}
......
set_io -port_name CSI1_PWND \ #set_io -port_name CSI1_PWND \
-pin_name Y13 \ # -pin_name Y13 \
-fixed true \ # -fixed true \
-DIRECTION OUTPUT # -DIRECTION OUTPUT
set_io -port_name CAM_C_N \ set_io -port_name CAM_C_N \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment