|
2 posts
|
This post was updated on Mar 23, 2016; 6:39pm.
Hello everyone,
I have ben trying to implement the PC chip from 3 days but without luck
i have posted my hdl below, just help me with the concept, i mean don't make comments directly regarding my hdl(because i don't want anyone ruin the joy of solving the problem myself), am i in the right way or made any mistake..??, if i do so please give me some hints; where am i wrong, Thanks in advance for any help...Thank you
|
Administrator
2607 posts
|
In overall structure, the PC is like a Bit — a storage element that connects to out and also feeds back to some combinational circuitry that creates the next input value for the storage element.
When you connect load=True in a Register, you have logically turned it into a DFF16.
You have the right idea about using 3 Mux16s to handle the control inputs. You just need to get the Mux16s' inputs connected in the right sequence.
--Mark
|
2 posts
|
Thanks Mark, i guess there is some magic in the forum after visiting it and i was able to solve the problem in 5 minutes , thanks once again Mark , u are right, it's just the change of inputs of Mux16's, got a working PC chip, i will remove my almost nearly working hdl code, as i don't want to ruin the others fun of solving the problem on their own
Thannks man.....
|
453 posts
|
Yes. It's the magic of rubber duck problem solving: http://blog.codinghorror.com/rubber-duck-problem-solving/
On Wed, Mar 23, 2016, 20:38 Tesla [via Nand2Tetris Questions and Answers Forum] < [hidden email]> wrote:
Thanks Mark, i guess there is some magic in the forum after visiting it and i was able to solve the problem in 5 minutes , thanks once again Mark , u are right, it's just the change of inputs of Mux16's, got a working PC chip, i will remove my almost nearly working hdl code, as i don't want to ruin the others fun of solving the problem on their own
Thannks man.....
If you reply to this email, your message will be added to the discussion below:
|
|