Header menu logo issie

Memory1 Type

Record fields

Record Field Description

AddressWidth

Full Usage: AddressWidth

Field type: int

How many bits the address should have. The memory will have 2^AddressWidth memory locations.

Field type: int

Comments

Full Usage: Comments

Field type: Map<bigint, string> option

Comments written against locations in a .ram file, as "0 10 // what this word is for". Addresses with no comment are absent. Optional so that designs saved before comments existed still load: a missing field reads back as None.

Field type: Map<bigint, string> option

Data

Full Usage: Data

Field type: Map<bigint, bigint>

Sparse represnetation: addresses not in map contain zero

Field type: Map<bigint, bigint>

Init

Full Usage: Init

Field type: InitMemData

Is the data initialised from a file name.ram in the project directory, or some other way?

Field type: InitMemData

WordWidth

Full Usage: WordWidth

Field type: int

How wide each memory word should be, in bits.

Field type: int

Type something to start searching.