A chip that watches a memory object for changes.
The ramwatch chip requires 1 input and 1 output. The input functions as an enable switch, and it must be on for the chip to function. The output generates a 0-tick pulse whenever the specified memory object changes.
The memory object to watch is given as the first sign argument, in the form of $<memory-id>
. A second argument may be given, which specifies the address to watch. (This address may be given in hexadecimal, as 0x1234.) If no address is given, instead the entire memory object is watched for changes.
ramwatch
$<memory-id>
[memory-address]
(optional)Version history: Added to BasicCircuits 0.96