Vending machine sequence diagram

broken image

Statements between the begin and begin end in an always block execute // Procedural assignments // if statements sequentially from top to bottom // case, casex, and casez statements (however, beware of blocking versus // while, repeat and for loops non-blocking assignment) // user task and user function calls end.

broken image

followed by wire, reg, integer, task and function declarations */ /* Describe hardware with one or more continuous assignments, always blocks, module instantiations and gate instantiations */ // Continuous assignment wire

broken image

Module Template Synthesis tools expects to find modules in this format.

broken image