Skip to content

Commit

Permalink
Updated the top level scripts so they import the RPi constraints
Browse files Browse the repository at this point in the history
Renamed PBx to SWx in the test bench Tcl to match the updated names from the SmartDesign
  • Loading branch information
hughbreslin committed Jan 22, 2021
1 parent 9ec5f16 commit 15e52b8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion ICICLE_KIT_SD_CARD.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ import_files \
-io_pdc "${constraint_path}/ICICLE_MMUART3.pdc" \
-io_pdc "${constraint_path}/ICICLE_PCIE.pdc" \
-io_pdc "${constraint_path}/ICICLE_USB.pdc" \
-io_pdc "${constraint_path}/ICICLE_SDIO.pdc"
-io_pdc "${constraint_path}/ICICLE_SDIO.pdc" \
-io_pdc "${constraint_path}/ICICLE_RPi.pdc"

organize_tool_files -tool {PLACEROUTE} -file "${project_dir}/constraint/io/ICICLE_CAN0.pdc" -file "${project_dir}/constraint/io/ICICLE_MIKROBUS.pdc" -file "${project_dir}/constraint/io/ICICLE_SDIO.pdc" -file "${project_dir}/constraint/io/ICICLE_USB.pdc" -file "${project_dir}/constraint/io/ICICLE.pdc" -file "${project_dir}/constraint/io/ICICLE_MAC.pdc" -file "${project_dir}/constraint/io/ICICLE_PCIE.pdc" -file "${project_dir}/constraint/io/ICICLE_MMUART0.pdc" -file "${project_dir}/constraint/io/ICICLE_MMUART1.pdc" -file "${project_dir}/constraint/io/ICICLE_MMUART3.pdc" -file "${project_dir}/constraint/io/ICICLE_MMUART2.pdc" -file "${project_dir}/constraint/io/ICICLE_RPi.pdc" -module {MPFS_ICICLE_KIT_BASE_DESIGN::work} -input_type {constraint}
derive_constraints_sdc
Expand Down
3 changes: 2 additions & 1 deletion ICICLE_KIT_eMMC.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ import_files \
-io_pdc "${constraint_path}/ICICLE_MMUART3.pdc" \
-io_pdc "${constraint_path}/ICICLE_PCIE.pdc" \
-io_pdc "${constraint_path}/ICICLE_USB.pdc" \
-io_pdc "${constraint_path}/ICICLE_SDIO.pdc"
-io_pdc "${constraint_path}/ICICLE_SDIO.pdc" \
-io_pdc "${constraint_path}/ICICLE_RPi.pdc"

organize_tool_files -tool {PLACEROUTE} -file "${project_dir}/constraint/io/ICICLE_CAN0.pdc" -file "${project_dir}/constraint/io/ICICLE_MIKROBUS.pdc" -file "${project_dir}/constraint/io/ICICLE_SDIO.pdc" -file "${project_dir}/constraint/io/ICICLE_USB.pdc" -file "${project_dir}/constraint/io/ICICLE.pdc" -file "${project_dir}/constraint/io/ICICLE_MAC.pdc" -file "${project_dir}/constraint/io/ICICLE_PCIE.pdc" -file "${project_dir}/constraint/io/ICICLE_MMUART0.pdc" -file "${project_dir}/constraint/io/ICICLE_MMUART1.pdc" -file "${project_dir}/constraint/io/ICICLE_MMUART3.pdc" -file "${project_dir}/constraint/io/ICICLE_MMUART2.pdc" -file "${project_dir}/constraint/io/ICICLE_RPi.pdc" -module {MPFS_ICICLE_KIT_BASE_DESIGN::work} -input_type {constraint}
derive_constraints_sdc
Expand Down
8 changes: 4 additions & 4 deletions script_support/simulation/Test_bench.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ sd_instantiate_component -sd_name ${sd_tb_name} -component_name {RESET_GEN_C0} -

