Forum Discussion
Altera_Forum
Honored Contributor
14 years agoResetting FPGA before clock starts
Is there any way to initialize a Cyclone III FPGA after it has read its configuration but before the external clock starts up? My overall design uses a CPU which has to boot up and eventually I will ...
Altera_Forum
Honored Contributor
14 years agoI speak mostly Verilog, mostly, so my apologies if you speak VHDL:
/* The initialization below will be present after configuration */ reg sync[2:0] = 3'b000; always @(posedge clk) sync <= {sync[1:0],1'b1}; /* if you want reset_n to stay low for more clocks, init a counter with sync[2] */ assign reset_n = sync[2];