Skip to content

Commit e618962

Browse files
committed
Remove Xlnk and fix bank allocation
1 parent 842e5da commit e618962

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pynq_helloworld/notebooks/pcie/resizer_device.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"import numpy as np\n",
6767
"import matplotlib.pyplot as plt\n",
6868
"%matplotlib inline\n",
69-
"from pynq import Xlnk, Overlay, allocate"
69+
"from pynq import Overlay, allocate"
7070
]
7171
},
7272
{
@@ -243,10 +243,10 @@
243243
" mem_port1 = resize_design.bank1\n",
244244
"elif 'DDR0' in resize_design.mem_dict:\n",
245245
" mem_port0 = resize_design.DDR0\n",
246-
" mem_port0 = resize_design.DDR1\n",
246+
" mem_port1 = resize_design.DDR1\n",
247247
"elif 'HBM0' in resize_design.mem_dict:\n",
248248
" mem_port0 = resize_design.HBM0\n",
249-
" mem_port0 = resize_design.HBM1\n",
249+
" mem_port1 = resize_design.HBM1\n",
250250
"else:\n",
251251
" print(\"Please specify correct mem_port0 and mem_port1.\")"
252252
]

0 commit comments

Comments
 (0)