S
Salvatore Callea
Guest
Hallo,
I've a little trouble with vhdl and I hope some one
would help me.
I've an array of records, such as:
type pulse_timing is record
delay : time;
width : time;
end record;
type pulse_generator is array (1 to 2) of pulse_timing;
How can I initialise it?
I've tried through a constant:
constant TG : pulse_generator(1 to 2) := (
( 6 ns, 50 ns),
(31 ns, 10 ns)
);
but it doesn't work properly.
Can anybody suggest to me how to proceed?
Thanks in advance.
Salvatore
I've a little trouble with vhdl and I hope some one
would help me.
I've an array of records, such as:
type pulse_timing is record
delay : time;
width : time;
end record;
type pulse_generator is array (1 to 2) of pulse_timing;
How can I initialise it?
I've tried through a constant:
constant TG : pulse_generator(1 to 2) := (
( 6 ns, 50 ns),
(31 ns, 10 ns)
);
but it doesn't work properly.
Can anybody suggest to me how to proceed?
Thanks in advance.
Salvatore