[hpsdr] For budding firmware hackers...

Christopher T. Day CTDay at LBL.Gov
Wed Feb 14 10:35:58 PST 2007


With the announcement of Janus and Ozy, I expect an increase in interest
in programming the Janus CPLD and the Ozy FPGA; there are a lot of
inveterate fiddlers on this list. You will need to gain some familiarity
with Altera's Quartus II software to do this. Download at least the
Quartus II Web Edition Software and the MegaCore IP Library from::

 

<
https://www.altera.com/support/software/download/altera_design/quartus_w
e/dnl-quartus_we.jsp >

 

There is an _awful_ lot in there. As a beginner myself at this, I've
only explored a tiny fraction of what's available. Start with the
Help/Tutorial. This gives you a bare beginning, but doesn't take you
very far. To make others' journeys a little easier and provide an
example with a little more meat on it, I've refactored a snapshot of the
Janus CPLD code and put it into SVN at:

 

<
svn://206.216.146.154/svn/repos_sdr_hpsdr/trunk/AE6VK/Janus/tags/Alpha2/
1.0.0 >

 

Download the code, and double-click on the Janus.qpf (Quartus Project
File). While there is only one Project, there are two Revisions
[Altera's term] in that project, a Block Design File revision and a
Verilog revision. The Block Design File revision opens by default as I
think it is easier to follow to start with. It is a form of direct
schematic entry that nonetheless really compiles to loadable code. The
Verilog revision is a traditional computer language format. To switch
revisions, use the Project/Revisions... dialog and double-click on the
other one.

 

Since I've stored only the minimum source files, you will have to
compile the code to get the full effect, once for each revision - use
the Processing/Start Compilation menu item. Yes, I know there are a
bunch of Warnings produced, but it's ok, believe me. Once the
compilation is finished, you can expand the Hierarchy in the Project
Navigator pane to see the structure of the code; double-click on a
hierarchy element, and the corresponding source will open in the large
Editor pane. I'm a hierarchy freak, so this is probably overdone, but it
keeps each layer simple. 

 

This is working code - it is running on my Janus/Ozy Alpha2 board set at
the moment - but it is not final code, so it will need updates to work
with the delivered boards. Happy exploring!

 

 

            Chris - AE6VK

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openhpsdr.org/pipermail/hpsdr-openhpsdr.org/attachments/20070214/bd711b5e/attachment-0003.htm>


More information about the Hpsdr mailing list