[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r4608 - gnuradio/branches/developers/jcorgan/glfsr/gnu
From: |
jcorgan |
Subject: |
[Commit-gnuradio] r4608 - gnuradio/branches/developers/jcorgan/glfsr/gnuradio-core/src/python/gnuradio/gr |
Date: |
Fri, 23 Feb 2007 01:48:44 -0700 (MST) |
Author: jcorgan
Date: 2007-02-23 01:48:44 -0700 (Fri, 23 Feb 2007)
New Revision: 4608
Modified:
gnuradio/branches/developers/jcorgan/glfsr/gnuradio-core/src/python/gnuradio/gr/qa_glfsr_source_b.py
Log:
Actually use a maximal length polynomial...
Modified:
gnuradio/branches/developers/jcorgan/glfsr/gnuradio-core/src/python/gnuradio/gr/qa_glfsr_source_b.py
===================================================================
---
gnuradio/branches/developers/jcorgan/glfsr/gnuradio-core/src/python/gnuradio/gr/qa_glfsr_source_b.py
2007-02-23 08:41:40 UTC (rev 4607)
+++
gnuradio/branches/developers/jcorgan/glfsr/gnuradio-core/src/python/gnuradio/gr/qa_glfsr_source_b.py
2007-02-23 08:48:44 UTC (rev 4608)
@@ -31,11 +31,11 @@
self.fg = None
def test_glfsr_source_b(self):
- src = gr.glfsr_source_b(5, False, 0x25)
- expected_result = (1, 1, 1, 0, 1, 0, 1, 1,
- 0, 1, 1, 1, 1, 1, 0, 0,
- 0, 1, 0, 1, 0, 0, 1, 0,
- 0, 0, 0, 0, 1, 1, 1)
+ src = gr.glfsr_source_b(5, False, 0x12)
+ expected_result = (1, 0, 1, 0, 1, 1, 1, 0,
+ 1, 1, 0, 0, 0, 1, 1, 1,
+ 1, 1, 0, 0, 1, 1, 0, 1,
+ 0, 0, 1, 0, 0, 0, 0)
dst = gr.vector_sink_b()
self.fg.connect(src, dst)
self.fg.run()
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r4608 - gnuradio/branches/developers/jcorgan/glfsr/gnuradio-core/src/python/gnuradio/gr,
jcorgan <=