ilang
1.1.4
ILAng: A Modeling and Verification Platform for SoCs
|
The class of memory (array) Sort. More...
#include <sort.h>
Public Member Functions | |
SortMem (const int &addr_w, const int &data_w) | |
Default constructor. | |
~SortMem () | |
Default destructor. | |
AstUidSort | uid () const |
Return the unified ID of SortMem. | |
bool | is_mem () const |
Return true since it is memory (array) Sort. | |
int | addr_width () const |
Return the bit-width of address (index). | |
int | data_width () const |
Return the bit-width of data (value). | |
z3::sort | GetZ3Sort (z3::context &ctx) const |
Return the z3::sort of array. | |
z3::expr | GetZ3Expr (z3::context &ctx, const std::string &name) const |
Return a z3 variable of the Sort. | |
bool | Equal (const SortPtr rhs) const |
Compare with another Sort. | |
std::ostream & | Print (std::ostream &out) const |
Print out to output stream. | |
![]() | |
Sort () | |
Default constructor. | |
virtual | ~Sort () |
Virtual default destructor. | |
virtual bool | is_bool () const |
Return true if have Boolean sort. | |
virtual bool | is_bv (const int &width=0) const |
Return true if have bit-vector sort. | |
virtual int | bit_width () const |
Return the bit-width of bit-vector sort. | |
![]() | |
Ast () | |
Default constructor. | |
Ast (const std::string &name) | |
Constructor with name. | |
virtual | ~Ast () |
Default destructor. | |
bool | is_ast () const |
Is type Ast. | |
virtual bool | is_expr () const |
Is type Ast::Expr. | |
virtual bool | is_func () const |
Is type Ast::Func. | |
InstrLvlAbsPtr | host () const |
Return the hosting ILA. | |
void | set_host (const InstrLvlAbsPtr &host) |
Set the hosting ILA. | |
![]() | |
Object () | |
Default constructor. | |
Object (const std::string &name) | |
Constructor with string name. | |
virtual | ~Object () |
Default destructor. | |
const Symbol & | name () const |
Get the symbol (name). | |
virtual bool | is_instr_lvl_abs () const |
Is type InstrLvlAbs. | |
virtual bool | is_instr () const |
Is type Instr. | |
Additional Inherited Members | |
![]() | |
typedef std::shared_ptr< Sort > | SortPtr |
Pointer type for storing/passing Sort. | |
![]() | |
typedef std::shared_ptr< Object > | ObjPtr |
Pointer type for normal use of Object. | |
![]() | |
static SortPtr | MakeBoolSort () |
Create a Boolean Sort. | |
static SortPtr | MakeBvSort (const int &bit_width) |
Create a bit-vector Sort. | |
static SortPtr | MakeMemSort (const int &addr_width, const int &data_width) |
Create a memory (array) Sort. | |
![]() | |
typedef std::shared_ptr < InstrLvlAbs > | InstrLvlAbsPtr |
Type for forward declaration of ILA. | |
The class of memory (array) Sort.