[hpsdr] Cyclone II with Nios core for SDR
Robert McGwier
rwmcgwier at gmail.com
Tue Dec 12 02:17:28 PST 2006
Murray:
I have not done any NIOS programming but I presume there is a C compiler?
The rate of bug repair on DttSP has slowed to a crawl because there are
very few bug reports on it anymore. Frank and I have removed the last
of the threading lunacy content I put in to deal with what we perceived
as hardware switching problems with the SDR-1000 (which were nonexistent).
DttSP v 2.0 is two different pieces. One is the library of routines and
the other is the reference implementation using jack as the audio system
and expecting a linux-like OS to be the host console/process. You
would need to replace these routines in main and update with routines
that will allow you to communicate with the FPGA/NIOS II core and run
your process under uC/OS-II RTOS.
Good luck!
Bob
Murray Lang wrote:
> ***** High Performance Software Defined Radio Discussion List *****
>
> Hi Jay,
> I know that you learn most from failures, but I need to be selective
> with my spare time these days.
> I've only just discovered DttSP myself, but it seems as good a place as
> any to start. Nios is a DSP IP (Intellectual Property not Internet
> Protocol) core that drops into a Cyclone II FPGA and takes advantage of
> that FPGAs specialised multiplier elements. The development kit also
> comes with a Nios port of the uC/OS-II RTOS, which seems to have all of
> the threading and synchronisation primitives you would need. There's
> plenty of memory on the development board.
>
> I suspect it would be more painstaking than difficult - replace POSIX
> thread and synch calls with uC/OS equivalents; replace FTTW calls with
> whatever the Nios libraries provide; replace I/O calls (now that could
> be painful). The biggest problems I've had in the past with porting
> between operating systems (apart from GUI inconsistencies) is where a
> different thread scheduling algorithm exposes incorrectness in thread
> synchronisation that didn't manifest in the original. Since DttSP has
> already been ported between Linux and Win32, any such bugs should have
> been smoked out.
>
> Anyway, in the absence of alarm bells I'll push ahead.
>
> Murray
>
>
--
AMSAT Director and VP Engineering. Member: ARRL, AMSAT-DL,
TAPR, Packrats, NJQRP, QRP ARCI, QCWA, FRC. ARRL SDR WG Chair
"If you board the wrong train, it is no use running along the
corridor in the other direction. " - Dietrich Bonhoffer
1165918648.0
More information about the Hpsdr
mailing list