Forum Discussion

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

measuring clock frequencies in modelsim6.5

Greetings,

Is there an easier way to measure clock freq in modelsim instead of using cursers and a hand calculator?

Thanks

1 Reply

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

    --- Quote Start ---

    Is there an easier way to measure clock freq in modelsim instead of using cursers and a hand calculator?

    --- Quote End ---

    VHDL can measure time, eg., you can wait for the rising-edge of a clock and save the time, then wait for the next edge, and calculate a time difference, or there are functions to request the last event.

    Look for signal attributes.

    Verilog probably has similar system functions.

    Cheers,

    Dave