Skip to content

Releases: eunjichon/PCEval-Source

wokwi-cli for PCEval

Choose a tag to compare

@eunjichon eunjichon released this 22 Oct 12:38

Modified Wokwi CLI for running PCEval evaluation scenarios, based on Wokwi CLI v0.17.1.

Added API

  • wait-pin: Wait for a pin to reach the expected value.
  • wait-multi-pin: Wait for multiple pins to match their expected values.

Changes from upstream

Based on Wokwi CLI v0.17.1, this version adds two commands for PCEval automation scenarios:

  • src/scenario/WaitPinCommand.ts: Added wait-pin, which polls a single pin until its logical value matches the expected value.
  • src/scenario/WaitMultiPinCommand.ts: Added wait-multi-pin, which polls multiple pins until all values match their expected values.
  • src/main.ts: Imported and registered both commands for use in YAML scenario files.

Both commands support configurable timeout and interval parameters, with defaults of 5000 ms and 100 ms, respectively. They use the existing Wokwi pin-reading API.