FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > FPGA

FPGA comp.arch.fpga newsgroup (usenet)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-30-2006, 08:48 AM
Antti Lukats
Guest
 
Posts: n/a
Default FPGA Single LED Demos: FPGA board for a good ideas/suggestions

Hi all

I am looking for ideas for: "FPGA Single LED Demos", The requirements for
the demo Application are following:

* Display visible 'sign of live' or 'self-test passed' message
* Impemented in FPGA Vendor neutral HDL
* <= 3000 LUT
* <= 4KB of Block RAM
* uncalibrated (+-50%) high frequency oscillator
* 1 user LED for display

The Demo application should have some sort of LED visible 'message' to
indicate the demo is working or has passed internal self test code. There is
no user interface byeound one single LED.

Current list of Applications
==================
1) LED Blink (MSB of counter) - VHDL
2) LED Blink (MSB of counter) - Verilog
3) LED Blink (MSB of counter) - MyHDL (Python)
4) LED Fade with PWM (waveform from counter bits)
5) LED Fade with Delta-Sigma DAC (waveform from counter bits)
6) LED Fade with DDS and Delta-Sigma (waveform from ROM Table)
7) PacoBlaze LED Blink with Assembler Program
8) PacoBlaze LED Blink with C Program
9) SPoC(bit-serial-processor) LED Blink with Assembler Program
8) AVR like MCU LED Blink with Basic Program
10) PIC like MCU LED Blink with Assembler Program
11) C16 (16 Bit CPU) LED Blink with C Program
12) LED Blink with 32-bit Programmable Micro-Sequencer
13) Frequency Measurement demo (use stop watch and calculator)
14) ? your idea ?

The above is my current list of demo applications, I am considering some
more soft-core CPU's, but all those demos would be very similar to the
existing soft-core demos. So any ideas to demo some other functionality are
welcome.

Best ideas can be rewarded with an FPGA evaluation board (with your idea
pre-programmed). Suggestions a-la "soft-core cpu acme/xyz" will not count.

Antti





Reply With Quote
  #2 (permalink)  
Old 04-30-2006, 11:06 AM
Hans
Guest
 
Posts: n/a
Default Re: FPGA Single LED Demos: FPGA board for a good ideas/suggestions

Hi Antti,

What about morse code to give the status?

I should have some code in VHDL which I will dig out and send to you,

Regards,
Hans
www.ht-lab.com

Antti Lukats wrote:
> Hi all
>
> I am looking for ideas for: "FPGA Single LED Demos", The requirements for
> the demo Application are following:
>
> * Display visible 'sign of live' or 'self-test passed' message
> * Impemented in FPGA Vendor neutral HDL
> * <= 3000 LUT
> * <= 4KB of Block RAM
> * uncalibrated (+-50%) high frequency oscillator
> * 1 user LED for display
>
> The Demo application should have some sort of LED visible 'message' to
> indicate the demo is working or has passed internal self test code. There is
> no user interface byeound one single LED.
>
> Current list of Applications
> ==================
> 1) LED Blink (MSB of counter) - VHDL
> 2) LED Blink (MSB of counter) - Verilog
> 3) LED Blink (MSB of counter) - MyHDL (Python)
> 4) LED Fade with PWM (waveform from counter bits)
> 5) LED Fade with Delta-Sigma DAC (waveform from counter bits)
> 6) LED Fade with DDS and Delta-Sigma (waveform from ROM Table)
> 7) PacoBlaze LED Blink with Assembler Program
> 8) PacoBlaze LED Blink with C Program
> 9) SPoC(bit-serial-processor) LED Blink with Assembler Program
> 8) AVR like MCU LED Blink with Basic Program
> 10) PIC like MCU LED Blink with Assembler Program
> 11) C16 (16 Bit CPU) LED Blink with C Program
> 12) LED Blink with 32-bit Programmable Micro-Sequencer
> 13) Frequency Measurement demo (use stop watch and calculator)
> 14) ? your idea ?
>
> The above is my current list of demo applications, I am considering some
> more soft-core CPU's, but all those demos would be very similar to the
> existing soft-core demos. So any ideas to demo some other functionality are
> welcome.
>
> Best ideas can be rewarded with an FPGA evaluation board (with your idea
> pre-programmed). Suggestions a-la "soft-core cpu acme/xyz" will not count.
>
> Antti
>
>
>
>
>

Reply With Quote
  #3 (permalink)  
Old 04-30-2006, 11:20 AM
Jim Granville
Guest
 
Posts: n/a
Default Re: FPGA Single LED Demos: FPGA board for a good ideas/suggestions

Antti Lukats wrote:

