DaveDoesThis wrote
There's not a Mux8Way chip in the builtin chips folder. This isn't a huge problems since I can just use my custom-made chip, but I'm pretty sure it should be there according to the chip api.
The book does not have you build Mux4Way or Mux8Way. The required chips are Mux4Way16 and Mux8Way16. You can build them using the Mux16 as a building block.
Once you've written your Mux8Way16, if you have a specific need for a 1-bit 8-way multiplexor you can use one bit of the 16-bit part:
Mux8Way16(sel=foo, a[0]=bar, ..., out[0]=whatever);
HDL doesn't care if you leave unused bits of buses unconnected.
It's OK, by the way, to write your own parts that aren't mentioned in the book. You can put regular HDL in the n2t/tools/builtInChips directory and they'll be available everywhere just like the other built-ins. I added And3Way, And8Way and Or3Way to my built-ins since they are standard parts that I've designed with for years.
--Mark