-
Notifications
You must be signed in to change notification settings - Fork 7
Test HDL files remotely
Obi-Ike Nwoke edited this page Feb 21, 2016
·
4 revisions
- Develop on a chromebook or obscure OS?
- Want to test hdl files like a 1337 hacker?
- Don't want to install java locally?
Run the hardware simulator... in the cloud!
cloud9 is a cloud development platform, and since it has java pre-configured, it's easy to run the nand2tetris software.
###About cloud9 The first environment is private, but subsequent environments are open to the public unless you pay for a premium account. Try not to keep any personal data or private keys on there, just to be safe.
Other similar providers like Koding may work too, YMMV.
###What works
- Hardware simulator works, using command line to compare hdl files to test scripts. This doesn't have all the features of the GUI but might be enough debug.
- Other tools are untested
###Get set up
- Sign up for cloud9 account
- Create a workspace. If this is your first, choose the "custom" template with a private workspace.
- In your new workspace, open a new terminal tab (⌥t on a mac)
- Java should be pre-installed:
java -version
- Download & extract software:
wget http://www.nand2tetris.org/software/nand2tetris.zip && unzip nand2tetris.zip
- Follow the command-line usage instructions at nand2tetris.org/software.php.
For example, use this syntax to test the "And" gate:
sh ~/workspace/nand2tetris/tools/HardwareSimulator.sh ~/workspace/nand2tetris/projects/01/And.tst