+ Post New Thread
Results 1 to 4 of 4
  1. #1
    Advanced Member level 3
    Points: 9,990, Level: 23

    Join Date
    Jun 2003
    Location
    Switzerland
    Posts
    901
    Helped
    13 / 13
    Points
    9,990
    Level
    23

    modelsim clock

    Is this behaviour normal that in the wave window it always reverts to "100" clock period even after entering for example "40 ns" ?

    Simulation is correct though but it doesn't display last settings in 58d...

    •   AltAdvertisement

        
       

  2. #2
    Advanced Member level 4
    Points: 10,814, Level: 24
    omara007's Avatar
    Join Date
    Jan 2003
    Location
    Cairo/Egypt
    Posts
    1,238
    Helped
    56 / 56
    Points
    10,814
    Level
    24

    modelsim + clock latch

    No it's not normal .. it should work properly .. try using another design with ur clock settings .. sometimes modelsim gives some trash to the designers



    •   AltAdvertisement

        
       

  3. #3
    Advanced Member level 3
    Points: 9,990, Level: 23

    Join Date
    Jun 2003
    Location
    Switzerland
    Posts
    901
    Helped
    13 / 13
    Points
    9,990
    Level
    23

    set clock in modelsim

    Hmm..but should at least simulation of supplied HEX file for initial RAM block be working in Modelsim?


    Works fine withing Quartus....

    update:

    Same simulation which runs fine in Quartus produces strange output in m58d...like some signals are switching between "1" and "X" or "0" and "X"...



    •   AltAdvertisement

        
       

  4. #4
    Advanced Member level 4
    Points: 10,814, Level: 24
    omara007's Avatar
    Join Date
    Jan 2003
    Location
    Cairo/Egypt
    Posts
    1,238
    Helped
    56 / 56
    Points
    10,814
    Level
    24

    adding a clock in modelsim

    I used to have different simulation results when using Aldec Active HDL and Modelsim .. but unfortunatly , though Modelsim is considered No. 1 simulator all over the world for HDL, Aldec was the one with the right results ..
    so , if u went thru a similar experience .. of using 2 simulators .. don't take something for granted except is u tried to be urself a simulator ..

    Don't be amazed ..



--[[ ]]--