Clock Signal in VHDL

Discussion in 'VHDL' started by Sebastian Klemper, May 23, 2006.

  1. Hello,

    this is a total newbie question:

    At first, there are a lot of words relating to "hardware programming" of
    which I'm not aware. So, I hope everyone will understand what I write...

    I try to simulate a short program with VHDL Simili 3.0 (free Version).
    The program is a "running light" what switches for a short moment LEDs
    on, from the one side to the other and vice versa. (like Kitt's Scanner
    in Knight Rider). At university, I loaded to compiled program to a
    "starter kit board". This board provides a 50 MHz clock signal and the
    above mentioned program uses this signal. Because I don't have this
    board at home, I'm looking for a way to get such a signal in the simulator.

    Is it possible to write somthing like this in VHDL? Or perhaps, can I
    cause the simulator to switch periodically a signal on and off?

    Thanks in advance,
    Johannes - hopping that everyone understands my request
    Sebastian Klemper, May 23, 2006
    #1
    1. Advertising

  2. Sebastian Klemper wrote:
    > This board provides a 50 MHz clock signal and the
    > above mentioned program uses this signal. Because I don't have this
    > board at home, I'm looking for a way to get such a signal in the simulator.


    Yes. A testbench process can drive the
    clock signal using a wait statement.
    Search for tb_clk in the reference testbench here:

    http://home.comcast.net/~mike_treseler/

    -- Mike Treseler
    Mike Treseler, May 23, 2006
    #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. Valentin Tihomirov

    Are clock and divided clock synchronous?

    Valentin Tihomirov, Oct 23, 2003, in forum: VHDL
    Replies:
    11
    Views:
    3,254
    louis lin
    Oct 28, 2003
  2. Replies:
    4
    Views:
    703
    Peter Alfke
    Apr 27, 2006
  3. Replies:
    5
    Views:
    2,136
    Ricardo
    Jun 23, 2006
  4. himassk
    Replies:
    1
    Views:
    1,219
    Paul Uiterlinden
    May 16, 2007
  5. Replies:
    5
    Views:
    675
Loading...

Share This Page