cpu.hdl

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

cpu.hdl

david
is my code correct 

CPU.hdl (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: cpu.hdl

cadet1620
Administrator
No.  It has at least one syntax error.  When you run CPU.tst you should see this error message in red in the status line at the bottom of the window.
"In HDL file C:\nand2tetris\projects\05\CPU.hdl, Line 62, A pin name is expected: load CPU.hdl"

Note that the message says line 62, but it is common for error mesage line numbers to be off by 1.  The error is really in line 61.

Also, I note that there is no code to generate the 'PCload' signal.

--Mark