class AdLint::Cc1::MemoryWindow

Public Class Methods

new(owner, addr, byte_size) click to toggle source
Calls superclass method AdLint::Cc1::MemoryBlock::new
# File lib/adlint/cc1/object.rb, line 1265
def initialize(owner, addr, byte_size)
  super(addr, byte_size)
  @owner = owner
end

Public Instance Methods

_cascade_update(src, br) click to toggle source
# File lib/adlint/cc1/object.rb, line 1287
def _cascade_update(src, br)
  on_written.invoke(self, src, br)
end
dynamic?() click to toggle source
# File lib/adlint/cc1/object.rb, line 1278
def dynamic?
  @owner.dynamic?
end
static?() click to toggle source
# File lib/adlint/cc1/object.rb, line 1274
def static?
  @owner.static?
end
write(val, src, br, cascade = true) click to toggle source
Calls superclass method AdLint::Cc1::MemoryBlock#write
# File lib/adlint/cc1/object.rb, line 1282
def write(val, src, br, cascade = true)
  super(val, src, br)
  _cascade_update(src, br) if cascade
end

Private Instance Methods

handle_written_through_window(win, src, br) click to toggle source
# File lib/adlint/cc1/object.rb, line 1292
def handle_written_through_window(win, src, br)
  super
  _cascade_update(src, br)
end