> Hi all
>
> I am looking for ideas for: "FPGA Single LED Demos", The requirements for
> the demo Application are following:
>
> * Display visible 'sign of live' or 'self-test passed' message
> * Impemented in FPGA Vendor neutral HDL
> * <= 3000 LUT
> * <= 4KB of Block RAM
> * uncalibrated (+-50%) high frequency oscillator
> * 1 user LED for display
>
> The Demo application should have some sort of LED visible 'message' to
> indicate the demo is working or has passed internal self test code. There is
> no user interface byeound one single LED.
>
> Current list of Applications
> ==================
> 1) LED Blink (MSB of counter) - VHDL
> 2) LED Blink (MSB of counter) - Verilog
> 3) LED Blink (MSB of counter) - MyHDL (Python)
> 4) LED Fade with PWM (waveform from counter bits)
> 5) LED Fade with Delta-Sigma DAC (waveform from counter bits)
> 6) LED Fade with DDS and Delta-Sigma (waveform from ROM Table)
> 7) PacoBlaze LED Blink with Assembler Program
> 8) PacoBlaze LED Blink with C Program
> 9) SPoC(bit-serial-processor) LED Blink with Assembler Program
> 8) AVR like MCU LED Blink with Basic Program
> 10) PIC like MCU LED Blink with Assembler Program
> 11) C16 (16 Bit CPU) LED Blink with C Program
> 12) LED Blink with 32-bit Programmable Micro-Sequencer
> 13) Frequency Measurement demo (use stop watch and calculator)
> 14) ? your idea ?
>
> The above is my current list of demo applications, I am considering some
> more soft-core CPU's, but all those demos would be very similar to the
> existing soft-core demos. So any ideas to demo some other functionality are
> welcome.


Most obvious is to extend to a BiColour LED, Driven from 2 pins, so
that you can generate : Pure RED, Modulated RED (OE), Pure GREEN,
Modulated GREEN (OE) and Colour Modulated (PWM %R/100-% G)
Control lines are : R, R.oe, G, G.oe

Then at eye-ball rates, you can signal something over 4 states, without
needing long dividers.

[Well, yes, this is only partially vendor neutral: it works on all those
vendors who actually gave this some thought, and installed a BiColour LED ]

My preferred modulation is PDM (Rate Multiplier), rather than PWM :
PDM uses the least resource in CPLDs, and filters better in DAC
applications.


Also not on your list, is a RC5 / manchester Encoded LED modulate.
Target the std IR-Remote Receivers, perhaps with an IR led in Parallel
if the RED energy is too low to activate a NearBy - StdIR RX unit.

That allows actual BIT serial (status flags) info to be sent, into a
simple receiver.

One-Wire encoding is another way to send Freq tolerant information,
in an easily decoded manner.


> Best ideas can be rewarded with an FPGA evaluation board (with your idea
> pre-programmed). Suggestions a-la "soft-core cpu acme/xyz" will not count.


-jg

Reply With Quote
  #4 (permalink)  
Old 04-30-2006, 11:42 AM
Guest
 
Posts: n/a
Default Re: FPGA Single LED Demos: FPGA board for a good ideas/suggestions

Antti Lukats <[email protected]> wrote:
>Hi all
>I am looking for ideas for: "FPGA Single LED Demos", The requirements for
>the demo Application are following:


>* Display visible 'sign of live' or 'self-test passed' message
>* Impemented in FPGA Vendor neutral HDL
>* <= 3000 LUT
>* <= 4KB of Block RAM
>* uncalibrated (+-50%) high frequency oscillator
>* 1 user LED for display


>The Demo application should have some sort of LED visible 'message' to
>indicate the demo is working or has passed internal self test code. There is
>no user interface byeound one single LED.


*) RS232 signaling sending something like "POST ok".
Then you could just direct it to any laptop with ir-serial. Possibly IrDA.

*) Morse code.

*) Maybe 10 Mbps ethernet is doable. Guess not thoe :-)

*) With an external mirror+stepper you could reflect the led light onto a
paper and draw something.

With a more stable oscillator possibilities vastly increase.

contact at pb (a) ludd . luth DOT se

Reply With Quote
  #5 (permalink)  
Old 04-30-2006, 01:21 PM
Ben Twijnstra
Guest
 
Posts: n/a
Default Re: FPGA Single LED Demos: FPGA board for a good ideas/suggestions

Hans wrote:

> Hi Antti,
>
> What about morse code to give the status?
>
> I should have some code in VHDL which I will dig out and send to you,
>


Best to then blink the Morse dots using PWM at 1KHz and 50% duty cycle so
that you can also hear it with a solar cell and a piezo earpiece ;-)

