Trying to write a test for CheckZero16 chip
Posted by
tansaku on
Feb 02, 2014; 8:19am
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Trying-to-write-a-test-for-CheckZero16-chip-tp4027698.html
I've got a CheckZero16 chip of my own devising working (I think), and I thought I had correctly formatted a tst file to run tests on it:
https://gist.github.com/tansaku/8764610Here's the Chip:
https://gist.github.com/tansaku/8764639and here's the cmp file:
https://gist.github.com/tansaku/8764645and here's the current output:
https://gist.github.com/tansaku/d77b8c83a17f378f97a3However when I run in the hardware simulator I get "comparison failure at line 1". Am I missing something obvious - or is there something such as a character limit on the outputs, e.g. have to be max three chars?
Is the tst file format documented anywhere?
Many thanks in advance
CHEERS> SAM
Sam Joseph, Ph.D.
Associate Professor
Department of Computer Science
Hawaii Pacific University