ovm_packer Class Reference

Collaboration diagram for ovm_packer:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void pack_field_int (logic< 63:0 > value, int size)
virtual void pack_field (ovm_bitstream_t value, int size)
virtual void pack_string (string value)
virtual void pack_time (time value)
virtual void pack_real (real value)
virtual void pack_object (ovm_object value)
virtual bit is_null ()
virtual logic< 63:0 > unpack_field_int (int size)
virtual ovm_bitstream_t unpack_field (int size)
virtual string unpack_string (int num_chars=-1)
virtual time unpack_time ()
virtual real unpack_real ()
virtual void unpack_object_ext (inout ovm_object value)
virtual void unpack_object (ovm_object value)
virtual int get_packed_size ()
virtual ovm_bitstream_t get_packed_bits ()
virtual bit unsigned get_bit (int unsigned index)
virtual byte unsigned get_byte (int unsigned index)
virtual int unsigned get_int (int unsigned index)
virtual void get_bits (ref bit unsigned bits[])
virtual void get_bytes (ref byte unsigned bytes[])
virtual void get_ints (ref int unsigned ints[])
virtual void put_bits (ref bit unsigned bitstream[])
virtual void put_bytes (ref byte unsigned bytestream[])
virtual void put_ints (ref int unsigned intstream[])
virtual void set_packed_size ()
void index_error (int index, string id, int sz)
bit enough_bits (int needed, string id)
void reset ()

Public Attributes

int count = 0
ovm_scope_stack scope = new
bit use_metadata = 0
bit physical = 1
abstract bit = 0
bit big_endian = 1
bit reverse_order = 0
byte byte_size = 8
int word_size = 16
bit nopack = 0
ovm_recursion_policy_enum policy = OVM_DEFAULT_POLICY
ovm_bitstream_t m_bits = 0
int m_packed_size = 0

Static Public Attributes

static bit bitstream []
static bit fabitstream []

Detailed Description

Definition at line 38 of file ovm_packer.svh.


Member Function Documentation

bit ovm_packer::enough_bits int  needed,
string  id
 

Definition at line 46 of file ovm_packer.sv.

bit unsigned ovm_packer::get_bit int unsigned  index  )  [virtual]
 

Definition at line 227 of file ovm_packer.sv.

void ovm_packer::get_bits ref bit unsigned  bits[]  )  [virtual]
 

Definition at line 94 of file ovm_packer.sv.

byte unsigned ovm_packer::get_byte int unsigned  index  )  [virtual]
 

Definition at line 237 of file ovm_packer.sv.

void ovm_packer::get_bytes ref byte unsigned  bytes[]  )  [virtual]
 

Definition at line 104 of file ovm_packer.sv.

int unsigned ovm_packer::get_int int unsigned  index  )  [virtual]
 

Definition at line 247 of file ovm_packer.sv.

void ovm_packer::get_ints ref int unsigned  ints[]  )  [virtual]
 

Definition at line 126 of file ovm_packer.sv.

ovm_bitstream_t ovm_packer::get_packed_bits  )  [virtual]
 

Definition at line 85 of file ovm_packer.sv.

int ovm_packer::get_packed_size  )  [virtual]
 

Definition at line 60 of file ovm_packer.sv.

void ovm_packer::index_error int  index,
string  id,
int  sz
 

Definition at line 36 of file ovm_packer.sv.

bit ovm_packer::is_null  )  [virtual]
 

Definition at line 359 of file ovm_packer.sv.

void ovm_packer::pack_field ovm_bitstream_t  value,
int  size
[virtual]
 

Definition at line 308 of file ovm_packer.sv.

void ovm_packer::pack_field_int logic< 63:0 >  value,
int  size
[virtual]
 

Definition at line 321 of file ovm_packer.sv.

void ovm_packer::pack_object ovm_object  value  )  [virtual]
 

Definition at line 260 of file ovm_packer.sv.

void ovm_packer::pack_real real  value  )  [virtual]
 