Ben
Reply With Quote
  #6 (permalink)  
Old 04-30-2006, 06:11 PM
Antti Lukats
Guest
 
Posts: n/a
Default Re: FPGA Single LED Demos: FPGA board for a good ideas/suggestions

"Hans" <[email protected]> schrieb im Newsbeitrag
news:h_%[email protected]
> Hi Antti,
>
> What about morse code to give the status?
>
> I should have some code in VHDL which I will dig out and send to you,
>
> Regards,
> Hans
> www.ht-lab.com


Hi Hans,

yes VHDL based morse message could be added, I think I had something some
while ago, but not sure if I can dig that out, so if you find I will look
it.

I have been actve on short-waves ages ago so Morse of course popped up in my
mind too, well its of course easier to implement with some small soft-core
processor, but plain HDL version could also be a nice example

Antti


Reply With Quote
  #7 (permalink)  
Old 04-30-2006, 06:30 PM
Austin Lesea
Guest
 
Posts: n/a
Default Re: FPGA Single LED Demos: FPGA board for a good ideas/suggestions

..- -. - - .-

..-- . .-. . -.-- --- ..- .- .... .- -- ..--..

..- ..- -.... ...- ..-

Reply With Quote
  #8 (permalink)  
Old 04-30-2006, 07:04 PM
Antti Lukats
Guest
 
Posts: n/a
Default Re: FPGA Single LED Demos: FPGA board for a good ideas/suggestions

"Austin Lesea" <[email protected]> schrieb im Newsbeitrag
news:[email protected]
> .- -. - - .-
>
> .-- . .-. . -.-- --- ..- .- .... .- -- ..--..
>
> .- ..- -.... ...- ..-
>

ROTFL !

i did think f**** windows has trouble refreshing screen, so I closed and
opened this email many times.
in the hope it would display the fonts properly - morse code !!!

A N T T A
W E R E Y O U A H A M ?
A U 6 V U

uh? I probably need morse-classes to decode the message properly

Antti


Reply With Quote
  #9 (permalink)  
Old 04-30-2006, 07:09 PM
Antti Lukats
Guest
 
Posts: n/a
Default Re: FPGA Single LED Demos: FPGA board for a good ideas/suggestions

"Ben Twijnstra" <[email protected]> schrieb im Newsbeitrag
news:[email protected] .
> Hans wrote:
>
>> Hi Antti,
>>
>> What about morse code to give the status?
>>
>> I should have some code in VHDL which I will dig out and send to you,
>>

>
> Best to then blink the Morse dots using PWM at 1KHz and 50% duty cycle so
> that you can also hear it with a solar cell and a piezo earpiece ;-)
>
> Ben


HAHA - I was going to reply that the LED is SMD 0603 so connecting beeper in
parallel would not make sense, but then hum solar cell !!

hum, interesting would it actually work? I bet not the solar cell possible
would not deliver AC or would it? I am almost tempted to test!

well the LED on board will be possible cheapest one available (around 0.01
USD from HK) so it will not have many mcd, but the LED + solar cell idea is
something that could be even used for some weird application.

Antti


Reply With Quote
  #10 (permalink)  
Old 04-30-2006, 07:21 PM
Antti Lukats
Guest
 
Posts: n/a
Default Re: FPGA Single LED Demos: FPGA board for a good ideas/suggestions

"Jim Granville" <[email protected]> schrieb im Newsbeitrag
news:[email protected]
> Antti Lukats wrote:
>
>> Hi all
>>
>> I am looking for ideas for: "FPGA Single LED Demos", The requirements for
>> the demo Application are following:
>>
>> * Display visible 'sign of live' or 'self-test passed' message
>> * Impemented in FPGA Vendor neutral HDL
>> * <= 3000 LUT
>> * <= 4KB of Block RAM
>> * uncalibrated (+-50%) high frequency oscillator
>> * 1 user LED for display
>>
>> The Demo application should have some sort of LED visible 'message' to
>> indicate the demo is working or has passed internal self test code. There
>> is no user interface byeound one single LED.

> Most obvious is to extend to a BiColour LED, Driven from 2 pins, so
> that you can generate : Pure RED, Modulated RED (OE), Pure GREEN,
> Modulated GREEN (OE) and Colour Modulated (PWM %R/100-% G)
> Control lines are : R, R.oe, G, G.oe
>

dual color SMD led costs 10 times as much as single color and the layout
isnt so standard and I have some pre-series PCBs with only one LED
already. Sure dual color LED would have more possibilities for visual
effects

