A
Andreas
Guest
Hello,
is there an easy way to pass an undefined number of datasets to an entity?
My solution is
entity
port(count: in integer;
data : real_vector(0 to 100)
);
end entity;
if one dataset is a real number (could be anything else). 'data' is a
vector(array), which contains all datasets. its length is 100 if I want
to pass 100 sets at most. 'count' is the number of datasets really used
in the current simulation cycle.
Is there perhabs a more effectiv, better way to pass an undefined number
of datasets?
Thanks,
Andreas
is there an easy way to pass an undefined number of datasets to an entity?
My solution is
entity
port(count: in integer;
data : real_vector(0 to 100)
);
end entity;
if one dataset is a real number (could be anything else). 'data' is a
vector(array), which contains all datasets. its length is 100 if I want
to pass 100 sets at most. 'count' is the number of datasets really used
in the current simulation cycle.
Is there perhabs a more effectiv, better way to pass an undefined number
of datasets?
Thanks,
Andreas