type errors in vhdl

L

lucky

Guest
in vhdl
I am not able to assign x"ab" to a signal diclared as say
a:std_logic_vector(7 down to 0)
the error is type error bit vector can not be assigned to
std_logic_vector

what is possible solution?
 
On 1 Sep 2006 07:40:02 -0700, "lucky" <atluricharan@gmail.com> wrote:

in vhdl
I am not able to assign x"ab" to a signal diclared as say
a:std_logic_vector(7 down to 0)
the error is type error bit vector can not be assigned to
std_logic_vector

what is possible solution?
Make sure your VHDL compiler has VHDL-93 or VHDL-2002 enabled.
The X"AB" syntax worked only for bit-vectors in VHDL-87, but was
extended to other vector types in VHDL-93.
--
Jonathan Bromley, Consultant

DOULOS - Developing Design Know-how
VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services

Doulos Ltd., 22 Market Place, Ringwood, BH24 1AW, UK
jonathan.bromley@MYCOMPANY.com
http://www.MYCOMPANY.com

The contents of this message may contain personal views which
are not the views of Doulos Ltd., unless specifically stated.
 

Welcome to EDABoard.com

Sponsor

Back
Top