Skip to content

Commit 368e5de

Browse files
authored
Merge pull request #2 from dnorthcote/master
Fix Error in strath_sdfec.bit for ZCU208
2 parents 2f4d30b + cb6c745 commit 368e5de

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

boards/ZCU208/strath_sdfec/strath_sdfec.tcl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
################################################################
3-
# This is a generated script based on design: block_design
3+
# This is a generated script based on design: strath_sdfec
44
#
55
# Though there are limitations about the generated script,
66
# the main purpose of this utility is to make learning
@@ -35,7 +35,7 @@ if { [string first $scripts_vivado_version $current_vivado_version] == -1 } {
3535
################################################################
3636

3737
# To test this script, run the following commands from Vivado Tcl console:
38-
# source block_design_script.tcl
38+
# source strath_sdfec_script.tcl
3939

4040
# If there is no project opened, this script will create a
4141
# project, but make sure you do not have an existing project
@@ -2147,8 +2147,9 @@ proc create_root_design { parentCell } {
21472147
# Create port connections
21482148
connect_bd_net -net M00_ACLK_1 [get_bd_pins axi_interconnect_ps_master/ACLK] [get_bd_pins axi_interconnect_ps_master/S00_ACLK] [get_bd_pins axi_interconnect_ps_slave/ACLK] [get_bd_pins axi_interconnect_ps_slave/M00_ACLK] [get_bd_pins rst_pl_clk0/slowest_sync_clk] [get_bd_pins zynq_ultra_ps_e_0/maxihpm0_fpd_aclk] [get_bd_pins zynq_ultra_ps_e_0/pl_clk0] [get_bd_pins zynq_ultra_ps_e_0/saxihp0_fpd_aclk]
21492149
connect_bd_net -net axi_intc_0_irq [get_bd_pins axi_intc_0/irq] [get_bd_pins zynq_ultra_ps_e_0/pl_ps_irq0]
2150-
connect_bd_net -net clk_wiz_0_clk_667M [get_bd_pins clk_wiz/clk_out1] [get_bd_pins ldpc_decoder/clk_667M] [get_bd_pins ldpc_encoder/clk_667M] [get_bd_pins rst_clk_wiz_50M/dcm_locked]
2150+
connect_bd_net -net clk_wiz_0_clk_667M [get_bd_pins clk_wiz/clk_out1] [get_bd_pins ldpc_decoder/clk_667M] [get_bd_pins ldpc_encoder/clk_667M]
21512151
connect_bd_net -net clk_wiz_0_clk_out1 [get_bd_pins axi_intc_0/s_axi_aclk] [get_bd_pins axi_interconnect_ps_master/M00_ACLK] [get_bd_pins axi_interconnect_ps_master/M01_ACLK] [get_bd_pins axi_interconnect_ps_master/M02_ACLK] [get_bd_pins axi_interconnect_ps_slave/S00_ACLK] [get_bd_pins axi_interconnect_ps_slave/S01_ACLK] [get_bd_pins clk_wiz/clk_out2] [get_bd_pins ldpc_decoder/clk_50M] [get_bd_pins ldpc_encoder/clk_50M] [get_bd_pins rst_clk_wiz_50M/slowest_sync_clk]
2152+
connect_bd_net -net clk_wiz_locked [get_bd_pins clk_wiz/locked] [get_bd_pins rst_clk_wiz_50M/dcm_locked]
21522153
connect_bd_net -net interconnect_reset_1 [get_bd_pins ldpc_decoder/interconnect_reset] [get_bd_pins ldpc_encoder/interconnect_reset] [get_bd_pins rst_clk_wiz_50M/interconnect_aresetn]
21532154
connect_bd_net -net ldpc_decoder_dout [get_bd_pins ldpc_decoder/intr] [get_bd_pins xlconcat_intr/In1]
21542155
connect_bd_net -net ldpc_encoder_dout [get_bd_pins ldpc_encoder/intr] [get_bd_pins xlconcat_intr/In0]

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,12 @@ def __init__(self,
1414
pynq_version,
1515
board):
1616

17+
cwd = os.getcwd()
1718
args = locals()
1819
for key in args:
1920
if key != 'self':
2021
setattr(self, key, args[key])
21-
if os.path.isdir(f'boards/{self.board}/{self.name}'):
22+
if os.path.isdir(os.path.join(cwd, 'boards', self.board)):
2223
self.copy_projects()
2324
self.run_setup()
2425

0 commit comments

Comments
 (0)