eval is not working

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

eval is not working

promistrio
Hello! I launched HardwareSimulator.bat and opened different *.hdl files from projects/01. After changing imput pins "Eval" button don't working. All scripts return error on the eval line
Reply | Threaded
Open this post in threaded view
|

Re: eval is not working

cadet1620
Administrator
The "Eval" button will not be enabled unless all the pins named in the OUT section are connected to parts in the PARTS: section.

Until you write the code, the HDL files in projects/01 have nothing in their PARTS: sections, so they will not work in the HardwareSimulator.

You can experiment with the HardwareSimulator using the projects/demo/Xor.hdl file which is a working example.

--Mark
Reply | Threaded
Open this post in threaded view
|

Re: eval is not working

kephasp
If I load the demo/Xor.hdl, the eval button still isn't active.
Reply | Threaded
Open this post in threaded view
|

Re: eval is not working

WBahn
Administrator
That demo in the book was intended to let you see how to connect several parts together to implement a schematic. It is not a "do this first" circuit. It will not work unless you have either implemented the gates it depends on, or removed the .hdl files for those chips from your directory so that the simulator will use built in parts.