Forum Discussion

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

counter

hello

i do counter to 24 hour and test it with one second

... in modelsim it works fine

but in cyclone 2 it count like this

1,2,3,4,5,6,7,8,9 - > 12

19 -> 22

29 -> 33

it jumps with 3 ...

i can't undderstant why

please helpppp

12 Replies

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

    i use modelsim for rtl and complie all files in the project

    in rtl simulation i understand normal simulation with model sim
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    i use modelsim for rtl and complie all files in the project

    in rtl simulation i understand normal simulation with model sim

    --- Quote End ---

    ps. I install modelsim altera and i read in the document the method for stating gate level simulation:

    
    Compiling Testbench and Design Files into the Work Library
    The following instructions show you how to compile your testbench and design files
    into the work library using the ModelSim-Altera GUI.
    1. Browse to locate your designs.
    2. Click OK.
    To create the work library, perform the following steps:
    1. In the ModelSim-Altera software, on the File menu, point to New and click
    Library. The Create a New Library dialog box appears.
    

    but is there some easier way for this kind of simulation - something like standart modelsim simulation with forcing of signals ?