Skip to content

Commit

Permalink
Enabled CAN0 and CAN1
Browse files Browse the repository at this point in the history
Connected CAN0 fabric ports
Connected CAN1 MSS I/Os
Updated CAN0 constraints and associated with Place and Route
Updated general constraints to set IO standards
Tested booting Linux and running webserver demo
  • Loading branch information
hughbreslin committed Nov 10, 2020
1 parent 0158dd8 commit 4aef117
Show file tree
Hide file tree
Showing 11 changed files with 66 additions and 28 deletions.
2 changes: 1 addition & 1 deletion ICICLE_KIT_SD_CARD.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ create_links \
-io_pdc "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_USB.pdc" \
-io_pdc "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_SDIO.pdc"

organize_tool_files -tool {PLACEROUTE} -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_MIKROBUS.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_SDIO.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_USB.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_MAC.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_PCIE.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_MMUART0.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_MMUART1.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_MMUART3.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_MMUART2.pdc" -module {MPFS_ICICLE_SD_CARD::work} -input_type {constraint}
organize_tool_files -tool {PLACEROUTE} -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_CAN0.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_MIKROBUS.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_SDIO.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_USB.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_MAC.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_PCIE.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_MMUART0.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_MMUART1.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_MMUART3.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_MMUART2.pdc" -module {MPFS_ICICLE_SD_CARD::work} -input_type {constraint}
derive_constraints_sdc
save_project
2 changes: 1 addition & 1 deletion ICICLE_KIT_eMMC.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ create_links \
-io_pdc "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_USB.pdc" \
-io_pdc "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_SDIO.pdc"

organize_tool_files -tool {PLACEROUTE} -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_MIKROBUS.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_SDIO.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_USB.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_MAC.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_PCIE.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_MMUART0.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_MMUART1.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_MMUART3.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_MMUART2.pdc" -module {MPFS_ICICLE_eMMC::work} -input_type {constraint}
organize_tool_files -tool {PLACEROUTE} -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_CAN0.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_MIKROBUS.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_SDIO.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_USB.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_MAC.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_PCIE.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_MMUART0.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_MMUART1.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_MMUART3.pdc" -file "${constraint_path}/ICICLE_IO_CONSTRAINTS/ICICLE_MMUART2.pdc" -module {MPFS_ICICLE_eMMC::work} -input_type {constraint}
derive_constraints_sdc
save_project
10 changes: 7 additions & 3 deletions constraints/ICICLE_IO_CONSTRAINTS/ICICLE_CAN0.pdc
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
set_io -port_name CAN_0_TXBUS_M2F -pin_name B13 -fixed true -DIRECTION OUTPUT

