Logic Gate Simulator vs HDL

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

Logic Gate Simulator vs HDL

zoobra
Hello!

I am using a logic gate "simulator", like this one, to build the gates in the nand2tetris course.

For those of you more learned than I am, do you think I will miss anything important if I choose not use the HDL/Test Script/Compare file approach?


Reply | Threaded
Open this post in threaded view
|

Re: Logic Gate Simulator vs HDL

cadet1620
Administrator
zoobra wrote
I am using a logic gate "simulator", like this one, to build the gates in the nand2tetris course.

For those of you more learned than I am, do you think I will miss anything important if I choose not use the HDL/Test Script/Compare file approach?
I like Logisim better, and it's free. It's powerful enough to implement the Hack computer[1].

You should do the HDL and testing because you can't know how well your more complex parts are satisfying the requirements it you only do them in a visual logic simulator.  For example, when you make your ALU in chapter 2 you can poke at it in Logisim, but you can't evaluate it as thoroughly as the HDL test scripts will.

It's also amazingly cool to see your Computer running in the Hardware Simulator executing a program that you wrote using the Assembler that you wrote!

I recommend using the visual tools to prototype the gates as you start developing them. I expect that you will find that writing HDL gets easy enough that you will stop using the visual tools as you progress through the book.

--Mark

[1]  Except for the graphics screen—you need to use text only output.
Reply | Threaded
Open this post in threaded view
|

Re: Logic Gate Simulator vs HDL

zoobra
Thank you for the thorough advice, Mark!