<div dir="ltr">Hi,<div><br></div><div>I switched to another computer with 32-bit Ubuntu 10.04 LTS and ISE 12.1. The build process is successful.</div><div><br></div><div>Best regards,</div><div>Cheng Chi</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 3, 2014 at 2:01 PM, Cheng Chi <span dir="ltr"><<a href="mailto:ch0004hi@e.ntu.edu.sg" target="_blank">ch0004hi@e.ntu.edu.sg</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi Ian,<br><br></div><div>The custom module I am including:<br><a href="https://gist.github.com/anonymous/2ac26c650ff3b87b6c61" target="_blank">https://gist.github.com/anonymous/2ac26c650ff3b87b6c61</a><br></div>
<div><br></div>The makefile I am using:<br><a href="https://gist.github.com/anonymous/13d361d0e63133754ff9" target="_blank">https://gist.github.com/anonymous/13d361d0e63133754ff9</a><br><br></div>The shell output:<br><a href="https://gist.github.com/anonymous/67f7a221032f7fbba749" target="_blank">https://gist.github.com/anonymous/67f7a221032f7fbba749</a><br>
<br>The build.log:<br><a href="https://gist.github.com/anonymous/f4b1133e538f84668256" target="_blank">https://gist.github.com/anonymous/f4b1133e538f84668256</a><br><br></div><div>Bash script I am using:<br>```<span class=""><br>#! /bin/bash  <br><br>export LM_LICENSE_FILE=/home/usrp/Downloads/Xilinx.lic<br>
export XILINXD_LICENSE_FILE=/home/usrp/Downloads/Xilinx.lic<br><br></span><span class="">cd /opt/Xilinx/12.2/ISE_DS<br>source ./settings64.sh     # sets up path and other shell variables<br><br>LD_LIBRARY_PATH=/usr/lib:/lib:${LD_LIBRARY_PATH}<br>
<br></span>cd /home/usrp/uhd/fpga/usrp2/top/N2x0<br>make -f Makefile.custom 2>&1 | tee logfile<br>```<br></div><div><br></div><div>I didn't write any custom module, all the files were from UHD source files. I have no problem sharing the code you need.<br>
</div><div><br></div>Best regards,<br>Cheng Chi<br><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 3, 2014 at 1:02 AM, Ian Buckley via USRP-users <span dir="ltr"><<a href="mailto:usrp-users@lists.ettus.com" target="_blank">usrp-users@lists.ettus.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Cheng Chi,<div>I'm curious to know if you see any error messages about shared library problems …these will not appear in build.log because they are sent to STDERR not STDOUT. They will look like this snippet:</div>
<div><br></div><div><div>2ac237c49000-2ac237c5d000 r-xp 00000000 08:01 15090915                   /opt/Xilinx/12.1/ISE_DS/ISE/lib/lin64/libHdcC_PartitionHelper.so</div><div>2ac237c5d000-2ac237d5c000 ---p 00014000 08:01 15090915                   /opt/Xilinx/12.1/ISE_DS/ISE/lib/lin64/libHdcC_PartitionHelper.so</div>
<div>2ac237d5c000-2ac237d5e000 rw-p 00013000 08:01 15090915                   /opt/Xilinx/12.1/ISE_DS/ISE/lib/lin64/libHdcC_PartitionHelper.so</div><div>2ac237f5f000-2ac238360000 rw-p 00000000 00:00 0 </div><div>7fffbb676000-7fffbb773000 rw-p 00000000 00:00 0                          [stack]</div>
<div>7fffbb7d6000-7fffbb7d7000 r-xp 00000000 00:00 0                          [vdso]</div><div>ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]</div><div>INFO:TclTasksC:1850 - process run : Generate Programming File is done.</div>
<div>lk/wr_rst_reg_0)            | 2     |</div><div>u2p_c/simple_gemac_wrapper/tx_2clk_fifo/fifo_2clock/..fifo_xlnx_512x36_2clk/BU2/U0/grf.rf/rstblk/wr_rst_comb(u2p_c/simple_gemac_wrapper/tx_2clk_fifo/fifo_2clock/..fifo_xlnx_512x36_2clk/BU2/U0/grf.rf/rstblk/wr_rst_comb1:O) | NONE(u2p_c/simple_gemac_wrapper/tx_2clk_fifo/fifo_2clock/..fifo_xlnx_512x36_2clk/BU2/U0/grf.rf/rstblk/wr_rst_reg_0)           | 2     |</div>
<div>u2p_c/sysctrl/POR(u2p_c/sysctrl/POR:Q)                                                                                                                                                                                        | NONE(u2p_c/sysctrl/ram_loader_rst_o)    </div>
<div><br></div><div>You will see them in the shell or you can capture to file using:</div><div><br></div><div>make -f Makefile.N210R4 2>&1 | tee logfile</div><span><font color="#888888"><div><br></div>
<div>-Ian</div></font></span><div><br></div><div>p.s We can only help with you verilog syntax error if you share the code that has the error</div><div><div><div><br></div><div><br></div><div><div>On Sep 1, 2014, at 10:45 PM, Cheng Chi <<a href="mailto:ch0004hi@e.ntu.edu.sg" target="_blank">ch0004hi@e.ntu.edu.sg</a>> wrote:</div>
<br><blockquote type="cite"><div dir="ltr"><div><div>Hi Ian,<br><br>Thanks for your reply.<br><br></div>I found an earlier discussion on the mailing list, someone solved the problem by removing the #(.WIDTH(WIDTH)) reference from the line. Is it the right way to do? (I am not familiar with verilog syntax)<br>


<br><br></div><div>I just ran another test. I didn't include any custom module, and ran `make -f Makefile.N200R4 bin`. I only changed the BUILD_DIR for Makefile.N200R4 bin as below. I am still having the same Process "Synthesize - XST" failed. But this time, I didn't see the syntax error as last time.<br>


<br></div><div>##################################################<br># Project Setup<br>##################################################<br>TOP_MODULE = u2plus<br>
# BUILD_DIR = $(abspath build$(ISE)-N200R4)<br>BUILD_DIR = /home/usrp/uhd/fpga/usrp2/top/N2x0/build-custom<br><br># set me in a custom makefile<br>CUSTOM_SRCS =<br>CUSTOM_DEFS =<br><br></div><div>The output of bash terminal:<br>


<a href="https://gist.github.com/anonymous/97dacf1b758727ae6b1a" target="_blank">https://gist.github.com/anonymous/97dacf1b758727ae6b1a</a><br><br></div><div>The build.log file:<br><a href="https://gist.github.com/anonymous/1ce58109a930ee338e6a" target="_blank">https://gist.github.com/anonymous/1ce58109a930ee338e6a</a><br>


</div><div><br></div><div>Best regards,<br>Cheng Chi<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Sep 2, 2014 at 12:12 PM, Ian Buckley via USRP-users <span dir="ltr"><<a href="mailto:usrp-users@lists.ettus.com" target="_blank">usrp-users@lists.ettus.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Cheng Chi,<div>The clue is here: </div><div><br></div><div><pre style="word-wrap:break-word;white-space:pre-wrap">ERROR:HDLCompiler:806 - "/home/usrp/uhd/fpga/usrp2/sdr_lib/dsp_rx_glue.v" Line
   66: Syntax error near "#".
ERROR:HDLCompiler:806 - "/home/usrp/uhd/fpga/usrp2/sdr_lib/dsp_rx_glue.v" Line
   96: Syntax error near "endgenerate".</pre></div><div><pre style="word-wrap:break-word"><font face="Helvetica"><span style="white-space:normal">-Ian</span></font></pre><pre style="word-wrap:break-word"><font face="Helvetica"><span style="white-space:normal"><br>


</span></font></pre><div><div><div><div>On Sep 1, 2014, at 8:56 PM, Cheng Chi via USRP-users <<a href="mailto:usrp-users@lists.ettus.com" target="_blank">usrp-users@lists.ettus.com</a>> wrote:</div><br></div>

</div><blockquote type="cite"><div><div><div dir="ltr">Hi,<div><br></div><div>I am trying to build custom image for N200 with the following setup:<br></div><div>- Ubuntu 12.04, 64 bit<br></div><div>- ISE 12.2<br>

</div><div>- Free license download from Xilinx website<br>

<br>However, after several minutes of compiling, there is this error Process "Synthesize - XST" failed - Xilinx. <br><br>The detail build log is uploaded here:<br><a href="https://gist.github.com/anonymous/1ed97d93fbf879990500" target="_blank">https://gist.github.com/anonymous/1ed97d93fbf879990500</a><br>




<br></div><div>The Makefile.custom I am using:<br><a href="https://gist.github.com/anonymous/3049cc02064250f80d6b" target="_blank">https://gist.github.com/anonymous/3049cc02064250f80d6b</a><br><br></div><div><br></div><div>


I am following this guide for building customized image:<br>

<a href="http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/2013-April/006558.html" target="_blank">http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/2013-April/006558.html</a><br><br></div><div>The PATH environment:<br>




/opt/Xilinx/12.2/ISE_DS/common/bin/lin64:/opt/Xilinx/12.2/ISE_DS/PlanAhead/bin:/opt/Xilinx/12.2/ISE_DS/ISE/bin/lin64:/opt/Xilinx/12.2/ISE_DS/ISE/sysgen/util:/opt/Xilinx/12.2/ISE_DS/EDK/bin/lin64:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games<br>




</div><div><br>The bash file I am using for building:<br>#! /bin/bash  <br><br>export LM_LICENSE_FILE=/home/usrp/Downloads/Xilinx.lic<br>export XILINXD_LICENSE_FILE=/home/usrp/Downloads/Xilinx.lic<br><br>LD_LIBRARY_PATH=/usr/lib:/lib:${LD_LIBRARY_PATH}<br>




<br>cd /opt/Xilinx/12.2/ISE_DS<br>source ./settings64.sh     # sets up path and other shell variables<br>cd /home/usrp/uhd/fpga/usrp2/top/N2x0<br>make -f Makefile.custom bin<br></div><div><br></div><div>Thanks for any help you can provide in this situation.<br>




</div><div><br></div><div>Best regards,<br>Cheng Chi<br></div><div><br><br>
</div></div></div></div>
_______________________________________________<br>USRP-users mailing list<br><a href="mailto:USRP-users@lists.ettus.com" target="_blank">USRP-users@lists.ettus.com</a><br><a href="http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com" target="_blank">http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com</a><br>


</blockquote></div><br></div></div><br>_______________________________________________<br>
USRP-users mailing list<br>
<a href="mailto:USRP-users@lists.ettus.com" target="_blank">USRP-users@lists.ettus.com</a><br>
<a href="http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com" target="_blank">http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div></div></div></div><br>_______________________________________________<br>
USRP-users mailing list<br>
<a href="mailto:USRP-users@lists.ettus.com" target="_blank">USRP-users@lists.ettus.com</a><br>
<a href="http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com" target="_blank">http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div>