Autosave: 2022-12-31 12:30:04
This commit is contained in:
parent
a9a93c86be
commit
c2a2d72cc2
2 changed files with 4 additions and 2 deletions
|
@ -9,10 +9,12 @@ tags: [HDL, nand-to-tetris]
|
|||
|
||||
In order to test our [HDL](/Computer_Architecture/Hardware_Description_Language.md) files we load them into the hardware simulator program shown below:
|
||||
|
||||
<img src="/home/thomas/repos/computer_science/_img/hardware-simulator.png" width="500">
|
||||
|
||||
There are several simulation options:
|
||||
|
||||
- interactive
|
||||
- script-based (where we load a test script into the simulator along with the HDL file
|
||||
- comparative (running the HDL program against our intended output specified in the `.out` file)
|
||||
|
||||
The image below shows a basic interactive usage of the simulator. We have uploaded the `Xor.hdl` file into the simulator and changed the input pins to `a=1, b=0` and clicked the calculator icon. This then shows the output and internal pin values for these inputs.
|
||||
|
||||
<img src="/home/thomas/repos/computer_science/_img/hardware-sim-basic.png" >
|
||||
|
|
BIN
_img/hardware-sim-basic.png
Normal file
BIN
_img/hardware-sim-basic.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 51 KiB |
Loading…
Add table
Reference in a new issue