> Then at eye-ball rates, you can signal something over 4 states, without
> needing long dividers.
>
> [Well, yes, this is only partially vendor neutral: it works on all those
> vendors who actually gave this some thought, and installed a BiColour
> LED ]
>
> My preferred modulation is PDM (Rate Multiplier), rather than PWM : PDM
> uses the least resource in CPLDs, and filters better in DAC applications.
>

could you elaborate on this? I had delta-sigma DAC already on my list
that is pulse density modulation - but you are referring to something else?

> Also not on your list, is a RC5 / manchester Encoded LED modulate.
> Target the std IR-Remote Receivers, perhaps with an IR led in Parallel
> if the RED energy is too low to activate a NearBy - StdIR RX unit.
>
> That allows actual BIT serial (status flags) info to be sent, into a
> simple receiver.
>
> One-Wire encoding is another way to send Freq tolerant information,
> in an easily decoded manner.
>


Actually one-wire comm requires known frequency reference better than
I can count for, also in my requirements was no other interface (than LED)

>> Best ideas can be rewarded with an FPGA evaluation board (with your idea
>> pre-programmed). Suggestions a-la "soft-core cpu acme/xyz" will not
>> count.

>
> -jg
>

I was possible giving not enough information at first place - the module in
question
has actually 3 interfaces with 6+6+4 (shared with JTAG pins in parallel)
I/O's
one of them can be used for block transfers to host with up to 6MByte/S

However any communication with host would require some software on the
host what may not exist for the host platform, so I was looking for demos
that can be 'tested' for simple 'it blinks, ít works' in the case we assume
there host communication is unavailable - similarly any demos requirying
additional hardware ae beyound the scope, dual color, tri-color led
buzzer, IR tranceiver are all things that could be used, - with extra
add-on modules.

I was more looking for more ideas to demonstrate things that an
FPGA can do, it could be some algorithm that is processed once
or in a look and if the self check result is ok then blink a led.

Just to have people a way to 'seeing is beliving' want to test
this or that, download this, when LED blinks then it is signal
that this or that works - in real hardware.

Antti


























Reply With Quote
  #11 (permalink)  
Old 04-30-2006, 08:52 PM
Jim Granville
Guest
 
Posts: n/a
Default Re: FPGA Single LED Demos: FPGA board for a good ideas/suggestions

Antti Lukats wrote:
> "Jim Granville" <[email protected]> schrieb im Newsbeitrag
>> Most obvious is to extend to a BiColour LED, Driven from 2 pins, so
>>that you can generate : Pure RED, Modulated RED (OE), Pure GREEN,
>>Modulated GREEN (OE) and Colour Modulated (PWM %R/100-% G)
>>Control lines are : R, R.oe, G, G.oe
>>

>
> dual color SMD led costs 10 times as much as single color and the layout
> isnt so standard and I have some pre-series PCBs with only one LED
> already. Sure dual color LED would have more possibilities for visual
> effects


But costs a tiny fraction of the PCB / FPGA price, which is
what actually matters ?

>> My preferred modulation is PDM (Rate Multiplier), rather than PWM : PDM
>>uses the least resource in CPLDs, and filters better in DAC applications.
>>

>
> could you elaborate on this? I had delta-sigma DAC already on my list
> that is pulse density modulation - but you are referring to something else?


It is probably the same thing, if your delta-sigma is PDM.
I am used to delta-sigma having a feedback loop of some sort, so I avoid
that term.
The PDM we use is the same as the venerable Rate Multipliers
( 4089, 4527 IIRC) and they use one PT per resolution bit.
PWM compares need two, unless hand-coded.


>> Also not on your list, is a RC5 / manchester Encoded LED modulate.
>>Target the std IR-Remote Receivers, perhaps with an IR led in Parallel
>>if the RED energy is too low to activate a NearBy - StdIR RX unit.
>>
>> That allows actual BIT serial (status flags) info to be sent, into a
>>simple receiver.
>>
>> One-Wire encoding is another way to send Freq tolerant information,
>>in an easily decoded manner.
>>

>
> Actually one-wire comm requires known frequency reference better than
> I can count for, also in my requirements was no other interface (than LED)


You would use optical pickup, so are outside the "Mk1 EyeBall", but the
functions can be stacked on the LED.
One wire systems are usually PWM coded, so autobaud ?

> Just to have people a way to 'seeing is beliving' want to test
> this or that, download this, when LED blinks then it is signal
> that this or that works - in real hardware.


Always a good idea.

-jg

Reply With Quote
  #12 (permalink)  
Old 04-30-2006, 09:43 PM
Ben Twijnstra
Guest
 
