SystemC  2.3.2
Accellera SystemC proof-of-concept library
sc_bit_ids.h File Reference

Report ids for the datatypes/bit code. More...

Include dependency graph for sc_bit_ids.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 sc_core
 

Macros

#define SC_DEFINE_MESSAGE(id, unused1, unused2)   namespace sc_core { extern SC_API const char id[]; }
 

Functions

 SC_DEFINE_MESSAGE (SC_ID_LENGTH_MISMATCH_, 200, "length mismatch in bit/logic vector assignment") SC_DEFINE_MESSAGE(SC_ID_INCOMPATIBLE_TYPES_
 
incompatible types SC_DEFINE_MESSAGE (SC_ID_CANNOT_CONVERT_, 202, "cannot perform conversion") SC_DEFINE_MESSAGE(SC_ID_INCOMPATIBLE_VECTORS_
 
incompatible types incompatible vectors SC_DEFINE_MESSAGE (SC_ID_VALUE_NOT_VALID_, 204, "value is not valid") SC_DEFINE_MESSAGE(SC_ID_ZERO_LENGTH_
 
incompatible types incompatible vectors zero length SC_DEFINE_MESSAGE (SC_ID_VECTOR_CONTAINS_LOGIC_VALUE_, 206, "vector contains 4-value logic") SC_DEFINE_MESSAGE(SC_ID_SC_BV_CANNOT_CONTAIN_X_AND_Z_
 
incompatible types incompatible vectors zero length sc_bv cannot contain values X and Z SC_DEFINE_MESSAGE (SC_ID_VECTOR_TOO_LONG_, 208, "vector is too long: truncated") SC_DEFINE_MESSAGE(SC_ID_VECTOR_TOO_SHORT_
 
incompatible types incompatible vectors zero length sc_bv cannot contain values X and Z vector is too wrong value SC_DEFINE_MESSAGE (SC_ID_LOGIC_Z_TO_BOOL_, 211, "sc_logic value 'Z' cannot be converted to bool") SC_DEFINE_MESSAGE(SC_ID_LOGIC_X_TO_BOOL_
 

Variables

incompatible types incompatible vectors zero length sc_bv cannot contain values X and Z vector is too short
 

Detailed Description

Report ids for the datatypes/bit code.

Original Author: Martin Janssen, Synopsys, Inc., 2002-01-17

Definition in file sc_bit_ids.h.

Macro Definition Documentation

◆ SC_DEFINE_MESSAGE

#define SC_DEFINE_MESSAGE (   id,
  unused1,
  unused2 
)    namespace sc_core { extern SC_API const char id[]; }

Definition at line 74 of file sc_bit_ids.h.

Function Documentation

◆ SC_DEFINE_MESSAGE() [1/6]

SC_DEFINE_MESSAGE ( SC_ID_LENGTH_MISMATCH_  ,
200  ,
"length mismatch in bit/logic vector assignment"   
)

◆ SC_DEFINE_MESSAGE() [2/6]

incompatible types SC_DEFINE_MESSAGE ( SC_ID_CANNOT_CONVERT_  ,
202  ,
"cannot perform conversion"   
)

◆ SC_DEFINE_MESSAGE() [3/6]

incompatible types incompatible vectors SC_DEFINE_MESSAGE ( SC_ID_VALUE_NOT_VALID_  ,
204  ,
"value is not valid"   
)

◆ SC_DEFINE_MESSAGE() [4/6]

incompatible types incompatible vectors zero length SC_DEFINE_MESSAGE ( SC_ID_VECTOR_CONTAINS_LOGIC_VALUE_  ,
206  ,
"vector contains 4-value logic"   
)

◆ SC_DEFINE_MESSAGE() [5/6]

incompatible types incompatible vectors zero length sc_bv cannot contain values X and Z SC_DEFINE_MESSAGE ( SC_ID_VECTOR_TOO_LONG_  ,
208  ,
"vector is too long: truncated"   
)

◆ SC_DEFINE_MESSAGE() [6/6]

incompatible types incompatible vectors zero length sc_bv cannot contain values X and Z vector is too wrong value SC_DEFINE_MESSAGE ( SC_ID_LOGIC_Z_TO_BOOL_  ,
211  ,
"sc_logic value 'Z' cannot be converted to bool"   
)

Variable Documentation

◆ short

incompatible types incompatible vectors zero length sc_bv cannot contain values X and Z vector is too short

Definition at line 100 of file sc_bit_ids.h.