set_io -port_name CAN_0_RXBUS_F2M -pin_name A16 -fixed true -DIRECTION INPUT
set_iobank -bank_name Bank1 \
-vcci 3.30 \
-fixed true \
-update_iostd true
set_io -port_name CAN_0_TXBUS_M2F -pin_name B13 -fixed true -DIRECTION OUTPUT -io_std LVCMOS33
set_io -port_name CAN_0_TX_EBL_M2F -pin_name A17 -fixed true -DIRECTION OUTPUT -io_std LVCMOS33
set_io -port_name CAN_0_RXBUS_F2M -pin_name A16 -fixed true -DIRECTION INPUT -io_std LVCMOS33
22 changes: 13 additions & 9 deletions constraints/ICICLE_IO_CONSTRAINTS/ICICLE_MAC.pdc
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
set_io -port_name VSC_8662_CMODE3 -pin_name D18 -fixed true -DIRECTION OUTPUT
set_io -port_name VSC_8662_CMODE4 -pin_name A18 -fixed true -DIRECTION OUTPUT
set_io -port_name VSC_8662_CMODE5 -pin_name B18 -fixed true -DIRECTION OUTPUT
set_io -port_name VSC_8662_CMODE6 -pin_name A12 -fixed true -DIRECTION OUTPUT
set_io -port_name VSC_8662_CMODE7 -pin_name B12 -fixed true -DIRECTION OUTPUT
set_io -port_name VSC_8662_OSCEN -pin_name E18 -fixed true -DIRECTION OUTPUT
set_io -port_name VSC_8662_PLLMODE -pin_name D12 -fixed true -DIRECTION OUTPUT
set_io -port_name VSC_8662_RESETN -pin_name C12 -fixed true -DIRECTION OUTPUT
set_io -port_name VSC_8662_SRESET -pin_name D16 -fixed true -DIRECTION OUTPUT
set_iobank -bank_name Bank1 \
-vcci 3.30 \
-fixed true \
-update_iostd true
set_io -port_name VSC_8662_CMODE3 -pin_name D18 -fixed true -DIRECTION OUTPUT -io_std LVCMOS33
set_io -port_name VSC_8662_CMODE4 -pin_name A18 -fixed true -DIRECTION OUTPUT -io_std LVCMOS33
set_io -port_name VSC_8662_CMODE5 -pin_name B18 -fixed true -DIRECTION OUTPUT -io_std LVCMOS33
set_io -port_name VSC_8662_CMODE6 -pin_name A12 -fixed true -DIRECTION OUTPUT -io_std LVCMOS33
set_io -port_name VSC_8662_CMODE7 -pin_name B12 -fixed true -DIRECTION OUTPUT -io_std LVCMOS33
set_io -port_name VSC_8662_OSCEN -pin_name E18 -fixed true -DIRECTION OUTPUT -io_std LVCMOS33
set_io -port_name VSC_8662_PLLMODE -pin_name D12 -fixed true -DIRECTION OUTPUT -io_std LVCMOS33
set_io -port_name VSC_8662_RESETN -pin_name C12 -fixed true -DIRECTION OUTPUT -io_std LVCMOS33
set_io -port_name VSC_8662_SRESET -pin_name D16 -fixed true -DIRECTION OUTPUT -io_std LVCMOS33
8 changes: 6 additions & 2 deletions constraints/ICICLE_IO_CONSTRAINTS/ICICLE_MMUART0.pdc
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
set_io -port_name MMUART_0_TXD_M2F -pin_name B14 -fixed true -DIRECTION OUTPUT
set_io -port_name MMUART_0_RXD_F2M -pin_name F15 -fixed true -DIRECTION INPUT
set_iobank -bank_name Bank1 \
-vcci 3.30 \
-fixed true \
-update_iostd true
set_io -port_name MMUART_0_TXD_M2F -pin_name B14 -fixed true -DIRECTION OUTPUT -io_std LVCMOS33
set_io -port_name MMUART_0_RXD_F2M -pin_name F15 -fixed true -DIRECTION INPUT -io_std LVCMOS33
8 changes: 6 additions & 2 deletions constraints/ICICLE_IO_CONSTRAINTS/ICICLE_MMUART1.pdc
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
set_io -port_name MMUART_1_TXD_M2F -pin_name E13 -fixed true -DIRECTION OUTPUT
set_io -port_name MMUART_1_RXD_F2M -pin_name G13 -fixed true -DIRECTION INPUT
set_iobank -bank_name Bank1 \
-vcci 3.30 \
-fixed true \
-update_iostd true
set_io -port_name MMUART_1_TXD_M2F -pin_name E13 -fixed true -DIRECTION OUTPUT -io_std LVCMOS33
set_io -port_name MMUART_1_RXD_F2M -pin_name G13 -fixed true -DIRECTION INPUT -io_std LVCMOS33
7 changes: 6 additions & 1 deletion constraints/ICICLE_IO_CONSTRAINTS/ICICLE_PCIE.pdc
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
set_io -port_name PCIE_1_PERST_N -pin_name D19 -fixed true -DIRECTION INPUT
set_iobank -bank_name Bank1 \
-vcci 3.30 \
-fixed true \
-update_iostd true

set_io -port_name PCIE_1_PERST_N -pin_name D19 -fixed true -DIRECTION INPUT -io_std LVCMOS33

set_io -port_name PCIESS_LANE_RXD0_N \
-pin_name G19 \
Expand Down
7 changes: 6 additions & 1 deletion constraints/ICICLE_IO_CONSTRAINTS/ICICLE_USB.pdc
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
set_io -port_name USB_ULPI_RESET -pin_name A5 -fixed true -DIRECTION OUTPUT
set_iobank -bank_name Bank1 \
-vcci 3.30 \
-fixed true \
-update_iostd true

