JSS Device PROMW4D4

This device simulates a Programmable Read Only Memory (PROM) with word size 4-bits and data bus connection 4-bits. Internally, data is stored in bytes (two 4-bit words are packed into a byte). When an address is read the memory will return data in the lower 4-bits of the Java long value. When written, only the lower 4-bits will be taken into consideration and stored according to the specified address. This type of memory is useful with 4-bit CPUs, such as the Intel 4004. It is similar to the MemoryW4D4 device. To use the PROM functionality, it must be attached to a PROM Controller, such as PROMControllerBasic.

Options

Device Connections

Implementation

https://github.com/ComputingMongoose/JavaSystemSimulator/blob/main/src/jss/devices/memory/impl/PROMW4D4.java

Example configuration


{
	"name":"DataPROM",
	"type":"PROMW4D4",
	"configuration":[
		{"key":"size", "value":500},
		{"key":"initialization_policy", "value":"ZERO"}
	]
}

Youtube