Look at the skeleton for Not.hdl:
CHIP Not {
IN in;
OUT out;
PARTS:
// Put your code here.
}
and the leftmost column figure 1.6 for an example of HDL syntax.
For each connection in a part, the left side of the "=" is an I/O pin in the part you are using. The right side of the "=" is a pin or wire in the chip you are writing.
Since Nand has inputs "a" and "b" output "out", every Nand part used in a chip will be
Nand (a=something, b=something, out=something);For the Not, the only choice for the
somethings are either
in or
out since these are the only declared input and output pins.
--Mark