Usrp_n200_r3_fpga.bin build error

All,

I am trying to modify the USRP N200 FPGA so as to mute the ADC when TX
section is enabled inside my flow graph. However, when I try to build
the usrp_n200_r3_fpga.bin file, I get below error message which I don’t
understand:

l-ece109:N2x0$ make -f Makefile.N200R3 bin
python
/nfs/s-l011/local/vol02/m/mrahmn/Desktop/UHD/uhd/fpga/usrp2/top/python/check_inout.py
u2plus.v u2plus.ucf
No errors found.
xtclsh
/nfs/s-l011/local/vol02/m/mrahmn/Desktop/UHD/uhd/fpga/usrp2/top/tcl/ise_helper.tcl
“Check Syntax”

Opening project:
/nfs/s-l011/local/vol02/m/mrahmn/Desktop/UHD/uhd/fpga/usrp2/top/N2x0/build-N200R3/u2plus.xise
Changed current working directory to the project directory:
“/nfs/s-l011/local/vol02/m/mrahmn/Desktop/UHD/uhd/fpga/usrp2/top/N2x0/build-N200
R3”

Running Process: Check Syntax
WARNING:TclTasksC:2147 - The default top is not set.
ERROR:TclTasksC:process_082: Default top is empty or is not set. Process
“Check Syntax” is not applicable at this point.
false
while executing
“process run [lindex $argv 0]”
invoked from within
“if [string compare [lindex $argv 0] “”] {
puts “>>> Running Process: [lindex $argv 0]”
process run [lindex $argv 0]
}”
(file
“/nfs/s-l011/local/vol02/m/mrahmn/Desktop/UHD/uhd/fpga/usrp2/top/tcl/ise_helper.tcl”
line 86)
make: *** [check] Error 1

Any ideas on how to fix this?

Thanks in anticipation,
Mahboob

OK, if you have yet to change any files from the default and that is the
result of a build then I strongly suspect the ISE version.
2013.1 has not been used to try to build any of the USRP databases yet.
2012.4 (14.4) is known to work for N200, and production images for N200
as supplied by Ettus are still built using ISE12.1.
I’ll load 2013.1 later today and see if I can reproduce your problems.

Hi Ian,

USRP specific questions (especially FPGA/Hardware) are best directed
at the USRP mailing list, rather than the GNURadio one.

You are right in your suggestion :slight_smile:

It’s hard to say exactly what has caused this error, but basically it;s
failing to identify the module name that is the root/top of the FPGA hierarchy.
I’m curious to know if the following lines are present in
“build-N200R3/u2plus.xise” :


Not exactly, but this is what I see inside u2plus.xise file:

So should I edit it by hand to match what we expect?

To help further more information will be needed:

  • What files in the design have you touched to make your changes

None. But I will do some changes in u2plus_core.v in future.

  • Have you been running ISE in a the gui mode on this project or altered
    Makefiles or scripts.

No.

  • What version of ISE are you using

2013.1

  • Detailed log file of your attempt to compile (make -f Makefile.N200R3 bin 2>&1
    | tee build.log)

See attached.

As a sanity check it might be wise to prove that you can compile
an un-altered version of the FPGA using the same command line first.

This is what I am currently doing.

Thanks,
Mahboob

Correct, all the build products for N series USRP’s are prefixed
“u2plus” when they are generated directly via ISE, the name of the build
directory identifies the specific hardware they are built for.

Hi Ian,

I have tried to build using 14.4; it took me about 40 minutes but
eventually the process finished gracefully. So, we will stick to 14.4
for the time being.

Now, I can see u2plus.bin file in /build-N200R3. I hope this is the
intended file; i.e., it is equivalent to pre-compiled
usrp_n200_fpga_r3.bin file. Right?

Thanks,
Mahboob


From: Ian B. [[email protected]]
Sent: 01 May 2013 11:01
To: Rahman, Muhammad Mahboob Ur
Cc: Ian B.; [email protected] forum;
[email protected] list
Subject: Re: [Discuss-gnuradio] usrp_n200_r3_fpga.bin build error

OK, if you have yet to change any files from the default and that is the
result of a build then I strongly suspect the ISE version.
2013.1 has not been used to try to build any of the USRP databases yet.
2012.4 (14.4) is known to work for N200, and production images for N200
as supplied by Ettus are still built using ISE12.1.
I’ll load 2013.1 later today and see if I can reproduce your problems.