Login  Register

Re: Running Test Script wipes out Chip parts

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

Success!

For others who have just wasted 5 hours of their life.

1. Take the Not.hdl into notepad

2. Add your implementation

3. Save with Ctrl S (do not save in any other way or this ends as a .txt file and yourinto the same problem I had earlier).

Cross your fingers, Start-up Hardware Simulator and load the Implented Chip -  bingo it works (Please excuse me. I am a Chemist BTW just trying to see how the products we sell end up as a computer)






On 18/01/2020 07:36, ivant [via Nand2Tetris Questions and Answers Forum] wrote:
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.


If you reply to this email, your message will be added to the discussion below:
http://nand2tetris-questions-and-answers-forum.32033.n3.nabble.com/Running-Test-Script-wipes-out-Chip-parts-tp4034131p4034132.html
To unsubscribe from Running Test Script wipes out Chip parts, click here.
NAML