|
When implementing zr and ng, I don't know of a way to do it without sub-busing internal pins, that is, without selecting output[0..7] from output[16]; this seems to be an issue regarding the way that HDL was designed rather than a real-world limitation--only input pins can be sub-bused--though I am a beginner at this and I might be wrong. It stumped me for a little while until I realized that I could make a seperate chip with in[16] and out[1] or out[8] or whatever is needed, and then using that chip in the ALU.hdl file instead of implementing the logic directly on the ALU...abstraction and all that.
Just a heads up to anyone else that may come across this issue.
|