Run

squidasm.run.stack.run.run(config, programs, num_times=1)

Run programs on a network specified by a network configuration.

Parameters:
  • config (Union[NetworkConfig, StackNetworkConfig]) – configuration of the network

  • programs (Dict[str, Program]) – dictionary of node names to programs

  • num_times (int) – numbers of times to run the programs, defaults to 1

Return type:

List[List[Dict[str, Any]]]

Returns:

program results, outer list is per stack, inner list is per program iteration