Documentation ¶ Index ¶ type Context type RAM func Create(ctx Context, label string, size int) *RAM func (r *RAM) Access(write bool, idx uint16, data uint8) (uint8, error) func (r *RAM) Label() string func (r *RAM) Reset(random bool) func (r *RAM) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Context ¶ type Context interface { Rand8Bit() uint8 } type RAM ¶ type RAM struct { // contains filtered or unexported fields } func Create ¶ func Create(ctx Context, label string, size int) *RAM func (*RAM) Access ¶ func (r *RAM) Access(write bool, idx uint16, data uint8) (uint8, error) func (*RAM) Label ¶ func (r *RAM) Label() string func (*RAM) Reset ¶ func (r *RAM) Reset(random bool) func (*RAM) String ¶ func (r *RAM) String() string Source Files ¶ View all Source files ram.go Click to show internal directories. Click to hide internal directories.