[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] crude compiler for WaveData
From: |
Larry Doolittle |
Subject: |
[Discuss-gnuradio] crude compiler for WaveData |
Date: |
Fri, 15 Apr 2005 21:35:02 -0700 |
User-agent: |
Mutt/1.5.9i |
Guys -
I took a first stab at an FX2 WaveData compiler, since I don't touch
Microsoft-only software (GPIFTool) with a 3.048 meter pole. This attempt
is good enough to recreate the WaveData definition in usrp1_gpif.c from
the following "source code":
-- cut here --
// GPIF Ctrl Outputs
CTL 0 = WEN# CMOS 0
CTL 1 = REN# CMOS 0
CTL 2 = OE# CMOS 0
CTL 3 = CLRST CMOS 0
CTL 4 = unused CMOS 0
CTL 5 = BOGUS CMOS 0
// GPIF Rdy Inputs
RDY0 = EF# // hello world
RDY1 = FF#
RDY2 = unused
RDY3 = unused
RDY4 = unused
RDY5 = TCXpire
//FIFOFlag = FIFOFlag
//IntReady = IntReady
Waveform 0: singlerd
state 0: ; wait 1
state 1: ; wait 1
state 2: ; wait 1
state 3: ; wait 1
state 4: ; wait 1
state 5: ; wait 1
state 6: ; wait 1
Waveform 1: singlewr
state 0: sgl activate ; wait 1
state 1: WEN# activate ; if (EF#) then idle else idle
state 2: WEN# activate ; wait 1
state 3: WEN# activate ; wait 1
state 4: WEN# activate ; wait 1
state 5: WEN# activate ; wait 1
state 6: WEN# activate ; wait 1
Waveform 2: FIFORd
state 0: REN# OE# ; wait 1
state 1: OE# activate ; if (TCXpire) then 2 else 1
state 2: OE# ; wait 1
state 3: ; if (TCXpire) then idle else idle
Waveform 3: FIFOWr
state 0: ; wait 1
state 1: activate ; if (TCXpire) then idle else 1
state 2: activate ; wait 1
state 3: activate ; wait 1
state 4: activate ; wait 1
state 5: activate ; wait 1
state 6: activate ; wait 1
-- cut here --
Additional status:
Totally ignores flowstate.
Sets "state 7" bytes to zero.
Need suggestions for handling FIFOFlag, TCXpire, IntReady, and non-CMOS CTLs.
Documentation is nonexistent.
Tested on debian sarge/sid, perl v5.8.4.
Tiny tarball attached. Comments appreciated.
- Larry
ezusb-gpif.tar.gz
Description: Binary data
signature.asc
Description: Digital signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Discuss-gnuradio] crude compiler for WaveData,
Larry Doolittle <=