Forum | Documentation | Website | Blog

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

Pin constrainsts: Move user LEDs pin constraints definitions.

Move the user LEDs pin constraints definitions out of the cape's pin
constraints and instead place them in the base design's pin constraints.
parent 8bb8ca5f
No related merge requests found
......@@ -15,7 +15,6 @@ set sd_name {B_V_F_BASE_DESIGN}
#-------------------------------------------------------------------------------
# Cape pins
#-------------------------------------------------------------------------------
sd_create_scalar_port -sd_name ${sd_name} -port_name {P8_13} -port_direction {OUT}
sd_create_scalar_port -sd_name ${sd_name} -port_name {P8_19} -port_direction {OUT}
sd_create_scalar_port -sd_name ${sd_name} -port_name {P9_11} -port_direction {IN}
......@@ -168,7 +167,6 @@ sd_connect_pins -sd_name ${sd_name} -pin_names {"CAPE:GPIO_IN[16:16]" "BVF_RISCV
sd_connect_pins -sd_name ${sd_name} -pin_names {"CAPE:GPIO_IN[17:17]" "BVF_RISCV_SUBSYSTEM:GPIO_2_F2M_17"}
sd_connect_pins -sd_name ${sd_name} -pin_names {"CAPE:GPIO_IN[18:18]" "BVF_RISCV_SUBSYSTEM:GPIO_2_F2M_18"}
sd_connect_pins -sd_name ${sd_name} -pin_names {"CAPE:P8_13" "P8_13"}
sd_connect_pins -sd_name ${sd_name} -pin_names {"CAPE:P8_19" "P8_19"}
sd_connect_pins -sd_name ${sd_name} -pin_names {"CAPE:P9_14" "P9_14"}
sd_connect_pins -sd_name ${sd_name} -pin_names {"CAPE:P9_16" "P9_16"}
......
......@@ -36,10 +36,10 @@ sd_connect_pin_to_port -sd_name ${sd_name} -pin_name {CAPE_DEFAULT_GPIOS:GPIO_OE
sd_connect_pin_to_port -sd_name ${sd_name} -pin_name {CAPE_DEFAULT_GPIOS:GPIO_IN} -port_name {}
sd_rename_port -sd_name ${sd_name} -current_port_name {GPIO_0_PAD} -new_port_name {P9_41}
sd_rename_port -sd_name ${sd_name} -current_port_name {GPIO_1_PAD} -new_port_name {P8_14}
sd_rename_port -sd_name ${sd_name} -current_port_name {GPIO_1_PAD} -new_port_name {P8_21}
sd_rename_port -sd_name ${sd_name} -current_port_name {GPIO_2_PAD} -new_port_name {P8_17}
sd_rename_port -sd_name ${sd_name} -current_port_name {GPIO_3_PAD} -new_port_name {P8_12}
sd_rename_port -sd_name ${sd_name} -current_port_name {GPIO_4_PAD} -new_port_name {P8_11}
sd_rename_port -sd_name ${sd_name} -current_port_name {GPIO_3_PAD} -new_port_name {P8_22}
sd_rename_port -sd_name ${sd_name} -current_port_name {GPIO_4_PAD} -new_port_name {P8_23}
sd_rename_port -sd_name ${sd_name} -current_port_name {GPIO_5_PAD} -new_port_name {P8_16}
sd_rename_port -sd_name ${sd_name} -current_port_name {GPIO_6_PAD} -new_port_name {P8_15}
sd_rename_port -sd_name ${sd_name} -current_port_name {GPIO_7_PAD} -new_port_name {P9_15}
......@@ -47,10 +47,10 @@ sd_rename_port -sd_name ${sd_name} -current_port_name {GPIO_8_PAD} -new_port_nam
sd_rename_port -sd_name ${sd_name} -current_port_name {GPIO_9_PAD} -new_port_name {P9_12}
sd_rename_port -sd_name ${sd_name} -current_port_name {GPIO_10_PAD} -new_port_name {P8_26}
sd_rename_port -sd_name ${sd_name} -current_port_name {GPIO_11_PAD} -new_port_name {P8_18}
sd_rename_port -sd_name ${sd_name} -current_port_name {GPIO_12_PAD} -new_port_name {P8_7}
sd_rename_port -sd_name ${sd_name} -current_port_name {GPIO_13_PAD} -new_port_name {P8_8}
sd_rename_port -sd_name ${sd_name} -current_port_name {GPIO_14_PAD} -new_port_name {P8_10}
sd_rename_port -sd_name ${sd_name} -current_port_name {GPIO_15_PAD} -new_port_name {P8_9}
sd_rename_port -sd_name ${sd_name} -current_port_name {GPIO_12_PAD} -new_port_name {P8_24}
sd_rename_port -sd_name ${sd_name} -current_port_name {GPIO_13_PAD} -new_port_name {P8_25}
sd_rename_port -sd_name ${sd_name} -current_port_name {GPIO_14_PAD} -new_port_name {P9_29}
sd_rename_port -sd_name ${sd_name} -current_port_name {GPIO_15_PAD} -new_port_name {P9_31}
sd_rename_port -sd_name ${sd_name} -current_port_name {GPIO_16_PAD} -new_port_name {P9_30}
sd_rename_port -sd_name ${sd_name} -current_port_name {GPIO_17_PAD} -new_port_name {P9_27}
sd_rename_port -sd_name ${sd_name} -current_port_name {GPIO_18_PAD} -new_port_name {P9_25}
......@@ -102,7 +102,7 @@ sd_rename_port -sd_name {CAPE} -current_port_name {PWM_0_0} -new_port_name {P9_4
sd_rename_port -sd_name {CAPE} -current_port_name {PWM_1} -new_port_name {P9_14}
sd_rename_port -sd_name {CAPE} -current_port_name {PWM_2} -new_port_name {P9_16}
sd_rename_port -sd_name {CAPE} -current_port_name {PWM_3} -new_port_name {P8_19}
sd_rename_port -sd_name {CAPE} -current_port_name {PWM_4} -new_port_name {P8_13}
sd_rename_port -sd_name {CAPE} -current_port_name {PWM_4} -new_port_name {P8_20}
#-------------------------------------------------------------------------------
......
......@@ -50,6 +50,13 @@ set_io -port_name P9_27 \
-DIRECTION INOUT
set_io -port_name P9_29 \
-pin_name F17 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P9_30 \
-pin_name F16 \
-fixed true \
......@@ -57,6 +64,13 @@ set_io -port_name P9_30 \
-DIRECTION INOUT
set_io -port_name P9_31 \
-pin_name E16 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P9_41 \
-pin_name E15 \
-fixed true \
......@@ -71,86 +85,67 @@ set_io -port_name P9_42 \
set_io -port_name P8_7 \
-pin_name D9 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_8 \
-pin_name B8 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_9 \
-pin_name A8 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_10 \
-pin_name C9 \
set_io -port_name P8_15 \
-pin_name E10 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_11 \
-pin_name C10 \
set_io -port_name P8_16 \
-pin_name A11 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_12 \
-pin_name B9 \
set_io -port_name P8_17 \
-pin_name A10 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_13 \
-pin_name B10 \
set_io -port_name P8_18 \
-pin_name D11 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_14 \
-pin_name F10 \
set_io -port_name P8_19 \
-pin_name C11 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_15 \
-pin_name E10 \
set_io -port_name P8_21 \
-pin_name F12 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_16 \
-pin_name A11 \
set_io -port_name P8_22 \
-pin_name E11 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_17 \
-pin_name A10 \
set_io -port_name P8_23 \
-pin_name D12 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_18 \
-pin_name D11 \
set_io -port_name P8_24 \
-pin_name C12 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_19 \
-pin_name C11 \
set_io -port_name P8_25 \
-pin_name B12 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_26 \
-pin_name A12 \
-fixed true \
......
......@@ -71,3 +71,76 @@ set_io -port_name P9_20 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_PIN3_USER_LED_0 \
-pin_name A7 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_PIN4_USER_LED_1 \
-pin_name D6 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_PIN5_USER_LED_2 \
-pin_name D7 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_PIN6_USER_LED_3 \
-pin_name D8 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_PIN7_USER_LED_4 \
-pin_name D9 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_PIN8_USER_LED_5 \
-pin_name B8 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_PIN9_USER_LED_6 \
-pin_name A8 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_PIN10_USER_LED_7 \
-pin_name C9 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_PIN11_USER_LED_8 \
-pin_name C10 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_PIN12_USER_LED_9 \
-pin_name B9 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_PIN13_USER_LED_10 \
-pin_name B10 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
set_io -port_name P8_PIN14_USER_LED_11 \
-pin_name F10 \
-fixed true \
-io_std LVCMOS33 \
-DIRECTION INOUT
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment