UPGRADE YOUR BROWSER
We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!
04-26-2010 02:19 PM
hi, i have this schematic,
http://img31.imageshack.us/i/clipboard01nb.png/
which represent a states machine. Each flip-flop represents one state. But i need to set one of them as the first state. How can i set a flip-flop to start with true value, but only on the first cycle. I mean to make one flip-flop as initial state.
thanks
04-26-2010 11:08 PM
Hi,
I guess he's probably doing some digital basics course, and doesn't know yet about HDLs.
We are using ISE/Modelsim with schematic entry for the same purpose here, which works fine.
So back to the original question:
You need to reset your FSM on power up.
Therfore you should use FDC (Flipflop with asynchronous clear) and FDP (Flipflop with asynchronous preset).
You use the FDC for FFs that should start with '0' and FDP for those that schould start with '1'.
All are connected to a common Reset signal, which you have to activate once at the beginning.
Inside the FPGA there's a global Reset (GSR) available from the Startup block, which can be used.
For further information about resetting read this:
http://www.xilinx.com/support/documentation/white_papers/wp272.pdf
Have a nice synthesis
Eilert
04-26-2010 10:39 PM
04-26-2010 11:08 PM
Hi,
I guess he's probably doing some digital basics course, and doesn't know yet about HDLs.
We are using ISE/Modelsim with schematic entry for the same purpose here, which works fine.
So back to the original question:
You need to reset your FSM on power up.
Therfore you should use FDC (Flipflop with asynchronous clear) and FDP (Flipflop with asynchronous preset).
You use the FDC for FFs that should start with '0' and FDP for those that schould start with '1'.
All are connected to a common Reset signal, which you have to activate once at the beginning.
Inside the FPGA there's a global Reset (GSR) available from the Startup block, which can be used.
For further information about resetting read this:
http://www.xilinx.com/support/documentation/white_papers/wp272.pdf
Have a nice synthesis
Eilert