Posts: n/a
Default Re: FPGA Single LED Demos: FPGA board for a good ideas/suggestions

Antti Lukats wrote:

> HAHA - I was going to reply that the LED is SMD 0603 so connecting beeper
> in parallel would not make sense, but then hum solar cell !!
>
> hum, interesting would it actually work? I bet not the solar cell possible
> would not deliver AC or would it? I am almost tempted to test!
>
> well the LED on board will be possible cheapest one available (around 0.01
> USD from HK) so it will not have many mcd, but the LED + solar cell idea
> is something that could be even used for some weird application.


Some twenty-five years ago I used to be able to 'hear' the brightness on the
television by the volume of the 50Hz hum if I pointed a solar cell at the
screen at close range (10-20cm). The solar cell was a cheap single-cell
thingie bought at Tandy/Radio Shack, so if solar cell efficiency has made
any sort of improvement in the last quarter-century, this might actually be
viable.

Best regards,



Ben

Reply With Quote
  #13 (permalink)  
Old 05-01-2006, 01:40 PM
Hans
Guest
 
Posts: n/a
Default Re: FPGA Single LED Demos: FPGA board for a good ideas/suggestions


"Antti Lukats" <[email protected]> wrote in message
news:[email protected]
>
> Hi Hans,
>
> yes VHDL based morse message could be added, I think I had something some
> while ago, but not sure if I can dig that out, so if you find I will look
> it.
>
> I have been actve on short-waves ages ago so Morse of course popped up in
> my mind too, well its of course easier to implement with some small
> soft-core processor, but plain HDL version could also be a nice example


See http://www.ht-lab.com/freecores/Morse/morsetx.html

The code is very basic but should give you an idea how to put something
together quickly :-)

Regards,
Hans (G7... too long ago to remember my callsign :-)
www.ht-lab.com


Reply With Quote
  #14 (permalink)  
Old 05-01-2006, 02:20 PM
Jan Panteltje
Guest
 
Posts: n/a
Default Re: FPGA Single LED Demos: FPGA board for a good ideas/suggestions

On a sunny day (Mon, 01 May 2006 12:40:56 GMT) it happened "Hans"
<[email protected]> wrote in <[email protected]>:

>See http://www.ht-lab.com/freecores/Morse/morsetx.html
>
>The code is very basic but should give you an idea how to put something
>together quickly :-)
>
>Regards,
>Hans (G7... too long ago to remember my callsign :-)
>www.ht-lab.com


If you use an IR LED, you can have the FPGA change channels on the TV.
I had an IR LED on the PC par port for a long time, and a photo transistor too.
I recorded the remote control signals (just zero / ones) in a few kHz sampling loop.
Then had a bitfile for ch1, ch2 ch3 etc. to start the VHS from the PC.

It seems in the US you can set the traffic lights to green too.


Reply With Quote
  #15 (permalink)  
Old 05-01-2006, 07:35 PM
Kolja Waschk
Guest
 
Posts: n/a
Default Re: FPGA Single LED Demos: FPGA board for a good ideas/suggestions

> There is no user interface byeound one single LED.

Maybe use the LED for some kind of user /input/?!

I recently came across this article (from 2003),

http://www.merl.com/publications/TR2003-035/

Kolja

--
mr. kolja waschk - haubach-39 - 22765 hh - germany
fon +49 40 889130-34 - fax -35 - http://www.ixo.de


Reply With Quote
  #16 (permalink)  
Old 05-01-2006, 07:40 PM
Kolja Waschk
Guest
 
Posts: n/a
Default Re: FPGA Single LED Demos: FPGA board for a good ideas/suggestions

> I recently came across this article (from 2003)

....and found again where: http://www.hackaday.com/entry/1234000873073550/

(has some more links regarding using LEDs as sensors)



Reply With Quote
  #17 (permalink)  
Old 05-02-2006, 08:52 AM
Thomas Stanka
Guest
 
Posts: n/a
Default Re: FPGA Single LED Demos: FPGA board for a good ideas/suggestions


Antti Lukats schrieb:
[..]
> * 1 user LED for display

[..]
> Current list of Applications

[..]

I miss the obvious timeshare of your led. eg. 1s divided clock followed
by 1s "clock stable" status followed by whatever useful state comes out
of your design.
I used similar technics to get 24 bits on 4 LEDs visible.
Serialise some information and display it a measureable amount of time
with remarkable start/end of data (blinking seems for better than
stable signal for this task) would be the best for 1 LED.

bye Thomas

Reply With Quote
  #18 (permalink)  
Old 05-02-2006, 12:39 PM
Josep Durán
Guest
 
