|
| GC_HAS_CALLBACKS () |
|
| MemoryPower (sc_module_name name, MEMDevice::device_type type=MEMDevice::SRAM, uint32_t banks=4, uint32_t bsize=128, uint32_t bits=32, uint32_t cols=16, bool pow_mon=false) |
|
| ~MemoryPower () |
|
void | power_model () |
| Calculate power/energy values from normalized input data. More...
|
|
gs::cnf::callback_return_type | swi_power_cb (gs::gs_param_base &changed_param, gs::cnf::callback_type reason) |
| Dynamic/Switching power callback. More...
|
|
gs::cnf::callback_return_type | dyn_reads_cb (gs::gs_param_base &changed_param, gs::cnf::callback_type reason) |
| 32-bit-reads counter callback More...
|
|
gs::cnf::callback_return_type | dyn_writes_cb (gs::gs_param_base &changed_param, gs::cnf::callback_type reason) |
| 32-bit-writes counter callback More...
|
|
gs::cnf::callback_return_type | dyn_reads_write_cb (gs::gs_param_base &changed_param, gs::cnf::callback_type reason) |
| 32-bit-reads counter callback, write More...
|
|
gs::cnf::callback_return_type | dyn_writes_write_cb (gs::gs_param_base &changed_param, gs::cnf::callback_type reason) |
| 32-bit-writes counter callback, write More...
|
|
| MEMDevice (sc_module_name name, device_type type, uint32_t banks=0, uint32_t bsize=0, uint32_t bits=32, uint32_t cols=0) |
|
virtual | ~MEMDevice () |
| Empty destructor. More...
|
|
virtual void | init_mem_generics () |
| Initialize MEMDevice generics. More...
|
|
virtual const char * | get_device_info () const |
| Returns the memory configuration. More...
|
|
virtual const device_type | get_type () const |
| Returns the device type. More...
|
|
virtual const std::string | get_type_name () const |
| Return the device type name. More...
|
|
virtual const uint32_t | get_banks () const |
| Returns the number of banks of the memory (sram or sdram bank if needed) More...
|
|
virtual const uint32_t | get_bsize () const |
|
virtual const uint32_t | get_bits () const |
|
virtual const uint32_t | get_cols () const |
| Returns the column size of the memory (sdram) More...
|
|
virtual const uint32_t | get_size () const |
| Returns the size of the whole memory. More...
|
|
| BaseModule (ModuleName mn) |
|
virtual | ~BaseModule () |
|
virtual void | init_generics () |
|
virtual void | init_registers () |
|
virtual void | init_counters () |
|
virtual void | init_power () |
|
| SR_HAS_SIGNALS (CLKDevice) |
|
| CLKDevice () |
|
virtual | ~CLKDevice () |
|
virtual void | onrst (const bool &value, const sc_core::sc_time &time) |
|
virtual void | onclk (const sc_core::sc_time &value, const sc_core::sc_time &time) |
|
void | set_clk (sc_core::sc_clock &clk) |
|
void | set_clk (sc_core::sc_time period) |
|
void | set_clk (double period, sc_core::sc_time_unit base) |
|
virtual void | dorst () |
|
virtual void | clkcng () |
|
| BaseMemory () |
|
| ~BaseMemory () |
|
void | set_storage (std::string implementation, uint32_t size) |
|
uint8_t | read (const uint32_t &addr) |
|
uint8_t | read_dbg (const uint32_t &addr) |
|
void | write (const uint32_t &addr, const uint8_t &byte) |
|
void | write_dbg (const uint32_t &addr, const uint8_t &byte) |
|
void | write_block (const uint32_t &addr, uint8_t *data, const uint32_t &len) |
|
void | write_block_dbg (const uint32_t &addr, const uint8_t *data, const uint32_t &len) |
|
void | read_block (const uint32_t &addr, uint8_t *data, const uint32_t &len) |
|
void | read_block_dbg (const uint32_t &addr, uint8_t *data, const uint32_t &len) const |
|
void | erase (const uint32_t &start, const uint32_t &end) |
|
void | erase_dbg (const uint32_t &start, const uint32_t &end) |
|
virtual scireg_ns::scireg_response | scireg_get_region_type (scireg_ns::scireg_region_type &t) const |
| Get the region_type of this region: More...
|
|
virtual scireg_ns::scireg_response | scireg_read (scireg_ns::vector_byte &v, sc_dt::uint64 size, sc_dt::uint64 offset=0) const |
| Read a vector of "size" bytes at given offset in this region: More...
|
|
virtual scireg_ns::scireg_response | scireg_write (const scireg_ns::vector_byte &v, sc_dt::uint64 size, sc_dt::uint64 offset=0) |
| Write a vector of "size" bytes at given offset in this region: More...
|
|
virtual sc_dt::uint64 | scireg_get_bit_width () const |
| Get bit width and byte width of this region. More...
|
|
virtual sc_dt::uint64 | scireg_get_low_pos () const |
| If this region is a register field, these functions return low bit and high bit positions: More...
|
|
virtual sc_dt::uint64 | scireg_get_high_pos () const |
|
virtual scireg_ns::scireg_response | scireg_get_dmi_granted (bool &granted, sc_dt::uint64 size, sc_dt::uint64 offset=0) const |
| Query to see if DMI access has been granted to this region. "size" and offset can be used to constrain the range. More...
|
|
| scireg_region_if () |
|
virtual | ~scireg_region_if () |
|
virtual scireg_response | scireg_get_bit_attributes (vector_byte &v, scireg_bit_attributes_type t, sc_dt::uint64 size, sc_dt::uint64 offset=0) const |
| Get bit attributes of type "t" into "v". "size" represents number of bytes returned, offset can be used to constrain the range. More...
|
|
virtual scireg_response | scireg_get_string_attribute (const char *&s, scireg_string_attribute_type t) const |
| Get string attributes of type "t" associated with this region. The returned string is assigned to "s". More...
|
|
virtual sc_dt::uint64 | scireg_get_byte_width () const |
|
virtual scireg_response | scireg_get_child_regions (std::vector< scireg_mapped_region > &mapped_regions, sc_dt::uint64 size=sc_dt::uint64(-1), sc_dt::uint64 offset=0) const |
|
virtual scireg_response | scireg_get_parent_regions (std::vector< scireg_region_if * > &v) const |
| Get parent regions of this region. More...
|
|
virtual scireg_response | scireg_add_callback (scireg_callback &cb) |
| Add/Delete Callback objects associated with this region. More...
|
|
virtual scireg_response | scireg_remove_callback (scireg_callback &cb) |
|
virtual scireg_response | scireg_get_target_sockets (std::vector< sc_core::sc_object * > &v) const |
| Get SC TLM2 Target socket associated with this region. More...
|
|
virtual scireg_response | scireg_get_parent_modules (std::vector< sc_core::sc_module * > &v) const |
| Get parent SystemC modules associated with this region. More...
|
|
virtual scireg_response | scireg_get_value_info (std::vector< scireg_value_info > &v) const |
| Get a vector of value_info objects for this region. More...
|
|