Time Array

A

ALuPin

Hi,

I define the following type and a signal of that type:

TYPE type_t_time_vector IS ARRAY (34 DOWNTO 0) OF TIME := (3 ns, 3.5
ns, 4 ns, 4.5 ns, 5 ns, 5.5 ns, 6 ns, 6.5 ns, 7 ns, 7.5 ns, 8 ns, 8.5
ns, 9 ns, 9.5 ns, 10 ns, 10.5 ns,
11 ns, 11.5 ns, 12 ns, 12.5 ns, 13 ns, 13.5 ns, 14 ns, 14.5 ns,
15 ns, 15.5 ns, 16 ns, 16.5 ns, 17 ns, 17.5 ns, 18 ns, 18.5 ns,
19 ns, 19.5 ns, 20 ns);

SIGNAL t_time_vector : type_t_time_vector;

When compiling my VHDL testbench I get the followin error message:


** Error:
h:/eda/lattice/dvi_pc_top_ispLEVER51/complex_simu/fifo_vs_ddr_ip/tb_fifo_vs_ddr_ip.vhd(168):
near ":=": expecting: ';'
# ** Error: D:/Programme/Lattice/ISPLever51/modelsim/win32loem/vcom
failed.

Line 168 marks the line where the type declaration begins

Any idea what is wrong here ?

Rgds
André
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,527
Members
44,998
Latest member
MarissaEub

Latest Threads

Top