Posts: n/a
Default Re: FPGA Single LED Demos: FPGA board for a good ideas/suggestions


"Antti Lukats" <[email protected]> escribió en el mensaje
news:[email protected]
> Hi all
>
> I am looking for ideas for: "FPGA Single LED Demos", The requirements for
> the demo Application are following:
>


Pseudo random LED blinking using LFSRs at a very low frequency

Josep Durán



Reply With Quote
  #19 (permalink)  
Old 05-02-2006, 01:14 PM
colin
Guest
 
Posts: n/a
Default Re: FPGA Single LED Demos: FPGA board for a good ideas/suggestions


Antti Lukats wrote:
> Hi all
>
> I am looking for ideas for: "FPGA Single LED Demos", The requirements for
> the demo Application are following:
>
> * Display visible 'sign of live' or 'self-test passed' message
> * Impemented in FPGA Vendor neutral HDL
> * <= 3000 LUT
> * <= 4KB of Block RAM
> * uncalibrated (+-50%) high frequency oscillator
> * 1 user LED for display
>
> The Demo application should have some sort of LED visible 'message' to
> indicate the demo is working or has passed internal self test code. There is
> no user interface byeound one single LED.
>
> Current list of Applications
> ==================
> 1) LED Blink (MSB of counter) - VHDL
> 2) LED Blink (MSB of counter) - Verilog
> 3) LED Blink (MSB of counter) - MyHDL (Python)
> 4) LED Fade with PWM (waveform from counter bits)
> 5) LED Fade with Delta-Sigma DAC (waveform from counter bits)
> 6) LED Fade with DDS and Delta-Sigma (waveform from ROM Table)
> 7) PacoBlaze LED Blink with Assembler Program
> 8) PacoBlaze LED Blink with C Program
> 9) SPoC(bit-serial-processor) LED Blink with Assembler Program
> 8) AVR like MCU LED Blink with Basic Program
> 10) PIC like MCU LED Blink with Assembler Program
> 11) C16 (16 Bit CPU) LED Blink with C Program
> 12) LED Blink with 32-bit Programmable Micro-Sequencer
> 13) Frequency Measurement demo (use stop watch and calculator)
> 14) ? your idea ?
>
> The above is my current list of demo applications, I am considering some
> more soft-core CPU's, but all those demos would be very similar to the
> existing soft-core demos. So any ideas to demo some other functionality are
> welcome.
>
> Best ideas can be rewarded with an FPGA evaluation board (with your idea
> pre-programmed). Suggestions a-la "soft-core cpu acme/xyz" will not count.
>
> Antti


Just blink the led quickly 5(say) times with a small pause between the
next 5. To indicate that section 3 has failed extend the length of
blink 3 by 3 or 4 times.

colin

Reply With Quote
  #20 (permalink)  
Old 05-02-2006, 05:50 PM
Antti
Guest
 
Posts: n/a
Default Re: FPGA Single LED Demos: FPGA board for a good ideas/suggestions

Thanks Kolja,

I have known that LEDs are actually bidirectional, but the links
pointed out are great!
fortunatly I aldready have my LED wired up to FPGA so that it can
support
the "LED sensor" mode so I defenetly will at leat try it out

Antti

Reply With Quote
  #21 (permalink)  
Old 05-02-2006, 05:56 PM
Antti
Guest
 
Posts: n/a
Default Re: FPGA Single LED Demos: FPGA board for a good ideas/suggestions

Jim Granville schrieb:

> Antti Lukats wrote:
> > "Jim Granville" <[email protected]> schrieb im Newsbeitrag
> >> Most obvious is to extend to a BiColour LED, Driven from 2 pins, so
> >>that you can generate : Pure RED, Modulated RED (OE), Pure GREEN,
> >>Modulated GREEN (OE) and Colour Modulated (PWM %R/100-% G)
> >>Control lines are : R, R.oe, G, G.oe
> >>

> >
> > dual color SMD led costs 10 times as much as single color and the layout
> > isnt so standard and I have some pre-series PCBs with only one LED
> > already. Sure dual color LED would have more possibilities for visual
> > effects

>
> But costs a tiny fraction of the PCB / FPGA price, which is
> what actually matters ?
>

dual color LED is
1.4% of the FPGA price and about
80% of the PCB price (PCB quoted in 10k qty)
but well yes its still a tiny factor

> >> My preferred modulation is PDM (Rate Multiplier), rather than PWM : PDM
> >>uses the least resource in CPLDs, and filters better in DAC applications.
> >>

> >
> > could you elaborate on this? I had delta-sigma DAC already on my list
> > that is pulse density modulation - but you are referring to something else?

