PC vs. instruction

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

PC vs. instruction

iHaveAQuestion
One thing i don't understand: in my CPU implementation, should i override the "instruction" input with the PC output? Otherwise, how does the PC output influence the program?
Thanks
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: PC vs. instruction

cadet1620
Administrator
iHaveAQuestion wrote
One thing i don't understand: in my CPU implementation, should i override the "instruction" input with the PC output? Otherwise, how does the PC output influence the program?
Thanks
The Computer.hdl part takes care of that. The PC output from the CPU is connected to the ROM's address and the ROM's output is connected to the CPU's instruction input.

--Mark
Loading...