A
a_Conan
Guest
Hi,
Suppose I write:
package MyVariables is
constant M : integer := 4;
constant N : integer := 9;
constant MN : integer := M*N ;
constant TRUE : integer := 1;
constant FALSE : integer := 0;
type Location is record
row : integer;
col : integer;
val : real;
end record;
type MyArrayM is array (0 to M) of Location;
type KM is array (0 to M) of integer;
type KF is array(0 to M, 0 to M) of integer;
end MyVariables;
..
..
..
Signal W1 : MyArrayM;
Signal W2 : KM;
Signal KF : KF;
My question: how can I assign all signals with Zeros ( Default value
before any calculations)
Thank You
Suppose I write:
package MyVariables is
constant M : integer := 4;
constant N : integer := 9;
constant MN : integer := M*N ;
constant TRUE : integer := 1;
constant FALSE : integer := 0;
type Location is record
row : integer;
col : integer;
val : real;
end record;
type MyArrayM is array (0 to M) of Location;
type KM is array (0 to M) of integer;
type KF is array(0 to M, 0 to M) of integer;
end MyVariables;
..
..
..
Signal W1 : MyArrayM;
Signal W2 : KM;
Signal KF : KF;
My question: how can I assign all signals with Zeros ( Default value
before any calculations)
Thank You