Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20687 Discussions

A Question About Registers

Altera_Forum
Honored Contributor II
1,286 Views

Hello everybody! 

 

I have a question; 

 

In my design, i use verilog language and system works only when a command is recieved from the external controller and when the command is executed, goes back to wait state. 

 

i have a "is in wait state?" control block and i initialize some registers with default values in this block. 

 

Question is, when fpga is in wait state forever, these registers are set to the default values forever in the same loop and i wonder if this may harm the flip-flop regsters in the future or not. do i have to put an enable signal? or can i be sure that continuously setting a value to a flip-flop brings no problem? 

 

thanks..
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
273 Views

That will be no problem. An enable signal may help reduce power usage though, but for just a few registers, it wont make a noticable difference.

0 Kudos
Altera_Forum
Honored Contributor II
273 Views

Usual FPGA families have no decidated enable signal for synchronous registers. In so far, using an enable signal doesn't keep the register from being "set to the default values forever". You would need a gated clock to save an additional (actually small) amount of power. More dynamical power is dissipated by toggling registers, however.

0 Kudos
Altera_Forum
Honored Contributor II
273 Views

thanks a lot..

0 Kudos
Reply