Login  Register

Re: Running Test Script wipes out Chip parts

Posted by ivant on Jan 18, 2020; 7:36am
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/Running-Test-Script-wipes-out-Chip-parts-tp4034131p4034132.html

What do you mean by "wipes out"? Wipes it from where?

I'm not sure if I'm getting this right, but I think you do the following:
1. Load the chip
2. Load the test script
3. Run the test script

If that's the case, then the problem is that the test script itself expects to find the chip definition in the file Not.hdl and it loads it from there. The default file contains just the skeleton, without any actual implementation. What you need to do is to edit this file and then load only the test script and run it. It should take care of the rest.