schoeberl / chisel-book

Digital Design with Chisel
773 stars 144 forks source link

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

Closed n-kremeris closed 11 months ago

n-kremeris commented 1 year 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 1 year ago

yes, it should be of. PR?

schoeberl commented 11 months ago

fixed. Thanks for noticing it.