>
> It is probably the same thing, if your delta-sigma is PDM.
> I am used to delta-sigma having a feedback loop of some sort, so I avoid
> that term.
> The PDM we use is the same as the venerable Rate Multipliers
> ( 4089, 4527 IIRC) and they use one PT per resolution bit.
> PWM compares need two, unless hand-coded.


thanks for the part numbers - they are so venerable that google has
trouble finding the datasheets, but st.com has them online

and no the PDM (as in 4089) is not same as delta-sigma, so I will
possible write the 4089 in VHDL just for the demo

> >> Also not on your list, is a RC5 / manchester Encoded LED modulate.
> >>Target the std IR-Remote Receivers, perhaps with an IR led in Parallel
> >>if the RED energy is too low to activate a NearBy - StdIR RX unit.
> >>
> >> That allows actual BIT serial (status flags) info to be sent, into a
> >>simple receiver.
> >>

there is a user slot with 6 FPGA pins so the IR thing should got there

> >> One-Wire encoding is another way to send Freq tolerant information,
> >>in an easily decoded manner.
> >>

One-Wire (as per dallas 1-wire) is does depend on known frequency, it
is
not fully self-adjusting (and can not be)

> >
> > Actually one-wire comm requires known frequency reference better than
> > I can count for, also in my requirements was no other interface (than LED)

>
> You would use optical pickup, so are outside the "Mk1 EyeBall", but the
> functions can be stacked on the LED.
> One wire systems are usually PWM coded, so autobaud ?
>


1-wire (a dallas) are not autobaud, many uart on one wire are
autobauding

> > Just to have people a way to 'seeing is beliving' want to test
> > this or that, download this, when LED blinks then it is signal
> > that this or that works - in real hardware.

>
> Always a good idea.
>
> -jg


Reply With Quote
  #22 (permalink)  
Old 05-02-2006, 11:54 PM
Kryten
Guest
 
Posts: n/a
Default Re: FPGA Single LED Demos: FPGA board for a good ideas/suggestions

How about a firefly mimic?

If you are lucky enough to live somewhere that has fireflies, you could make
a green LED blink like a firefly's bum, and thus attract a swarm of them
eventually.

I think there is a snag in that some fly in a sort of J shaped path during
their lit period. Behaviour varies between species.

Also, it seems the males fly and flash while looking for mates, and the
stationary female flashes in response. I guess males might be attracted even
if the did not flash first. They may think they've found a lady firefly with
an absolutely enormous bum, but ultimately they will be disappointed.

If you'd like to get into firefly *** (not implying you are amazingly small
in the dingly-dangly department of course), then here might be a good place
to start:
http://en.wikipedia.org/wiki/Firefly


Another insect you might mimic is the cricket.
Apparently they chirp at a rate related to temperature.
Thus you could have a temp sensor input with an audio output.
And I find their chirping very pleasing to the ears.

http://en.wikipedia.org/wiki/Cricket_%28insect%29









Reply With Quote
  #23 (permalink)  
Old 05-03-2006, 04:29 AM
Ray Andraka
Guest
 
Posts: n/a
Default Re: FPGA Single LED Demos: FPGA board for a good ideas/suggestions

Antti Lukats wrote:

> Hi all
>
> I am looking for ideas for: "FPGA Single LED Demos", The requirements for
> the demo Application are following:
>
> * Display visible 'sign of live' or 'self-test passed' message
> * Impemented in FPGA Vendor neutral HDL
> * <= 3000 LUT
> * <= 4KB of Block RAM
> * uncalibrated (+-50%) high frequency oscillator
> * 1 user LED for display
>
> The Demo application should have some sort of LED visible 'message' to
> indicate the demo is working or has passed internal self test code. There is
> no user interface byeound one single LED.
>
> Current list of Applications
> ==================
> 1) LED Blink (MSB of counter) - VHDL
> 2) LED Blink (MSB of counter) - Verilog
> 3) LED Blink (MSB of counter) - MyHDL (Python)
> 4) LED Fade with PWM (waveform from counter bits)
> 5) LED Fade with Delta-Sigma DAC (waveform from counter bits)
> 6) LED Fade with DDS and Delta-Sigma (waveform from ROM Table)
> 7) PacoBlaze LED Blink with Assembler Program
> 8) PacoBlaze LED Blink with C Program
> 9) SPoC(bit-serial-processor) LED Blink with Assembler Program
> 8) AVR like MCU LED Blink with Basic Program
> 10) PIC like MCU LED Blink with Assembler Program
> 11) C16 (16 Bit CPU) LED Blink with C Program
> 12) LED Blink with 32-bit Programmable Micro-Sequencer
> 13) Frequency Measurement demo (use stop watch and calculator)
> 14) ? your idea ?
>
> The above is my current list of demo applications, I am considering some
> more soft-core CPU's, but all those demos would be very similar to the
> existing soft-core demos. So any ideas to demo some other functionality are
> welcome.
>
> Best ideas can be rewarded with an FPGA evaluation board (with your idea
> pre-programmed). Suggestions a-la "soft-core cpu acme/xyz" will not count.
>
> Antti
>
>
>
>
>


