Forum Discussion
13 Replies
- SreekumarR_G_Intel
Frequent Contributor
Hello all,
Sorry i was caught up into different stuff ,
Actually in synthesis world reg [24:0] pup_count = 25'd0; is doesnt mean anything. if you think how you infer this as hardware i am not sure how to design or i can say there should be some define state to make sure it is set to Logic 0 or 1.
I have to check the LRM and Quartus synthesis tool to confrim by deafult the state of the reg type signal.
Also reg [24:0] pup_count = 25'd0; only used in Simulation not use in synthesis.
Hence if you want your design have valid state at reset kindly consider to use external Reset.
Sorry delay in repsonse again.
Thank you,
Regards,
Sree
- ak6dn
Regular Contributor
Sorry Intel support person Sree you are misinformed and do not know what you are talking about.
I have been using the construct reg [24:0] pup_count = 25'd0; for YEARS now in the Quartus synthesis tools (at least since 11.0sp1) to assign the default initial powerup configuration of a register.
Using the external reset pin to feed into the async reset of a register is NOT necessary. The above construct works just fine for an initial powerup configuration.
Using the async reset pin is ONLY necessary if you want to perform that function AFTER initial powerup configuration.