JSS Device MemoryW4D4

This device simulates a memory 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.

Options

Implementation

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

Example configuration


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

Example simulation

https://github.com/ComputingMongoose/Simulations/tree/main/simulations/Intellec_4/basic_system_with_monitor

Youtube