Replace or parallel the LED with an IR LED and use it to make a TV
disrupter that randomly changes the channels, turns down the volume, or
turns off the TV via the TV's IR remote reciever ;-)
Reply With Quote
  #24 (permalink)  
Old 05-03-2006, 07:59 AM
Tommy Thorn
Guest
 
Posts: n/a
Default Re: FPGA Single LED Demos: FPGA board for a good ideas/suggestions

Antti Lukats wrote:
> Hi all
>
> I am looking for ideas for: "FPGA Single LED Demos", The requirements for
> the demo Application are following:
>
> * Display visible 'sign of live' or 'self-test passed' message
> * Impemented in FPGA Vendor neutral HDL
> * <= 3000 LUT
> * <= 4KB of Block RAM


Thanks for a good question leading to many fun ideas (using an LED as a
sensor is a good one).

I'm surprised none have suggested my personal favorite: a (human) heart
beat. Display the ECG curve with the LED intensity (via Delta-sigma
pulse density modulation). A flat-liner always on or off are two
failure modes, whereas the heart rate can correspond to various phases.
For extra credit, modulate the LED such that it makes an interesting
sound if played of a [piezo] speaker.

Are you going to show of the board that motivated this quest?

Cheers,
Tommy
Reply With Quote
  #25 (permalink)  
Old 05-03-2006, 09:14 AM
Antti
Guest
 
Posts: n/a
Default Re: FPGA Single LED Demos: FPGA board for a good ideas/suggestions

Hi Tommy,

actually the board is visible in the website header at
http://www.xilant.com

displayed is second proto for the gadget (first on was with TQFP144
package) as on the picture it is powered from USB SD Card reader and it
is controlling an small 3V DC motor directly from FPGA pins - the motor
is plugged in into Sipsik(tm) extension slot At the time of taking
that picture the motor was spinning and changed directions every few
seconds, its audible at change points otherweise the motor runs very
quiet.

The LED in question is at the top left corner of the FPGA (not lit on
the picture)

Lower connector is JTAG, that can also be used for user IO, and also
allows self reprogramming over SD/MMC connector, using a Card reader.
The module is designed to be shipped with an Book so getting costs down
are essential.

For the Book-PCB the FPGA will be preprogrammed with SoftCore processor
and MMC Card Side IP Core that allows the Processor code to be
downloaded (the gadget is visible as removable media for PC) from Host.
Of course the on-chip Processor has acccess to the LED, to the USER IO
slots and can communicate with the host, by having a shared buffer
that can be read write from the host.

Of course the PCB can be used as standalone or with anything that has
MMC/SD card slot, a PDA or MP3 player.

Currently I am considering having AVR Core as default SoC for the
pre-programmed version, and the Book DVD will include AVR Basic
compiled re-targetted for this Flash-FPGA-AVR and utilitites to compile
and download programs to the unit.

So almost all the LED suggestions would be easy to implement as
software solutions and would not even require a new configuration of
the FPGA.

What I am still looking for are more different applications that
demonstrate the FPGA itself, the endless possibilities of the user
programmable logic.

Antti Lukats
Xilant Technologies.

PS the board that is going to be actually shipped with the Book will
not be any more made with laser printer of course - I just had
it urgent to get the design tested, so made different attempts to
make the PCB at home, all those are also described in the book too.

Ah and all the designs(sch+PCB, gerber) and IP cores used as demo will
be included with the Book, this includes licensing for the IP cores
specially developed for it - MMC Card side IP core, one bit Logic
Analyzer with JTAG acces and MMC/SD card protocol analyzer software
that developed during testing, etc, etc...

Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Suggestions on good books Michael Chan FPGA 7 11-18-2005 09:31 PM
Recommended Single Board FPGA manufacturer kaleo FPGA 0 02-15-2005 01:57 AM
Suggestions for programming flash RAM for SoC via FPGA Edmond Cote FPGA 1 07-30-2004 11:38 AM
XC2VP70 FPGA board suggestions Anup Kumar Raghavan FPGA 1 12-01-2003 06:57 PM


All times are GMT +1. The time now is 06:54 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved