Forum Discussion

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

lpm_counter, difference between sload and sset?

Hi everybody

I have to implement the lpm_counter and i do not quite get the difference between the sload and the sset signal.

As I unterstood, the former sets the counter to the value of the load signal, whereas the latter sets the counter to the value specified in the LPM_SVALUE parameter.

This would mean that both is the same except for the load value source.

Please clarify.

Thanks

1 Reply

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

    You are right set means set to ones (or zeros) or svalue

    load means load the data (data is additional port)

    clear is same as set to zeros !