# Make connections
sd_connect_pins -sd_name ${sd_tb_name} -pin_names {"RESET_GEN_C0_0:RESET" "MPFS_ICICLE_KIT_BASE_DESIGN_0:PCIE_1_PERST_N"}
sd_connect_pins -sd_name ${sd_tb_name} -pin_names {"RESET_GEN_C0_0:RESET" "MPFS_ICICLE_KIT_BASE_DESIGN_0:PB3"}
sd_connect_pins -sd_name ${sd_tb_name} -pin_names {"RESET_GEN_C0_0:RESET" "MPFS_ICICLE_KIT_BASE_DESIGN_0:SW4"}
sd_connect_pins -sd_name ${sd_tb_name} -pin_names {"CLK_GEN_C0_0:CLK" "MPFS_ICICLE_KIT_BASE_DESIGN_0:REFCLK"}
sd_connect_pins -sd_name ${sd_tb_name} -pin_names {"CLK_GEN_C0_0:CLK" "MPFS_ICICLE_KIT_BASE_DESIGN_0:REFCLK_N"}
sd_invert_pins -sd_name ${sd_tb_name} -pin_names {"MPFS_ICICLE_KIT_BASE_DESIGN_0:REFCLK_N"}
Expand All @@ -37,10 +37,10 @@ sd_connect_pins_to_constant -sd_name ${sd_tb_name} -pin_names {MPFS_ICICLE_KIT_B
sd_connect_pins_to_constant -sd_name ${sd_tb_name} -pin_names {MPFS_ICICLE_KIT_BASE_DESIGN_0:USB_CLK} -value {GND}
sd_connect_pins_to_constant -sd_name ${sd_tb_name} -pin_names {MPFS_ICICLE_KIT_BASE_DESIGN_0:MMUART_1_RXD_F2M} -value {GND}
sd_connect_pins_to_constant -sd_name ${sd_tb_name} -pin_names {MPFS_ICICLE_KIT_BASE_DESIGN_0:USB_DIR} -value {GND}
sd_connect_pins_to_constant -sd_name ${sd_tb_name} -pin_names {MPFS_ICICLE_KIT_BASE_DESIGN_0:PB0} -value {GND}
sd_connect_pins_to_constant -sd_name ${sd_tb_name} -pin_names {MPFS_ICICLE_KIT_BASE_DESIGN_0:SW1} -value {GND}
sd_connect_pins_to_constant -sd_name ${sd_tb_name} -pin_names {MPFS_ICICLE_KIT_BASE_DESIGN_0:USB_NXT} -value {GND}
sd_connect_pins_to_constant -sd_name ${sd_tb_name} -pin_names {MPFS_ICICLE_KIT_BASE_DESIGN_0:PB2} -value {GND}
sd_connect_pins_to_constant -sd_name ${sd_tb_name} -pin_names {MPFS_ICICLE_KIT_BASE_DESIGN_0:PB1} -value {GND}
sd_connect_pins_to_constant -sd_name ${sd_tb_name} -pin_names {MPFS_ICICLE_KIT_BASE_DESIGN_0:SW3} -value {GND}
sd_connect_pins_to_constant -sd_name ${sd_tb_name} -pin_names {MPFS_ICICLE_KIT_BASE_DESIGN_0:SW2} -value {GND}
sd_connect_pins_to_constant -sd_name ${sd_tb_name} -pin_names {MPFS_ICICLE_KIT_BASE_DESIGN_0:MMUART_0_RXD_F2M} -value {GND}
sd_connect_pins_to_constant -sd_name ${sd_tb_name} -pin_names {MPFS_ICICLE_KIT_BASE_DESIGN_0:SPI_1_DI} -value {GND}
sd_connect_pins_to_constant -sd_name ${sd_tb_name} -pin_names {MPFS_ICICLE_KIT_BASE_DESIGN_0:MMUART_2_RXD_F2M} -value {GND}
Expand Down

0 comments on commit 15e52b8

Please sign in to comment.