Forum Discussion

Mentz's avatar
Mentz
Icon for New Contributor rankNew Contributor
5 years ago
Solved

First vhdl design, building a bit memory

Hi all,

I starting with vhdl, and build this first design,

Than I wrote to a cyclone II device and got this:

From this circuit, I was expecting that dff output goes high at DFF clock rising edge and stay high. But it goes low at clock rising edge even that clock signal doesn't feeds dff directly.

Could someone help with this? Any help apreciated.

  • Hi,

    I tried to simulate the design; there is a spike in the DFF_Clock that causes the output of signal DFF_output as shown in waveform.PNG.

    You may consider to remove the JK FF and AND gate.

    Thanks.

    Best regards,

    KhaiY

5 Replies

  • KhaiChein_Y_Intel's avatar
    KhaiChein_Y_Intel
    Icon for Regular Contributor rankRegular Contributor

    Hi,

    I tried to simulate the design; there is a spike in the DFF_Clock that causes the output of signal DFF_output as shown in waveform.PNG.

    You may consider to remove the JK FF and AND gate.

    Thanks.

    Best regards,

    KhaiY

    • Mentz's avatar
      Mentz
      Icon for New Contributor rankNew Contributor

      Hi KhaiY,

      I've changed my design, excluding AND gate and and some other changes and it worked,

      thanks for your time and efforts

      Mentz

  • KhaiChein_Y_Intel's avatar
    KhaiChein_Y_Intel
    Icon for Regular Contributor rankRegular Contributor

    Hi,

    Could you share the design for investigation?What is the software edition/version you are using?

    Thanks.

    Best regards,

    KhaiY

  • KhaiChein_Y_Intel's avatar
    KhaiChein_Y_Intel
    Icon for Regular Contributor rankRegular Contributor

    Hi,


    I’m glad that your question has been addressed, I now transition this thread to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you.


    Best regards,

    KhaiY