Houyx15 wrote
I've compiled this but it didn't run well
I think I didn't get the real meaning of 16-bit chips
Guys, can you help me how to make a 16-bit chip , please?
Thank you!
What do you mean by "didn't run well?"
What you posted is a correct Not16.hdl, and it passes the test on my system.
If it is failing on your system, it is most likely that there is a problem with your Not.hdl.
In particular, it the output from your Not16 is always 0, you may have the Not.hdl without implementation in the directory with the Not16.hdl.
You could also be running the Hardware Simulator on the wrong Not16.hdl. I've done that way too many times because I have lots of student subdirectories and the simulator remembers the last one I was looking at. 8-(
Please edit your post to remove the correct HDL code.
In general, if you are getting a miscompare and can't figure out why, post the Partname.out file so that we can help diagnose the failure.
--Mark