V
Ved
Guest
Hi all,
Here is a syntex for procedure declaration:
-----------------
procedure my_proc (parameter_interface_list)
{subprogram declarative part}
begin
{sequential statement}
end procedure;
-----------------
Where are signals defined in procedure ? (These signals are used for
implementing pipelining)
For example how will below signal be defined in procedure ?
if I decleare it in (parameter_interface_list) as
SIGNAL dat1s0: std_logic_vector(15 DOWNTO 0);
than it is assumed to be as input and I can't do something
like this
dat1s0 <= in1;
Where in1 is the input .
All the examples in books use variables in {subprogram declarative
part} .
So ambiguity remains in my mind regarding usuage of intermediate
signals in procedure.
Am I clear with my question ?
Should I paste my codes ?
Regards
Ved
Here is a syntex for procedure declaration:
-----------------
procedure my_proc (parameter_interface_list)
{subprogram declarative part}
begin
{sequential statement}
end procedure;
-----------------
Where are signals defined in procedure ? (These signals are used for
implementing pipelining)
For example how will below signal be defined in procedure ?
if I decleare it in (parameter_interface_list) as
SIGNAL dat1s0: std_logic_vector(15 DOWNTO 0);
than it is assumed to be as input and I can't do something
like this
dat1s0 <= in1;
Where in1 is the input .
All the examples in books use variables in {subprogram declarative
part} .
So ambiguity remains in my mind regarding usuage of intermediate
signals in procedure.
Am I clear with my question ?
Should I paste my codes ?
Regards
Ved