print('Car: Was interrupted at %d. Hope, the battery is full enough ...' % self.env.now) print('Car: Start driving at %d' % self.env.now) ...
-- Define the states as an enumeration type. -- This is idiomatic VHDL: never use magic numbers like "00","01" for states. -- Default: stay in current state (covers all "else" arrows in diagram), uses ...