Definition at line 291 of file ovm_packer.sv.

void ovm_packer::pack_string string  value  )  [virtual]
 

Definition at line 334 of file ovm_packer.sv.

void ovm_packer::pack_time time  value  )  [virtual]
 

Definition at line 299 of file ovm_packer.sv.

virtual void ovm_packer::put_bits ref bit unsigned  bitstream[]  )  [virtual]
 

void ovm_packer::put_bytes ref byte unsigned  bytestream[]  )  [virtual]
 

Definition at line 172 of file ovm_packer.sv.

void ovm_packer::put_ints ref int unsigned  intstream[]  )  [virtual]
 

Definition at line 198 of file ovm_packer.sv.

void ovm_packer::reset  ) 
 

Definition at line 76 of file ovm_packer.sv.

void ovm_packer::set_packed_size  )  [virtual]
 

Definition at line 68 of file ovm_packer.sv.

ovm_bitstream_t ovm_packer::unpack_field int  size  )  [virtual]
 

Definition at line 434 of file ovm_packer.sv.

logic< 63:0 > ovm_packer::unpack_field_int int  size  )  [virtual]
 

Definition at line 449 of file ovm_packer.sv.

void ovm_packer::unpack_object ovm_object  value  )  [virtual]
 

Definition at line 370 of file ovm_packer.sv.

void ovm_packer::unpack_object_ext inout ovm_object  value  )  [virtual]
 

Definition at line 366 of file ovm_packer.sv.

real ovm_packer::unpack_real  )  [virtual]
 

Definition at line 414 of file ovm_packer.sv.

string ovm_packer::unpack_string int  num_chars = -1  )  [virtual]
 

Definition at line 466 of file ovm_packer.sv.

time ovm_packer::unpack_time  )  [virtual]
 

Definition at line 424 of file ovm_packer.sv.


Member Data Documentation

bit ovm_packer::big_endian = 1
 

Definition at line 47 of file ovm_packer.svh.

abstract ovm_packer::bit = 0
 

Definition at line 46 of file ovm_packer.svh.

bit ovm_packer::bitstream[] [static]
 

Definition at line 39 of file ovm_packer.svh.

byte ovm_packer::byte_size = 8
 

Definition at line 49 of file ovm_packer.svh.

int ovm_packer::count = 0
 

Definition at line 41 of file ovm_packer.svh.

bit ovm_packer::fabitstream[] [static]
 

Definition at line 40 of file ovm_packer.svh.

ovm_bitstream_t ovm_packer::m_bits = 0
 

Definition at line 55 of file ovm_packer.svh.

int ovm_packer::m_packed_size = 0
 

Definition at line 56 of file ovm_packer.svh.

bit ovm_packer::nopack = 0
 

Definition at line 51 of file ovm_packer.svh.

bit ovm_packer::physical = 1
 

Definition at line 45 of file ovm_packer.svh.

ovm_recursion_policy_enum ovm_packer::policy = OVM_DEFAULT_POLICY
 

Definition at line 53 of file ovm_packer.svh.

bit ovm_packer::reverse_order = 0
 

Definition at line 48 of file ovm_packer.svh.

ovm_scope_stack ovm_packer::scope = new
 

Definition at line 42 of file ovm_packer.svh.

bit ovm_packer::use_metadata = 0
 

Definition at line 44 of file ovm_packer.svh.

int ovm_packer::word_size = 16
 

Definition at line 50 of file ovm_packer.svh.


The documentation for this class was generated from the following files:
Intelligent Design Verification
Intelligent Design Verification
Project: OVM, Revision: 1.1.0
Copyright (c) 2008 Intelligent Design Verification.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included here:
http://www.intelligentdv.com/licenses/fdl.txt
doxygen
Doxygen Version: 1.4.6
Mon Sep 29 14:23:58 2008
Find a documentation bug? Report bugs to: bugs.intelligentdv.com Project: DoxygenFilterSV