Create delay with vhdl

Discussion in 'Embedded Systems and Microcontrollers' started by Essadaoui_Red, Feb 27, 2012.

  1. Essadaoui_Red

    Thread Starter New Member

    Feb 17, 2012
    13
    1
    hello,
    I want to display "HELLO" in right rotation with VHDL:

    1 - I worked with a select input :
    sel = "000" => HELLO
    sel ="001" => OHELL
    sel="010" => LOHEL
    .....

    2 - I want it all turns himself with a delay of 500 ms
    I can't create a delay :confused:
    could you help me please,
    thank's
     
  2. guitarguy12387

    Active Member

    Apr 10, 2008
    359
    12
    It is a bit difficult to tell what you're trying to do.

    But you probably want a big counter to get 500ms of delay.
     
  3. Georacer

    Moderator

    Nov 25, 2009
    5,142
    1,266
    I know that verilog has an embedded delay function in the "wire" connections, in an abstract level of implementation. Maybe VHDL has the same functionality.
     
  4. Essadaoui_Red

    Thread Starter New Member

    Feb 17, 2012
    13
    1
    hello,
    in VHDL we have to program a timer that count the delay, baut i have no idea how can i do it :confused:
     
  5. guitarguy12387

    Active Member

    Apr 10, 2008
    359
    12
    Google VHDL counter. There's lots of code examples out there. It's a common construct.

    Heck, I think the Language Templates in ISE even have counters
     
Loading...