schoeberl / chisel-book

Digital Design with Chisel
727 stars 135 forks source link

Tiny misspelling (or missing words?) Vec section #47

Closed n-kremeris closed 7 months ago

n-kremeris commented 9 months ago

Hi, Very minor problem - page 19, section 2.4.2 - Vec

A Vec is used for three different purposes: (1) dynamic addressing in hardware, which is a multiplexer; (2) a register file, which includes multiplexing the read and generating the enable signal for the write; (3) parametrization if the number of ports of a Module. For other collections of things, being it hardware elements or other generator data, it is better to use the Scala collection Seq.

I was skimming through the book and this threw me off. I assume the "if" should be "of", or could it be that some words are missing?

schoeberl commented 8 months ago

yes, it should be of. PR?

schoeberl commented 7 months ago

fixed. Thanks for noticing it.