30.04.2013 Views

BSV by Example - Computation Structures Group

BSV by Example - Computation Structures Group

BSV by Example - Computation Structures Group

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

A.12.4 Whole register update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225<br />

A.12.5 Register containing a vector vs. vector of registers . . . . . . . . . . . . . . . 226<br />

A.12.6 Vector of modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227<br />

A.12.7 Static elaboration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229<br />

A.13 Finite State Machines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230<br />

A.13.1 Building a FSM explicitly using rules . . . . . . . . . . . . . . . . . . . . . . 230<br />

A.13.2 One-hot FSM explicitly using rules . . . . . . . . . . . . . . . . . . . . . . . . 231<br />

A.13.3 StmtFSM - Basic template . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232<br />

A.13.4 AutoFSM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233<br />

A.13.5 StmtFSM example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234<br />

A.14 Importing existing RTL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237<br />

A.14.1 Verilog File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238<br />

A.14.2 Using an existing interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238<br />

A.14.3 Defining a new interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239<br />

8

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!