set_io -port_name USB_ULPI_RESET -pin_name A5 -fixed true -DIRECTION OUTPUT -io_std LVCMOS33
8 changes: 4 additions & 4 deletions script_support/PF_SoC_MSS_Icicle_SD.cfg
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
BANK2_VOLTAGE 3.3
BANK4_VOLTAGE 3.3
BANK5_VOLTAGE 3.3
CAN_0 UNUSED
CAN_0_TX_EBL_N UNUSED
CAN_1 UNUSED
CAN_1_TX_EBL_N UNUSED
CAN_0 FABRIC
CAN_0_TX_EBL_N FABRIC
CAN_1 MSSIO_B2_B
CAN_1_TX_EBL_N MSSIO_B2_B
CAN_CLK_FREQ 80
DDR3_ADDRESS_MIRROR false
DDR3_ADDRESS_ORDERING CHIP_ROW_BANK_COL
Expand Down
8 changes: 4 additions & 4 deletions script_support/PF_SoC_MSS_Icicle_eMMC.cfg
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
BANK2_VOLTAGE 3.3
BANK4_VOLTAGE 3.3
BANK5_VOLTAGE 3.3
CAN_0 UNUSED
CAN_0_TX_EBL_N UNUSED
CAN_1 UNUSED
CAN_1_TX_EBL_N UNUSED
CAN_0 FABRIC
CAN_0_TX_EBL_N FABRIC
CAN_1 MSSIO_B2_B
CAN_1_TX_EBL_N MSSIO_B2_B
CAN_CLK_FREQ 80
DDR3_ADDRESS_MIRROR false
DDR3_ADDRESS_ORDERING CHIP_ROW_BANK_COL
Expand Down
12 changes: 12 additions & 0 deletions script_support/components/MPFS_ICICLE_BASE_DESIGN.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@ sd_create_scalar_port -sd_name ${sd_name} -port_name {PCIESS_LANE_TXD2_N} -port_
sd_create_scalar_port -sd_name ${sd_name} -port_name {PCIESS_LANE_TXD3_P} -port_direction {OUT}
sd_create_scalar_port -sd_name ${sd_name} -port_name {PCIESS_LANE_TXD3_N} -port_direction {OUT}
sd_create_scalar_port -sd_name ${sd_name} -port_name {PCIE_1_PERST_N} -port_direction {IN}
sd_create_scalar_port -sd_name ${sd_name} -port_name {CAN_0_RXBUS_F2M} -port_direction {IN}
sd_create_scalar_port -sd_name ${sd_name} -port_name {CAN_0_TX_EBL_M2F} -port_direction {OUT}
sd_create_scalar_port -sd_name ${sd_name} -port_name {CAN_0_TXBUS_M2F} -port_direction {OUT}
sd_create_scalar_port -sd_name ${sd_name} -port_name {CAN_1_RXBUS} -port_direction {IN}
sd_create_scalar_port -sd_name ${sd_name} -port_name {CAN_1_TX_EBL_N} -port_direction {OUT}
sd_create_scalar_port -sd_name ${sd_name} -port_name {CAN_1_TXBUS} -port_direction {OUT}

sd_create_bus_port -sd_name ${sd_name} -port_name {CA} -port_direction {OUT} -port_range {[5:0]}
sd_create_bus_port -sd_name ${sd_name} -port_name {DQ} -port_direction {INOUT} -port_range {[31:0]}
Expand Down Expand Up @@ -255,6 +261,12 @@ sd_connect_pins -sd_name ${sd_name} -pin_names {"USB_DATA7" "MSS:USB_DATA7" }
sd_connect_pins -sd_name ${sd_name} -pin_names {"USB_DIR" "MSS:USB_DIR" }
sd_connect_pins -sd_name ${sd_name} -pin_names {"USB_NXT" "MSS:USB_NXT" }
sd_connect_pins -sd_name ${sd_name} -pin_names {"USB_STP" "MSS:USB_STP" }
sd_connect_pins -sd_name ${sd_name} -pin_names {"CAN_0_RXBUS_F2M" "MSS:CAN_0_RXBUS_F2M" }
sd_connect_pins -sd_name ${sd_name} -pin_names {"CAN_0_TX_EBL_M2F" "MSS:CAN_0_TX_EBL_M2F" }
sd_connect_pins -sd_name ${sd_name} -pin_names {"CAN_0_TXBUS_M2F" "MSS:CAN_0_TXBUS_M2F" }
sd_connect_pins -sd_name ${sd_name} -pin_names {"CAN_1_RXBUS" "MSS:CAN_1_RXBUS" }
sd_connect_pins -sd_name ${sd_name} -pin_names {"CAN_1_TX_EBL_N" "MSS:CAN_1_TX_EBL_N" }
sd_connect_pins -sd_name ${sd_name} -pin_names {"CAN_1_TXBUS" "MSS:CAN_1_TXBUS" }
sd_connect_pins_to_constant -sd_name ${sd_name} -pin_names {VSC_8662_CMODE3} -value {GND}
sd_connect_pins_to_constant -sd_name ${sd_name} -pin_names {VSC_8662_CMODE4} -value {GND}
sd_connect_pins_to_constant -sd_name ${sd_name} -pin_names {VSC_8662_CMODE5} -value {GND}
Expand Down

0 comments on commit 4aef117

Please sign in to comment.