Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
21615 Discussions

lpm_counter, difference between sload and sset?

Altera_Forum
Honored Contributor II
1,308 Views

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
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
510 Views

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 !
0 Kudos
Reply