J
JB
Guest
Hello,
I'm working on a project involving an actel flash FPGA (A3P250) and I
need to discriminate cold resets (reset at power up) from warm resets.
As the power up level of my registers is unknown, I can't find any
good way of doing this.
The best solution I came up with so far is the following:
- Use an n-Bit wide register
- When the FPGA is reset compare the register with a "magic value" A,
if it is equal to A then it is a warm reset
- When the FPGA is reset load the register with A
This will work most of the time but has one chance over 2^n to detect
a warm reset at power up (if the register powers-up containing A).
Is there any best way of detecting a cold boot?
Thanks is advance.
JB Dubois
I'm working on a project involving an actel flash FPGA (A3P250) and I
need to discriminate cold resets (reset at power up) from warm resets.
As the power up level of my registers is unknown, I can't find any
good way of doing this.
The best solution I came up with so far is the following:
- Use an n-Bit wide register
- When the FPGA is reset compare the register with a "magic value" A,
if it is equal to A then it is a warm reset
- When the FPGA is reset load the register with A
This will work most of the time but has one chance over 2^n to detect
a warm reset at power up (if the register powers-up containing A).
Is there any best way of detecting a cold boot?
Thanks is advance.
JB Dubois