Forum Discussion

OJin0's avatar
OJin0
Icon for Occasional Contributor rankOccasional Contributor
3 years ago

The written code works fine, but the behavior is wrong.

Hello,
This is the code for the clock that displays minutes/seconds, and attaches the project folder.

The written code works fine, but the first digit of the second position becomes '4' upon reset.
That is, 04,05,06,07,08,09 -> 10,11,12,13,14,15,16,17,18,19 -> 20,21,22,23, was expected.
The problem works as 14,15,16,17,18,19 -> 24,25,26,27,28,29 -> 34,35....

I have a question.
There is nothing wrong with the code in the Verilog HDL editor,
Is there a place where I write code that can affect the behavior in other areas that are not visible to me?
For example,
Is there a place to write scripts?
Is there a place to write the header file?
Is it possible to insert hidden characters in the editor?
I wonder if code can be injected during compilation, etc.?

If possible, what can I do to prevent this problem?

Because, I feel like someone is tampering with my PC's Quartus from a remote location.

thank you.

Quartus 20.1.1 (image attached)
FPGA: M10, 10M08SCU169, 50MHz Clock
BOARD: QMTECH_MAX10_10M08SCU169
Coding Purpose: For Minute/Second Clock
Peripheral: 74HC595 Built-in 7-segment LED (with schematic image attached)

6 Replies

  • OJin0's avatar
    OJin0
    Icon for Occasional Contributor rankOccasional Contributor

    The designed 4-digit 7-segments were coded for 24 hours and 60 minutes.
    Currently attached coding is counted up in 1 second cycle for testing.

    • YEan's avatar
      YEan
      Icon for Contributor rankContributor

      Hi,

      What do you mean by " first digit of the second position becomes '4' upon reset".

      Thanks,

      Ean

  • YEan's avatar
    YEan
    Icon for Contributor rankContributor

    Hi,


    Do you have any update on your problem?


    Thanks,

    Ean


  • OJin0's avatar
    OJin0
    Icon for Occasional Contributor rankOccasional Contributor

    Hi,
    I still don't understand.
    I wrote a 4-bit counter asynchronously, and it was written to reset all 4 bits at the same time, but I don't understand whether bit0, 1, 3 become "0" and bit2 becomes "1".

    After I uploaded a question to https://community.intel.com/t5/Programmable-Devices and programmed with my MAX10_10M02SCU169 board, the board is not working.
    The programming seems to be complete, but the board does nothing.
    Can you understand why this MAX10_10M02SCU169 board is not working?

    I haven't made any progress since then. ^^
    Because my MAX10_10M02SCU169 board is broken.......

    I'm sorry I couldn't give you good news.

    Regards.

  • YEan's avatar
    YEan
    Icon for Contributor rankContributor

    Hi,

    We do not receive any response from you to the previous question that have provided. This thread will be transitioned 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.

    Regards,

    Ean