Send USRP-users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of USRP-users digest..."
Today's Topics:
1. uhd firmware and fpga sources (Arun Pillai)
2. Re: uhd firmware and fpga sources (Josh Blum)
3. Re: uhd firmware and fpga sources (Arun Pillai)
4. error building uhd/images (Arun Pillai)
5. Re: error building uhd/images ([email protected])
6. Re: OFDM implementation (Tuan (Johnny) Ta)
7. Re: error building uhd/images (Arun Pillai)
8. timing constraints and resource utilization for usrp2 fpga
code (Arun Pillai)
----------------------------------------------------------------------
Message: 1
Date: Tue, 22 Mar 2011 16:00:19 -0400
From: Arun Pillai <[email protected]>
To: [email protected]
Subject: [USRP-users] uhd firmware and fpga sources
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi,
I was wondering where I can find the latest stable version of the
sources for the UHD firmware and FPGA. Also, what version of Xilinx
should I use for compiling the FPGA code? Also, is there a documentation
page that has this info that I should have been looking at?
Thanks,
Arun
------------------------------
Message: 2
Date: Tue, 22 Mar 2011 14:58:28 -0700
From: Josh Blum <[email protected]>
To: [email protected]
Subject: Re: [USRP-users] uhd firmware and fpga sources
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1
On 03/22/2011 01:00 PM, Arun Pillai wrote:
> Hi,
>
> I was wondering where I can find the latest stable version of the
> sources for the UHD firmware and FPGA. Also, what version of Xilinx
http://code.ettus.com/redmine/ettus/projects/uhd/wiki#Firmware-and-FPGA-images
> should I use for compiling the FPGA code? Also, is there a documentation
We have been using ISE12
> page that has this info that I should have been looking at?
>
take a look at the images/Makefile in the uhd respository for build commands
-Josh
------------------------------
Message: 3
Date: Tue, 22 Mar 2011 20:39:45 -0400
From: Arun Pillai <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: [USRP-users] uhd firmware and fpga sources
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Thanks. I am checking out the uhd directory using:
git://code.ettus.com/ettus/uhd.git
and it gives me host/, firmware/, fpga/, and images/ directories.
Do any of the programs in host/ (especially in examples/) have any
dependencies on the main gnuradio/ code that I checked out using:
git://gnuradio.org/gnuradio.git or can everything in the uhd/ directory
be compiled standalone?
Thanks,
Arun
On 03/22/2011 05:58 PM, Josh Blum wrote:
>
>
> On 03/22/2011 01:00 PM, Arun Pillai wrote:
>> Hi,
>>
>> I was wondering where I can find the latest stable version of the
>> sources for the UHD firmware and FPGA. Also, what version of Xilinx
>
> http://code.ettus.com/redmine/ettus/projects/uhd/wiki#Firmware-and-FPGA-images
>
>> should I use for compiling the FPGA code? Also, is there a documentation
>
> We have been using ISE12
>
>> page that has this info that I should have been looking at?
>>
>
> take a look at the images/Makefile in the uhd respository for build commands
>
> -Josh
>
> _______________________________________________
> USRP-users mailing list
> [email protected]
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
------------------------------
Message: 4
Date: Tue, 22 Mar 2011 21:10:46 -0400
From: Arun Pillai <[email protected]>
To: [email protected]
Subject: [USRP-users] error building uhd/images
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
I am getting the following error when running "make images" under
uhd/images/
cmake: /opt/Xilinx/12.4/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version
`GLIBCXX_3.4.11' not found (required by cmake)
cmake: /opt/Xilinx/12.4/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version
`GLIBCXX_3.4.9' not found (required by cmake)
The full output of the "make images" command is:
mkdir uhd/images/images
cd uhd/images/../firmware/fx2 && rm -rf build
cd uhd/images/../firmware/fx2 && mkdir build
cd uhd/images/../firmware/fx2/build && cmake ../
cmake: /opt/Xilinx/12.4/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version
`GLIBCXX_3.4.11' not found (required by cmake)
cmake: /opt/Xilinx/12.4/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version
`GLIBCXX_3.4.9' not found (required by cmake)
make: *** [/home/rahul/vmimo/uhd/uhd/images/images/usrp1_fw.ihx] Error 1
I am running ubuntu 10.10, the default gcc version is 4.4. I tried going to:
http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-3.4/
but did not find any versions called 3.4.11 or 3.4.9. I tried installing
the highest available version 3.4.6, but got the same error.
Do you know how I can solve this problem?
Thanks,
Arun
------------------------------
Message: 5
Date: Tue, 22 Mar 2011 21:15:12 -0400
From: [email protected]
To: "Arun Pillai" <[email protected]>
Cc: [email protected]
Subject: Re: [USRP-users] error building uhd/images
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes";
format="flowed"
Have you run the Xilinx setup scripts (setttings[32|64].sh found in
the Xilinx directories?
I like to setup a level of indirection, with wrapper scripts pointing
at the Xilinx executables, as they have been historically finicky:
kfleming@wisdom:~$ cat `which ise`
#!/bin/sh
###
### (c) Copyright 2009, Kermin Fleming, MIT
###
source $XILINX_HOME/ISE/settings64.sh
source $XILINX_HOME/EDK/settings64.sh
exec $XILINX_HOME/ISE/bin/lin64/ise "$@"
Quoting "Arun Pillai" <[email protected]>:
> I am getting the following error when running "make images" under uhd/images/
>
> cmake: /opt/Xilinx/12.4/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version
> `GLIBCXX_3.4.11' not found (required by cmake)
> cmake: /opt/Xilinx/12.4/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version
> `GLIBCXX_3.4.9' not found (required by cmake)
>
> The full output of the "make images" command is:
>
> mkdir uhd/images/images
> cd uhd/images/../firmware/fx2 && rm -rf build
> cd uhd/images/../firmware/fx2 && mkdir build
> cd uhd/images/../firmware/fx2/build && cmake ../
> cmake: /opt/Xilinx/12.4/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version
> `GLIBCXX_3.4.11' not found (required by cmake)
> cmake: /opt/Xilinx/12.4/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version
> `GLIBCXX_3.4.9' not found (required by cmake)
> make: *** [/home/rahul/vmimo/uhd/uhd/images/images/usrp1_fw.ihx] Error 1
>
> I am running ubuntu 10.10, the default gcc version is 4.4. I tried going to:
>
> http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-3.4/
>
> but did not find any versions called 3.4.11 or 3.4.9. I tried
> installing the highest available version 3.4.6, but got the same
> error.
>
> Do you know how I can solve this problem?
>
> Thanks,
> Arun
>
> _______________________________________________
> USRP-users mailing list
> [email protected]
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>
------------------------------
Message: 6
Date: Tue, 22 Mar 2011 21:49:14 -0400
From: "Tuan (Johnny) Ta" <[email protected]>
To: Varun Krishnamurthy <[email protected]>
Cc: [email protected], discuss-gnuradio
<[email protected]>
Subject: Re: [USRP-users] OFDM implementation
Message-ID:
<[email protected]>
Content-Type: text/plain; charset="iso-8859-1"
There's not much documentation on the benchmark code rather than what's
included in the folder. You'll need to go through the code to understand its
operation.
johnny
On Tue, Mar 1, 2011 at 3:27 PM, Varun Krishnamurthy <
[email protected]> wrote:
> Hi,
>
> I want to implement OFDM on gnu radio platform.
> Is it possible to simulate the code provided without using the hardware .
> Ben told me to use the Benchmark ofdm code. I wanted to know whether there
> is some documentation for it or not.
>
> Thanking you
> Varun
>
> _______________________________________________
> USRP-users mailing list
> [email protected]
> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.ettus.com/pipermail/usrp-users_lists.ettus.com/attachments/20110322/6505bec4/attachment-0001.html>
------------------------------
Message: 7
Date: Wed, 23 Mar 2011 00:44:29 -0400
From: Arun Pillai <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: [USRP-users] error building uhd/images
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
This is not a xilinx problem, it is a cmake issue due to weird
interaction with the settings64.sh. settings64.sh sets the
LD_LIBRARY_PATH to the ISE/, EDK/ etc. directories of Xilinx. cmake then
looks for libstdc++.so.6, finds the one in Xilinx, and barfs because
that libstdc++ requires some version of g++ which it doesn't find. If I
remove the call to settings64.sh in my .bashrc, I don't have the problem.
So, it seems like Xilinx wants the environment one way - with its
directories at the beginning of the LD_LIBRARY_PATH, and cmake wants it
the other (sensible) way.
I ended up using something similar to your solution. The make files call
xtclsh, not ise, so your method probably won't work directly, but I just
created a xtclsh in /usr/local/bin/ that indirects to the real xtclsh in
a manner similar to yours below, and that solves the problem. Both the
FPGA and firmware now build without clobbering each other.
It would have been much nicer if Xilinx had done the sensible thing
itself, putting wrappers around its executables, rather than polluting
the entire environment with variables only it needs.
Arun
On 3/22/2011 9:15 PM, [email protected] wrote:
> Have you run the Xilinx setup scripts (setttings[32|64].sh found in
> the Xilinx directories?
>
> I like to setup a level of indirection, with wrapper scripts pointing
> at the Xilinx executables, as they have been historically finicky:
>
> kfleming@wisdom:~$ cat `which ise`
> #!/bin/sh
> ###
> ### (c) Copyright 2009, Kermin Fleming, MIT
> ###
> source $XILINX_HOME/ISE/settings64.sh
> source $XILINX_HOME/EDK/settings64.sh
> exec $XILINX_HOME/ISE/bin/lin64/ise "$@"
>
>
> Quoting "Arun Pillai" <[email protected]>:
>
>> I am getting the following error when running "make images" under
>> uhd/images/
>>
>> cmake: /opt/Xilinx/12.4/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version
>> `GLIBCXX_3.4.11' not found (required by cmake)
>> cmake: /opt/Xilinx/12.4/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version
>> `GLIBCXX_3.4.9' not found (required by cmake)
>>
>> The full output of the "make images" command is:
>>
>> mkdir uhd/images/images
>> cd uhd/images/../firmware/fx2 && rm -rf build
>> cd uhd/images/../firmware/fx2 && mkdir build
>> cd uhd/images/../firmware/fx2/build && cmake ../
>> cmake: /opt/Xilinx/12.4/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version
>> `GLIBCXX_3.4.11' not found (required by cmake)
>> cmake: /opt/Xilinx/12.4/ISE_DS/ISE/lib/lin64/libstdc++.so.6: version
>> `GLIBCXX_3.4.9' not found (required by cmake)
>> make: *** [uhd/images/images/usrp1_fw.ihx] Error 1
>>
>> I am running ubuntu 10.10, the default gcc version is 4.4. I tried
>> going to:
>>
>> http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-3.4/
>>
>> but did not find any versions called 3.4.11 or 3.4.9. I tried
>> installing the highest available version 3.4.6, but got the same error.
>>
>> Do you know how I can solve this problem?
>>
>> Thanks,
>> Arun
>>
>> _______________________________________________
>> USRP-users mailing list
>> [email protected]
>> http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
>>
>
>
------------------------------
Message: 8
Date: Wed, 23 Mar 2011 01:44:21 -0400
From: Arun Pillai <[email protected]>
To: [email protected]
Subject: [USRP-users] timing constraints and resource utilization for
usrp2 fpga code
Message-ID: <[email protected]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi,
I downloaded and compiled the UHD fpga code for USRP2 using Xilinx 12.4.
However, its resource utilization seems way higher than the original
non-UHD fpga code that worked with Xilinx 10.3.
For comparison, the UHD device utilization is:
Device Utilization Summary:
Number of BUFGMUXs 8 out of 8 100%
Number of DCMs 3 out of 4 75%
Number of External DIFFMs 3 out of 152 1%
Number of LOCed DIFFMs 3 out of 3 100%
Number of External DIFFSs 3 out of 151 1%
Number of LOCed DIFFSs 3 out of 3 100%
Number of External IOBs 303 out of 333 90%
Number of LOCed IOBs 303 out of 303 100%
Number of MULT18X18s 27 out of 40 67%
Number of RAMB16s 25 out of 40 62%
Number of Slices 16534 out of 20480 80%
Number of SLICEMs 1924 out of 10240 18%
and the non-UHD device utilization is:
Device Utilization Summary:
Number of BUFGMUXs 6 out of 8 75%
Number of DCMs 1 out of 4 25%
Number of External DIFFMs 3 out of 152 1%
Number of LOCed DIFFMs 3 out of 3 100%
Number of External DIFFSs 3 out of 151 1%
Number of LOCed DIFFSs 3 out of 3 100%
Number of External IOBs 259 out of 333 77%
Number of LOCed IOBs 259 out of 259 100%
Number of MULT18X18s 16 out of 40 40%
Number of RAMB16s 32 out of 40 80%
Number of Slices 12027 out of 20480 58%
Number of SLICEMs 1356 out of 10240 13%
(this particular version is using 4 fewer RAMB16s, but that is the only
resource which the UHD version is using fewer of).
Also, the UHD code is failing to meet timing. Is this going to lead to
flakiness or problems when running the code? Are there options I can set
to get the code to meet timing, at the cost of greater compile time?
Thanks,
Arun
------------------------------
_______________________________________________
USRP-users mailing list
[email protected]
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com
End of USRP-users Digest, Vol 7, Issue 38
*****************************************