clros
Member level 2
Hi to all,
I am mainly a software developer and I do not old with VHDL.
I have a doubt with functions in VHDL.
I wrote my complex function in vhdl (with some for..cycle internal) and I "recall" this function from my VHDL code, when I am in a determinate state of a my FSM.
My function is circuitly complex: if I view the RTL generated, its have many stages with many MUX and adder. I don't think tath my function end its work in only one clock cycle.
This is a problem for my FSM; how I can understand when my "function" ends? Can I to have a "signal" from my function when it ends for understand when I can to pass to another state of my FSM?
I am mainly a software developer and I do not old with VHDL.
I have a doubt with functions in VHDL.
I wrote my complex function in vhdl (with some for..cycle internal) and I "recall" this function from my VHDL code, when I am in a determinate state of a my FSM.
My function is circuitly complex: if I view the RTL generated, its have many stages with many MUX and adder. I don't think tath my function end its work in only one clock cycle.
This is a problem for my FSM; how I can understand when my "function" ends? Can I to have a "signal" from my function when it ends for understand when I can to pass to another state of my FSM?