RAM and ROM Testing Complete

Today I managed to iron out all the bugs associated with the memory parts. Again, automating the testing helped a lot.

Now all the parts pass the automated tests. Yippee!

All pass

The Truth Table approach needed some appreciation of the sequence of applying input values since, in computer circuits there is synchronization with a clock, but we are testing here in an asynchronous fashion.

Memory Truth Table

So it is important to not change control signals together at once in this case. For example, the input address may change whilst the /OE pin is low but that signal will be made high in the same row of Truth Table settings, and the output will be changed unexpectedly during the test.

Another small detail was with my encoding scheme for Bus pin names. I was upper-casing them when creating the Pin label text but, an example name may be Din or Dout, so I needed to use the String Capitalize method instead.

Another aspect of the RAM Memory in particular is a Memory Viewer and Editor Tool. This can flip modes between 8-bit hex, 16-bit hex, and binary. Also, the Player may change the size and bit-length of the memory. So I needed to do some debugging to get all of this working well.

Say for example the memory is switched to a 16 bit device and the memory contents are edited. We have to consider what happens if the device is then flipped to an 8-bit device. We want to make the effects seem logical and not lead to confusion.

So next I can probably implement the pin labelling feature that I think is necessary in order to get very close to an MVP (Minimum Viable Product).

Comments Forum

More Devlog entries

Most recent first