Re: .hdl file modification
Posted by
cadet1620 on
Apr 03, 2012; 1:47pm
URL: http://nand2tetris-questions-and-answers-forum.52.s1.nabble.com/hdl-file-modification-tp3880550p3880986.html
Jonathan Ennis wrote
I edited the Not.hdl file with TextWrangler and added information in the PARTS: section.
after saving the edited version of the file, it is no longer executable. I tried to make it executable with the chmod command: "chmod +x Not.hdl"
but it didn't work, and I can't figure out how to make the file executable again. Any help would be greatly appreciated.
You should not set the executable attribute on HDL files; they are source files for the Hardware Simulator. After editing, load the corresponding
.tst file in the simulator and it will load and test your .hdl file.
If the Hardware Simulator can't open your modified file, try closing and restarting the simulator after editing. (Although I don't think it will happen on Macs, I have seen an interaction on Windows between the TECS tools and an ancient text editor I sometimes use that requires doing this.)
--Mark