summaryrefslogtreecommitdiff
path: root/gnuradio-core
AgeCommit message (Collapse)Author
2008-08-18New taps computation based on requested transition bandwidth and stopband ↵n4hy
attenuation. qa code testing each added git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9316 221aa14e-8319-0410-a670-987f0aec2ac5
2008-08-15Trial fix for ticket:258 / integer overflow undefined / phaseeb
accumulator. Thanks to Stefan Bruens and Philip Ballister for working on this. According to the fine print in the C and C++ standards, if a signed integer type overflows, the result is undefined. As of gcc 4.3, gcc was proving that our code was overflowing, and took advantage of the "undefined" result to short circuit the evaluation. Moral of the story: if you're using a fixed point phase accumulator, or anything else where you're counting on overflow happening, be sure that your variable is unsigned. See also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37067 and http://www.airs.com/blog/archives/120 git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9296 221aa14e-8319-0410-a670-987f0aec2ac5
2008-08-14Merged changeset r9241:9289 from jblum/glwxgui into trunk. Adds OpenGL ↵jcorgan
versions of fftsink, waterfallsink, and scopesink, and new constsink. See README.gl for use. (Josh Blum) git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9290 221aa14e-8319-0410-a670-987f0aec2ac5
2008-08-12Refactored unique vector functionality into template.jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9253 221aa14e-8319-0410-a670-987f0aec2ac5
2008-08-12Make gr_basic_block sort deterministic (Martin Dvh)jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9251 221aa14e-8319-0410-a670-987f0aec2ac5
2008-08-06set decimjblum
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9194 221aa14e-8319-0410-a670-987f0aec2ac5
2008-08-06added cpuid for sse3,ssse3,sse4.1, and sse4.2jcoy
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9176 221aa14e-8319-0410-a670-987f0aec2ac5
2008-08-03Better fix for race in logpwrfft.pyjcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9160 221aa14e-8319-0410-a670-987f0aec2ac5
2008-08-01replaced tabs, added sample_rate, fixed average=True bugjblum
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9132 221aa14e-8319-0410-a670-987f0aec2ac5
2008-07-31wrong signeb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9079 221aa14e-8319-0410-a670-987f0aec2ac5
2008-07-24first cut at iq imbalance compensationmatt
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8993 221aa14e-8319-0410-a670-987f0aec2ac5
2008-07-22Add gr_costas_loop_cc setters and gettersjcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8966 221aa14e-8319-0410-a670-987f0aec2ac5
2008-07-21efficient moving average filters, should speed up OFDM significantlymatt
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8965 221aa14e-8319-0410-a670-987f0aec2ac5
2008-07-09Merged jcorgan/ptrfix -r8827:8843 into the trunk.eb
Fix that allows C++ classes derived from gr_hier_block2 to use the new self() method to get a magic object that can be passed to connect or disconnect to refer to their own inputs and outputs. Note that the constructor wrapper of all classes derived from gr_hier_block2 (and thus gr_top_block too) MUST USE the new gnuradio::get_initial_sptr function to get the initial shared pointer. gnuradio::get_initial_sptr works on all block types, and should be used in all new code. See qa_gr_hier_block2_derived.{h,cc} for an example. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8844 221aa14e-8319-0410-a670-987f0aec2ac5
2008-07-09Add some getter methodsjcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8836 221aa14e-8319-0410-a670-987f0aec2ac5
2008-07-09fix for ticket:250eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8835 221aa14e-8319-0410-a670-987f0aec2ac5
2008-07-05Fix block names.jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8803 221aa14e-8319-0410-a670-987f0aec2ac5
2008-07-05Fix block name.jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8802 221aa14e-8319-0410-a670-987f0aec2ac5
2008-07-05Adds blks2.logpwrfft_c,f blocks.jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8801 221aa14e-8319-0410-a670-987f0aec2ac5
2008-07-05Adds blks2.stream_to_vector_decimator block.jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8799 221aa14e-8319-0410-a670-987f0aec2ac5
2008-07-04fixed broken link in filterbank commentn4hy
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8789 221aa14e-8319-0410-a670-987f0aec2ac5
2008-06-25distcheck fixeb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8708 221aa14e-8319-0410-a670-987f0aec2ac5
2008-06-24removed is_running method from gr_top_blockeb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8689 221aa14e-8319-0410-a670-987f0aec2ac5
2008-06-23Backed out [8669]. Better fix for removing cruft from opreporteb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8685 221aa14e-8319-0410-a670-987f0aec2ac5
2008-06-23in SIMD assmebler, changed .cleanup to a local symboleb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8684 221aa14e-8319-0410-a670-987f0aec2ac5
2008-06-23Renamed benchmark_dotprod to benchmark_dotprod_fff (which it really was).eb
Added new script, benchmark_dotprod, which runs all dotprods. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8674 221aa14e-8319-0410-a670-987f0aec2ac5
2008-06-23Renamed labels .loop1 and .loop2 to include name of file they're contained in.eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8669 221aa14e-8319-0410-a670-987f0aec2ac5
2008-06-23merged refactoring of gr_top_block_impl into abstract base classeb
gr_top_block_impl and concrete class gr_top_block_impl_sts from eb/mp-sched r8447:8660. No change in functionality or behavior. Paves the way for development of multiprocessor aware scheduler. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8665 221aa14e-8319-0410-a670-987f0aec2ac5
2008-06-23removed duplicate assignmenteb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8663 221aa14e-8319-0410-a670-987f0aec2ac5
2008-06-10Fixes ticket:246jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8569 221aa14e-8319-0410-a670-987f0aec2ac5
2008-06-10Applied patch from Dean Armstrong to fix gr_repeat (ticket:246). eb
The QA code was not updated to detect the bug and should still be sorted out. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8568 221aa14e-8319-0410-a670-987f0aec2ac5
2008-05-26Added rewind() and clear() to vector sources and sinks. This is usefuleb
when doing automatic testing of a block (e.g. BER vs SNR). Patch from Andreas Müller. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8509 221aa14e-8319-0410-a670-987f0aec2ac5
2008-05-26channel_model.py now allows to set the random seed for the noiseeb
source via __init__ and adds a function to set the timing offset. (Patch from Andreas Müller.) git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8508 221aa14e-8319-0410-a670-987f0aec2ac5
2008-05-20Expose flowgraph debugging dump as gr.top_block.dump(). May or may not be ↵jcorgan
suitable for ticket:245 git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8466 221aa14e-8319-0410-a670-987f0aec2ac5
2008-05-19Fix breakage introduced in r6228 (Josh Blum)jcorgan
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8441 221aa14e-8319-0410-a670-987f0aec2ac5
2008-05-08better fix for ticket:243eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8324 221aa14e-8319-0410-a670-987f0aec2ac5
2008-05-08fix for ticket:243eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8318 221aa14e-8319-0410-a670-987f0aec2ac5
2008-05-08Applied patches from Don Ward.eb
(1) Close out_f before removing it in gnuradio-core/src/python/gnuradio/gr/qa_wavefile.py (to prevent make check failure). (2) Don't permanently change PATH in config/sdl.m4 (to prevent real problems in MinGW and potential problems for any code that runs after sdl.m4 and depends on PATH). git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8316 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-30Potentially invalid read deferred until it's valid (Dan Halperin)eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8296 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-30Tweaks for gcc 4.3 based on patch from Marek Mahut <mmahut@fedoraproject.org>.eb
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8292 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-24Merged changeset r8231:8270 from jcorgan/merge-fix into trunk. Fixes ↵jcorgan
flowgraph reconfiguration bug reported by Tim O'Shea and Mark Schneider. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8271 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-22Merged eb/gcell -r8215:8243 into trunk. This adds gr-gcell, the GNUeb
Radio interface to the Cell Broadband Engine. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8244 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-18Improved performance of the ML sync (with added computations). It uses the ↵trondeau
energy calculation to normalize the correlation and the timing sequence and correlation together to determine the timing. This works for frequencies of +-0.6 offset, which is a limiting factor still in the performance but better than the previous checkin. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8222 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-17Improved the pnac ofdm sync block. This is based on a VTC'99 paper by ↵trondeau
Tufvesson, et al. that does a bit more work than the Schmidl and Cox to produce a more identifiable peak for the timing. This seems to work well in the simulation for low frequency errors. The correlation doesn't seem to track well, though. See the comments for more info. Also, the peak detection requires unity amplitude for the threshold detection. So, who wants to make an OFDM AGC? git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8217 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-16to complete what I started, this makes the ofdm_sync_fixed block work again ↵trondeau
in the OFDM receiver. Its only used for testing in the simulation mode if you want to remove any affects of the synchronization blocks. You have to manually edit the number of symbols and any fractional frequency offset you might want to use. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8213 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-16The ofdm_sync_pnac method now works, though not that well. The frequency ↵trondeau
estimation is horrible and it still has some problems that may be a fundamental issue with the idea. I need to get the paper this was based off of to review it. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8212 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-15Fixed to pass distcheck, except QA test operates differently during ↵jcorgan
distcheck vs. command-line, so commented out for now. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8207 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-15Merged r8195:8205 from jcorgan/ecc into trunk. Adds convolutional encoderjcorgan
and decoder corresponding to the R=1/2, K=7 CCSDS standard ("Voyager"). This code is a GNU Radio wrapper around a 1995-era KA9Q portable-C implementation, and is designed for continuous streaming data, not packets. The encoder takes MSB packed bytes and outputs channel symbols 0 or 1. The decoder uses soft-decision Viterbi decoding on a floating point stream of (possibly noise corrupted) [1.0, 1.0] symbols, and outputs MSB packed decoded bytes. Benchmarking on a 2.16 GHz Intel Core 2 Duo shows 4.7 Mbps decoding rate at 100% CPU usage (single core). (There is a newer KA9Q library that implements SIMD speed ups with correspondingly faster performance.) The KA9Q library is placed into src/lib/viterbi. It could use some cleanup, file/function renaming, and refactoring, or even replacement with the newer libfec code that is available. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8206 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-15Mostly fixed the van de Beek ML synchronization scheme. Instead of using the ↵trondeau
CP timing signal, it correlates against the known preamble just to send along the timing trigger. This works nicely and keeps the frequency more constant in the receiver since it updates the estimate every received symbol. Read the comments inside to see why it's 'mostly fixed' -- this was mostly proving a point for myself today. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8199 221aa14e-8319-0410-a670-987f0aec2ac5
2008-04-15Adjusting structure a bit to redistribute responsibilities. This does not ↵trondeau
change the behavior or performance at all. The sync. block only calculates the frequency and timing signals and now outputs the fine frequency adjustment signal from output 0 and the timing signal for the start of the packet from output 1. git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@8198 221aa14e-8319-0410-a670-987f0aec2ac5