On Sat, Dec 08, 2007 at 07:49:19PM +0100, Lee Davison wrote:
    Hmm...
Having said all that, it might be possible to put a state
 machine into a 16V8 that had a 7 bit current state and a next state
 function that corresponded to "counting" is seven segments. 
 It was just that that I've seen an example of, many years ago, but can't
 find now. 
 
I found a fleeting reference, perhaps, in the ORCAD 4.0 manual, chapter 5,
on PLDs?
|GAL16V8  in:RESET,
|         out:(SEG[6~0], CARRY),
|         clock:CLK
|
| High:       CLK, CARRY
| Registers:  CLK // SEG[6~0], CARRY
|
| Map: SEG[6~0] -> SEG[6~0]
| { sevenseg(n) -> sevenseg((n+1)\10), RESET' & 0<=n<=9
|            n  -> sevenseg(0),        RESET  }
|
| CARRY = SEG[6~0]==sevenseg(9) & RESET'
... but that's all I found.
-ethan
--
Ethan Dicks, A-333-S     Current South Pole Weather at  8-Dec-2007 at 18:50 Z
South Pole Station
PSC 468 Box 400       Temp  -25.2 F (-31.8 C)   Windchill   -54.1 F (-47.8 C)
APO AP 96598          Wind   15.9 kts Grid 10   Barometer 678.2 mb (10696 ft)
Ethan.Dicks at 
usap.gov            http://penguincentral.com/penguincentral.html