![]() |
|
|
|
#1 |
|
Hai all!
I am a newbie in VHDL. And my project involves interfacing digital camera with FPGA. May I know the ways I can do it? Deepa |
|
|
|
|
#2 |
|
Posts: n/a
|
Deepa wrote:
> Hai all! > I am a newbie in VHDL. And my project involves interfacing digital > camera with FPGA. May I know the ways I can do it? if method = "do_it_myself" then specification <= research & write; comp.lang.vhdl <= questions(reasonable); code <= write & debug; happy <= true; elsif find(sucker) = true then happy <= true; task <= sucker; else if balance(bank) > $10000 then report "Ouch!" severity note; task <= consultant($10000); happy <= true; else happy <= false; end if; -- Tim Hubberstey, P.Eng. . . . . . Hardware/Software Consulting Engineer Marmot Engineering . . . . . . . VHDL, ASICs, FPGAs, embedded systems Vancouver, BC, Canada . . . . . . . . . . . http://www.marmot-eng.com Tim Hubberstey |
|
|
|
#3 |
|
Posts: n/a
|
*lol*
Taras_96 |
|
|
|
#4 |
|
Posts: n/a
|
Tim Hubberstey wrote:
[ ... your code seems to have a bug or two: ] > elsif find(sucker) = true then There's never a reason (IMO) to compare to true -- after all, if you're comparing to true, you must already have a boolean, which is what the comaparison also produces, so: elsif find(sucker) then > happy <= true; > task <= sucker; I suspect you really meant: sucker <= task; I.e. assigning the task to the sucker. -- Later, Jerry. The universe is a figment of its own imagination. Jerry Coffin |
|
|
|
#5 |
|
Posts: n/a
|
Jerry Coffin wrote:
> Tim Hubberstey wrote: > > [ ... your code seems to have a bug or two: ] > > >>elsif find(sucker) = true then > > > There's never a reason (IMO) to compare to true -- after all, if you're > comparing to true, you must already have a boolean, which is what the > comaparison also produces, so: > > elsif find(sucker) then Not really a bug, just redundant. That's what happens when you code on the fly without checking the result. >> happy <= true; >> task <= sucker; > > > I suspect you really meant: > > sucker <= task; > > I.e. assigning the task to the sucker. This all depends on your point of view. Assigning the sucker to the task is, I believe, an equally valid expression. Perhaps what is really needed here is some kind of bi-directional assignment operator, like a transmission gate. I propose a new operator, the "equivalence" operator, with symbol "<=>", for situations like this. -- Tim Hubberstey, P.Eng. . . . . . Hardware/Software Consulting Engineer Marmot Engineering . . . . . . . VHDL, ASICs, FPGAs, embedded systems Vancouver, BC, Canada . . . . . . . . . . . http://www.marmot-eng.com Tim Hubberstey |
|
|
|
#6 |
|
Posts: n/a
|
Thanks Tim,
Deepa should also be aware that his supervisor reads the newsgroups too ! Dr B "Tim Hubberstey" <> wrote in message news:vDgce.8995$HR1.1403@clgrps12... > Deepa wrote: > > Hai all! > > I am a newbie in VHDL. And my project involves interfacing digital > > camera with FPGA. May I know the ways I can do it? > > if method = "do_it_myself" then > specification <= research & write; > comp.lang.vhdl <= questions(reasonable); > code <= write & debug; > happy <= true; > > elsif find(sucker) = true then > happy <= true; > task <= sucker; > > else > if balance(bank) > $10000 then > report "Ouch!" severity note; > task <= consultant($10000); > happy <= true; > > else > happy <= false; > end if; > > -- > Tim Hubberstey, P.Eng. . . . . . Hardware/Software Consulting Engineer > Marmot Engineering . . . . . . . VHDL, ASICs, FPGAs, embedded systems > Vancouver, BC, Canada . . . . . . . . . . . http://www.marmot-eng.com DAVID BINNIE |
|
|
|
#7 |
|
Posts: n/a
|
Deepa wrote:
> Hai all! > I am a newbie in VHDL. And my project involves interfacing digital > camera with FPGA. May I know the ways I can do it? > Aye ! We wrote a short Apnote : http://www.alse-fr.com/ALSE_Video.pdf or if you prefer English : http://www.alse-fr.com/English/ALSE_Video_us.pdf You'll see page 5 how we connected an Omnivision camera to the Nios Cyclone 1C20 board (in fact, to one if the SantaCruz extension, the other being populated wit hthe lancelot Ramdac board.) We used the PS2 interace of Lancelot for the I2C camera I/F. It was really easy to set up this demonstrator. (the Nios Cyclone board is an excellent platform) -just don't forget to remove the Compact Flash card if you have one- Bert Cuzeau info_ |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Canon EOS 50D Digital SLR Camera | Admin | Front Page News | 0 | 01-22-2009 05:04 PM |
| Fujifilm S3 Pro Digital Camera Review at XYZ Computing | Silverstrand | Front Page News | 0 | 04-29-2006 02:58 AM |
| Criterion Goes Classic With Digital Vision DVNR. | Allan | DVD Video | 2 | 04-18-2005 07:30 AM |
| Analog to digital using camera - want to hear about successful procedures | Brian | DVD Video | 6 | 01-21-2004 08:00 AM |
| Digital DIGEST - LIVE UPDATE Issue 38 | Ablang | DVD Video | 0 | 11-09-2003 01:31 AM |