origen.blocks.memories
¶
Classes¶
-
class
origen.blocks.memories.
Flash
(**kwargs)¶ Inheritance
-
add_reg
(*args, **kwargs)¶
-
add_simple_reg
(*args, **kwargs)¶
-
add_sub_block
(*args, **kwargs)¶
-
property
app
¶ Returns the application instance that defines this block
-
property
block_dir
¶ Returns a path to the block directory where this block is defined
-
property
block_path
¶ Returns the block path that defined this block, e.g. the block defined in blocks/adc/derivatives/16_bit will have block_path = “adc.16_bit”
-
cc
(message)¶
-
classmethod
currently_loading
(name)¶
-
classmethod
done_loading
(name)¶
-
property
end
¶
-
property
end_addr
¶
-
property
end_address
¶
-
property
first
¶
-
property
first_addr
¶
-
property
first_address
¶
-
classmethod
is_currently_loading
(name)¶
-
property
is_flash
¶
-
property
is_generic
¶
-
property
is_ram
¶
-
property
is_rom
¶
-
is_top
= False¶
-
property
last
¶
-
property
last_addr
¶
-
property
last_address
¶
-
property
length
¶
-
mem
(offset, **kwargs)¶
-
memory_map
(name)¶
-
model
()¶
-
model_id
= None¶
-
name
= None¶
-
path
= None¶
-
preface
()¶
-
reg
(name)¶
-
property
size
¶
-
property
start
¶
-
property
start_addr
¶
-
property
start_address
¶
-
tree
()¶
-
tree_as_str
(leader='', include_header=True)¶
-
-
class
origen.blocks.memories.
Generic
(*, offset=0, word_size=4, length=None)¶ Inheritance
-
add_reg
(*args, **kwargs)¶
-
add_simple_reg
(*args, **kwargs)¶
-
add_sub_block
(*args, **kwargs)¶
-
property
app
¶ Returns the application instance that defines this block
-
property
block_dir
¶ Returns a path to the block directory where this block is defined
-
property
block_path
¶ Returns the block path that defined this block, e.g. the block defined in blocks/adc/derivatives/16_bit will have block_path = “adc.16_bit”
-
cc
(message)¶
-
classmethod
currently_loading
(name)¶
-
classmethod
done_loading
(name)¶
-
property
end
¶
-
property
end_addr
¶
-
property
end_address
¶
-
property
first
¶
-
property
first_addr
¶
-
property
first_address
¶
-
classmethod
is_currently_loading
(name)¶
-
property
is_flash
¶
-
property
is_generic
¶
-
property
is_ram
¶
-
property
is_rom
¶
-
is_top
= False¶
-
property
last
¶
-
property
last_addr
¶
-
property
last_address
¶
-
property
length
¶
-
mem
(offset, **kwargs)¶
-
memory_map
(name)¶
-
model
()¶
-
model_id
= None¶
-
name
= None¶
-
path
= None¶
-
preface
()¶
-
reg
(name)¶
-
property
size
¶
-
property
start
¶
-
property
start_addr
¶
-
property
start_address
¶
-
tree
()¶
-
tree_as_str
(leader='', include_header=True)¶
-
-
class
origen.blocks.memories.
RAM
(**kwargs)¶ Inheritance
-
add_reg
(*args, **kwargs)¶
-
add_simple_reg
(*args, **kwargs)¶
-
add_sub_block
(*args, **kwargs)¶
-
property
app
¶ Returns the application instance that defines this block
-
property
block_dir
¶ Returns a path to the block directory where this block is defined
-
property
block_path
¶ Returns the block path that defined this block, e.g. the block defined in blocks/adc/derivatives/16_bit will have block_path = “adc.16_bit”
-
cc
(message)¶
-
classmethod
currently_loading
(name)¶
-
classmethod
done_loading
(name)¶
-
property
end
¶
-
property
end_addr
¶
-
property
end_address
¶
-
property
first
¶
-
property
first_addr
¶
-
property
first_address
¶
-
classmethod
is_currently_loading
(name)¶
-
property
is_flash
¶
-
property
is_generic
¶
-
property
is_ram
¶
-
property
is_rom
¶
-
is_top
= False¶
-
property
last
¶
-
property
last_addr
¶
-
property
last_address
¶
-
property
length
¶
-
mem
(offset, **kwargs)¶
-
memory_map
(name)¶
-
model
()¶
-
model_id
= None¶
-
name
= None¶
-
path
= None¶
-
preface
()¶
-
reg
(name)¶
-
property
size
¶
-
property
start
¶
-
property
start_addr
¶
-
property
start_address
¶
-
tree
()¶
-
tree_as_str
(leader='', include_header=True)¶
-
-
class
origen.blocks.memories.
ROM
(**kwargs)¶ Inheritance
-
exception
WriteROMError
¶ -
args
¶
-
with_traceback
()¶ Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
-
-
add_reg
(*args, **kwargs)¶
-
add_simple_reg
(*args, **kwargs)¶
-
add_sub_block
(*args, **kwargs)¶
-
property
app
¶ Returns the application instance that defines this block
-
property
block_dir
¶ Returns a path to the block directory where this block is defined
-
property
block_path
¶ Returns the block path that defined this block, e.g. the block defined in blocks/adc/derivatives/16_bit will have block_path = “adc.16_bit”
-
cc
(message)¶
-
classmethod
currently_loading
(name)¶
-
classmethod
done_loading
(name)¶
-
property
end
¶
-
property
end_addr
¶
-
property
end_address
¶
-
property
first
¶
-
property
first_addr
¶
-
property
first_address
¶
-
classmethod
is_currently_loading
(name)¶
-
property
is_flash
¶
-
property
is_generic
¶
-
property
is_ram
¶
-
property
is_rom
¶
-
is_top
= False¶
-
property
last
¶
-
property
last_addr
¶
-
property
last_address
¶
-
property
length
¶
-
mem
(offset, **kwargs)¶
-
memory_map
(name)¶
-
model
()¶
-
model_id
= None¶
-
name
= None¶
-
path
= None¶
-
preface
()¶
-
reg
(name)¶
-
property
size
¶
-
property
start
¶
-
property
start_addr
¶
-
property
start_address
¶
-
tree
()¶
-
tree_as_str
(leader='', include_header=True)¶
-
write_register
(*args, **kwargs)¶
-
exception