1
\$\begingroup\$

I'm beginner of zynq. 

When I was designing with hdl on spartan6, I drew a timing diagram and designed a state machine to make the desired signal

from the desired state.

So, I've already designed a state machine. However, I am not sure because I am going to use this state machine in combination

with the aurora ip and gpio ip of xilinx. I want to design to interact with gpio1 in some states and gpio2 in others state. 

(i mean that read value from gpio to PL side in specific state.)

For do that, do i design a state machine in custom axi ip? Can i control it only with hdl? Or do I have to control it with C code in SDK?

I'm sorry that the question is not clear because I don't know well.

Thanks.

\$\endgroup\$

closed as too broad by Dave Tweed Jul 29 at 12:24

Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • \$\begingroup\$ "State machine" is just too broad of a term. The answer to your question depends very much on the specific nature of your state machine. In general, on a Zynq (or any other system with programmable software and hardware), you do as much as possible in software, using hardware only where needed to achieve the required level of performance. \$\endgroup\$ – Dave Tweed Jul 29 at 12:28

Browse other questions tagged or ask your own question.