-1
'define vend_a_drink {D,dispense,collect} = {IDLE, 2'b11}

D - next_state
dispense - dispense the drink
collect - collect coins
Given statement was included in a code written using verilog for an vending machine.

PVS
  • 67
  • 6

1 Answers1

0

When `vend_a_drink is present it is replaced with {D,dispense,collect} = {IDLE, 2'b11} during pre-compilation.

Morgan
  • 19,934
  • 8
  • 58
  • 84