serial out

Discussion in 'VHDL' started by john, Apr 5, 2007.

  1. john

    john Guest

    Hi,

    I am using clk of frequency 10Mhz to read 4 bytes of data from a
    SRAM. I am moving the data into buffer byte by byte and then, I need
    to serial out the data at clock rate of 2Mhz. I want to synchronize
    the whole operation.
    I am using state machine to read the SRAM, then after clock the 3
    bytes into the buffer, I am generating a strobe signal form the state
    machine to turn on the counter running at the 2Mhz frequncy. I got
    2Mhz clock by dividing the 10Mhz clock. But I am getting the correct
    data. Can anybody advice me the correct algorithm

    Thanks
    John
    john, Apr 5, 2007
    #1
    1. Advertising

  2. john wrote:

    > I am using clk of frequency 10Mhz to read 4 bytes of data from a
    > SRAM. I am moving the data into buffer byte by byte and then, I need
    > to serial out the data at clock rate of 2Mhz. I want to synchronize
    > the whole operation.
    > I am using state machine to read the SRAM, then after clock the 3
    > bytes into the buffer, I am generating a strobe signal form the state
    > machine to turn on the counter running at the 2Mhz frequncy. I got
    > 2Mhz clock by dividing the 10Mhz clock.


    Read up on clock enables to start with:
    http://groups.google.com/groups/search?q=vhdl clock enable&scoring=d
    See some related examples here:
    http://home.comcast.net/~mike_treseler/

    -- Mike Treseler
    Mike Treseler, Apr 5, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Steve
    Replies:
    0
    Views:
    5,313
    Steve
    Jul 1, 2003
  2. JGH
    Replies:
    2
    Views:
    6,918
    Malte
    Feb 23, 2005
  3. sunkrajesh
    Replies:
    0
    Views:
    347
    sunkrajesh
    May 31, 2009
  4. Max Kotasek
    Replies:
    4
    Views:
    969
    Max Kotasek
    Apr 9, 2010
  5. Josef Moellers
    Replies:
    2
    Views:
    158
    Josef Moellers
    Mar 16, 2005
Loading...

Share This Page