scc  2022.4.0
SystemC components library
scc::abstract_bitfield< datatype_t > Class Template Referenceabstract

Abstract baseclass for bitfield. More...

#include <tlm_target_bfs_register_base.h>

Inheritance diagram for scc::abstract_bitfield< datatype_t >:

Public Member Functions

constexpr abstract_bitfield (std::string name, size_t bitOffset, size_t bitSize, std::string urid)
 
virtual void write (datatype_t &valueToWrite)=0
 
virtual datatype_t read ()=0
 
constexpr bool affected (size_t byteOffset, size_t byteLength) const noexcept
 
constexpr datatype_t mask () const noexcept
 

Public Attributes

const size_t bitOffset
 
const size_t bitSize
 
const std::string name
 
const std::string urid
 

Detailed Description

template<typename datatype_t>
class scc::abstract_bitfield< datatype_t >

Abstract baseclass for bitfield.

Used to resolve cyclic dependency between bitfield_register and bitfield.

Definition at line 57 of file tlm_target_bfs_register_base.h.


The documentation for this class was generated from the following file: