|
Hi.
I just start to read this book and I have some problem
with multi-bit gates.
How to implement in HDL for example 16 bit NOT.
I have done something like this :
CHIP Not16 {
IN in[16];
OUT out[16];
PARTS:
Nand(a=in[0],b=in[0],out=out[0]);
Nand(a=in[1],b=in[1],out=out[1]);
.
.
.
Nand(a=in[15],b=in[15],out=out[15]);
}
And it works. But Is any way to to this by for loop ?
|