ts-7000
[Top] [All Lists]

Re: [ts-7000] Re: [TS7300] Finding registers or memory address correspon

To:
Subject: Re: [ts-7000] Re: [TS7300] Finding registers or memory address corresponding to CPU to FPGA bu
From: David Hawkins <>
Date: Sat, 26 Apr 2008 10:03:01 -0700
Hi Mugilan,

> I recently ran into another problem while trying to interface the CMOS
> sensor to the FPGA. The CMOS sensor had 3 main control signals
> (Frame_Valid, Line_Valid and PIXCLK) as an indicator to latch data
> through its 8 bit data bus. Frame_Valid pulses high at active columns,
> Line_Valid pulses high at active rows and fall time of PIXCLK
> indicates stable data to be latched.

Send me the data sheet, and I'll check it out.

> To deal with this, I created a state machine that runs through a
> series of states that check for each control signal consecutively. My
> problem is that my state machine does not work, i.e. the program is
> not in any of the states. I verified this by connecting each state to
> an output pin that pulses high if the machine is within the state. I
> used a logic analyzer to measure these lines and as soon as I finish
> resetting, it starts from state "Initial" and jumps out of the state
> machine loop. 
> 
> Frankly, I have no clue of what is going on. I have an "ELSE" clause
> at the end of each "IF" statements that specifies it to go to the
> state "Initial" if it fails to meet all the conditions. 
> 
> I hope you can shed some light on this. Thank you

Whenever you write VHDL code, you should always write a test
bench and simulate it in ModelSim. Altera has a free edition.
If something works correctly in the testbench but not in hardware,
then you either have a timing issue, or an error in your
simulation models. I'm glad to hear you are probing around
with a logic analyzer - thats a good debugging skill.

If you send me the data sheet for the CMOS sensor, I can
probably throw a simple simulation and state machine together.

Send me your state machine code too, and I can provide some
feedback on it for you.

Cheers,
Dave

------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU