Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

Pulse Signal using VHDL

Hi. I am beginner of vhdl. Recently, my lecturer gave me new assignment. I want to generate pulse signal with frequency 40kHz using vhdl code. But, i dont know where i should start. I have refer to certain book. But, i am little bit confuse. Could everybody help me to give ideas how can i start :cry:

4 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Are you a VERY beginner in VHDL ?

    I think your lecturer want you to produce synthesizable VHDL code ?

    I suppose you already have (your lecturer gave you) an entity declaration and you have a clock (50 MHz, ...)

    If you know how will you make that with a few simple logical components, you just have to describe it in VHdL.

    Sorry to not help you more ;-)

    As Tricky said, post here your piece of VHDL code. If it is just a problem of USE IEEE declaration, or (subtle ;-)) VHDL syntax, sure we help you.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    @Tricky: thanks for your suggestion.

    @mmTsuchi: Yes. I am very beginner in VHDL. No. My lecturer did not gave me me anything.

    Could you suggest to me a book that I can refer since i am beginner in VHDL :(
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi, Doulos.com gives good examples

    For you, http://atlas.physics.arizona.edu/~kjohns/downloads/vhdl/599_2008_94_2797.pdf is quite good (easy to read, examples, simlpe, synthetizable, with good practice).

    You seem good to C programming (Nios, software...)

    KEEP in mind that VHDL is a description language, NOT a program language (This is a common error for beginners)

    Do you have an idea of how would you make your pulse generator with very few components ? (very short schema)

    Regards