-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Quarky93
committed
Nov 24, 2022
1 parent
2550aad
commit 2353040
Showing
13 changed files
with
1,031 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Xilinx U55C XDMA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
set script_path [file dirname [file normalize [info script]]] | ||
|
||
create_project -in_memory -part xcu55c-fsvh2892-2L-e | ||
set_property source_mgmt_mode All [current_project] | ||
|
||
# -- [READ FILES] ------------------------------------------------------------- | ||
source "${script_path}/user.tcl" | ||
source "${script_path}/shell.tcl" | ||
read_xdc "${script_path}/io.xdc" | ||
read_xdc "${script_path}/misc.xdc" | ||
read_xdc "${script_path}/floorplan.xdc" | ||
read_verilog "${script_path}/top.v" | ||
# ----------------------------------------------------------------------------- | ||
|
||
# -- [CONFIGURE USER BD] ------------------------------------------------------ | ||
cr_bd_user {} | ||
generate_target all [get_files user.bd] | ||
# ----------------------------------------------------------------------------- | ||
|
||
# -- [CONFIGURE SHELL BD] ----------------------------------------------------- | ||
cr_bd_shell {} | ||
generate_target all [get_files shell.bd] | ||
# ----------------------------------------------------------------------------- | ||
|
||
# -- [COMPILE] ---------------------------------------------------------------- | ||
synth_design -top top | ||
write_checkpoint -force ./post_synth_xilinx_u55n_xdma_gen3x8.dcp | ||
opt_design -directive Explore | ||
place_design -directive Auto_1 | ||
phys_opt_design -directive ExploreWithAggressiveHoldFix | ||
route_design -directive AggressiveExplore | ||
phys_opt_design -directive ExploreWithAggressiveHoldFix | ||
write_checkpoint ./post_route_xilinx_u55n_xdma_gen3x8.dcp | ||
write_bitstream -bin_file -force ./warpshell_xilinx_u55n_xdma_gen3x8.bit | ||
write_abstract_shell -cell user_partition -force ./abstract_warpshell_xilinx_u55n_xdma_gen3x8.dcp | ||
write_cfgmem -force -format mcs -interface spix4 -size 128 -loadbit "up 0x01002000 warpshell_xilinx_u55n_xdma_gen3x8.bit" -file "warpshell_xilinx_u55n_xdma_gen3x8.mcs" | ||
# ----------------------------------------------------------------------------- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
set bd [lindex $argv 0] | ||
set script_path [file dirname [file normalize [info script]]] | ||
|
||
create_project -in_memory -part xcu55c-fsvh2892-2L-e | ||
set_property source_mgmt_mode All [current_project] | ||
|
||
proc commit {} { | ||
validate_bd_design | ||
puts "Writing to: $::script_path/$::bd.tcl" | ||
write_bd_tcl -bd_name $::bd -no_project_wrapper -make_local -force "$::script_path/$::bd.tcl" | ||
} | ||
|
||
source "${script_path}/${bd}.tcl" | ||
|
||
start_gui | ||
|
||
cr_bd_${bd} {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# create_pblock shell_partition | ||
# resize_pblock shell_partition -add {CLOCKREGION_X7Y1:CLOCKREGION_X7Y5} | ||
# add_cells_to_pblock shell_partition [get_cells shell_partition] | ||
# set_property USER_SLR_ASSIGNMENT SLR0 [get_cells {shell_partition/ctrl_firewall shell_partition/dma_firewall}] | ||
|
||
# create_pblock user_partition | ||
# resize_pblock user_partition -add {CLOCKREGION_X0Y4:CLOCKREGION_X6Y7} | ||
# resize_pblock user_partition -add {CLOCKREGION_X7Y6:CLOCKREGION_X7Y7} | ||
# resize_pblock user_partition -add {CLOCKREGION_X0Y0:CLOCKREGION_X6Y3} | ||
# resize_pblock user_partition -add {CLOCKREGION_X7Y0:CLOCKREGION_X7Y0} | ||
# resize_pblock user_partition -remove {IOB_X0Y103 IOB_X0Y98 IOB_X0Y84 IOB_X0Y93 IOB_X0Y94 IOB_X0Y79 IOB_X0Y78} | ||
# add_cells_to_pblock user_partition [get_cells user_partition] | ||
# set_property HD.RECONFIGURABLE TRUE [get_cells user_partition] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# -- [CONFIG] ----------------------------------------------------------------- | ||
set_property CONFIG_VOLTAGE 1.8 [current_design] | ||
set_property BITSTREAM.CONFIG.CONFIGFALLBACK ENABLE [current_design] | ||
set_property BITSTREAM.GENERAL.COMPRESS TRUE [current_design] | ||
set_property CONFIG_MODE SPIx4 [current_design] | ||
set_property BITSTREAM.CONFIG.SPI_BUSWIDTH 4 [current_design] | ||
set_property BITSTREAM.CONFIG.CONFIGRATE 63.8 [current_design] | ||
set_property BITSTREAM.CONFIG.EXTMASTERCCLK_EN DISABLE [current_design] | ||
set_property BITSTREAM.CONFIG.SPI_FALL_EDGE YES [current_design] | ||
set_property BITSTREAM.CONFIG.UNUSEDPIN PULLUP [current_design] | ||
set_property BITSTREAM.CONFIG.SPI_32BIT_ADDR YES [current_design] | ||
# ----------------------------------------------------------------------------- |
Oops, something went wrong.