Guest
Probably a simple issue again, but ...
We are trying to make a process execute vector additions and
multiplications etc., like
Q <= A + B;
Z <= D * E;
and want to stick to this simple notation (C-like) and not use
range-indicators or other details. Just the plain identifiers and
operators This makes a lot of logic, and because we dont have much
timing issues, the functions should ideally be broken down into shifts
and additions etc. Implementing especially the multiplication as a
bit-wise clocked function would be nice.
When implementing a function, fx. for addition like
impure function "+" (a, b : in my_t) return my_t is ... end function
"+";
we cannot seem to get it to work bit-wise. Is there any way of having a
CLOCK'EVENT work inside a function and only return after a number of
clocks, ie. after all bits have been manipulated ?
We are trying to make a process execute vector additions and
multiplications etc., like
Q <= A + B;
Z <= D * E;
and want to stick to this simple notation (C-like) and not use
range-indicators or other details. Just the plain identifiers and
operators This makes a lot of logic, and because we dont have much
timing issues, the functions should ideally be broken down into shifts
and additions etc. Implementing especially the multiplication as a
bit-wise clocked function would be nice.
When implementing a function, fx. for addition like
impure function "+" (a, b : in my_t) return my_t is ... end function
"+";
we cannot seem to get it to work bit-wise. Is there any way of having a
CLOCK'EVENT work inside a function and only return after a number of
clocks, ie. after all bits have been manipulated ?