Sergey L. wrote:
> Could anybody help with this task?
Helping means: you start with something and then we discuss about it.
Its not the same like "can anybody do my homework?"...
> In generally I understand how this three structures works.
There is no "usual way" to implement those three components.
A stack can be only a two level hardware stack like the first PICs had,
or it could be a register set on which a stack based Computer is
A GPR can be one memory cell or a special register set in a processor.
So: start with your description of the structure (it is not a
"program" you are writing, otherwise it would be VHPL instead of VHDL!)
and when you encounter specific problems, then ask.