Xilinx / SDAccel_Examples

SDAccel Examples
Other
356 stars 209 forks source link

Using Multiple DDRs #36

Closed aeeshms closed 6 years ago

aeeshms commented 6 years ago

Hi Setting up the multiple DDR using the command below in xocc compiler and linker setting -max_memory_ports all --sp cnn_1.m_axi_gmem0:bank0 --sp cnn_1.m_axi_gmem1:bank1 gives a error:

"make incremental /opt/Xilinx/SDx/2017.1/bin/xocc -t hw_emu --platform xilinx:kcu1500:4ddr-xpr:4.0 --save-temps --report estimate -c -k cnn -g --messageDb cnn_GOOD/cnn.mdb -I"../src" --xp misc:solution_name=_xocc_compile_cnn_GOOD_cnn -max_memory_ports all --sp cnn_1.m_axi_gmem0:bank0 --sp cnn_1.m_axi_gmem1:bank1 -o"cnn_GOOD/cnn.xo" "../src/cnn_convolution.cpp"

/opt/Xilinx/SDx/2017.1/bin/unwrapped/lnx64.o/xocc: invalid option -- 'm' " The sample design fails and gives a error

ted-xie commented 6 years ago

You may have just formatted your command incorrectly. In past experience, the --xp options need to be quote escaped, i.e. --xp "misc:..." instead of --xp misc:....

aeeshms commented 6 years ago

correct command: --max_memory_ports cnn --sp cnn_1.m_axi_gmem0:bank0 --sp cnn_1.m_axi_gmem1:bank1 --sp cnn_2.m_axi_gmem0:bank0 --sp cnn_2.m_axi_gmem1:bank1 --sp cnn_3.m_axi_gmem0:bank0 --sp cnn_3.m_axi_gmem1:bank1 --sp cnn_4.m_axi_gmem0:bank0 --sp cnn_4.m_axi_gmem1:bank1

heeran-xilinx commented 6 years ago

Closing this as correct commands are there in latest Git master.