Murali BN wrote:
> Just create a module, for example, and call that in your other modules
> where you want to use it (of course it should be added in your project).
VHDL is no programming language where you "call" a component!!!
VHDL is a hardware description language. Here you must have a "picture"
of a hardware inside your brain or on a sheet of paper (also called
schematic), and this picture can afterwards be described with VHDL. If
you cannot imagine what you are describing at the moment of typing, your
VHDL code will result in problems...