P
proudfeet
Guest
anyone know how to assign 2 parts of an array to a component instantion port
in a testbench?
e.g.
foo => bar(8) & bar(3 downto 0);
the above, of course, can't be done due to the error "actual for formal foo
is not a globally static expression .. what to do? i can't use a in-between
signal, i.e. in_between <= bar(8) & bar(3 downto 0); then do : foo =>
in_between; .. because both foo and bar are bi-directional (types inout)
help?
in a testbench?
e.g.
foo => bar(8) & bar(3 downto 0);
the above, of course, can't be done due to the error "actual for formal foo
is not a globally static expression .. what to do? i can't use a in-between
signal, i.e. in_between <= bar(8) & bar(3 downto 0); then do : foo =>
in_between; .. because both foo and bar are bi-directional (types inout)
help?