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

default values for signals

Altera_Forum
Honored Contributor II
1,040 Views

Hi all, 

 

Let's suppose in my FPGA design I have a simple synchronous binary counter which increments on every CLK rising edge. 

 

I have a reset pin that puts the latches in a known state (for example, if 4 bits counter: "0000"). 

 

If not physically reset, what will be the initial value for the counter?  

 

Is it "0000" or can it be undefined? How to specify default value for signals in quartus II? 

 

Thanks for your help 

 

Whitebird
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
299 Views

your counter will be 0 after fpga powered on.

0 Kudos
Altera_Forum
Honored Contributor II
299 Views

OK thanks alexandre. 0 is exactly what I want. 

 

Whitebird
0 Kudos
Altera_Forum
Honored Contributor II
299 Views

Quartus II help has a nice description on power-up state- you might want to take a look at the QII help using keywords "power-up state, specifying". 

 

- pakumpul
0 Kudos
Altera_Forum
Honored Contributor II
299 Views

OK thanks pakumpul 

 

Whitebird
0 Kudos
Reply