You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of now evaluating (clock) have no return value. So its not possible for the simulator to know if e.g., a halt condition has been encountered.
Solution
Introducing a return type for the Component::clock method.
Something like
enumCondition{Error(String),Halt(String),}
And let clock return Result<(),Condition>, where Ok(()) indicates that clocking was successful, and Condition some type of exception. We can later refine the Condition to be more specific if we like but this could work to start out with.
Problem
As of now evaluating (clock) have no return value. So its not possible for the simulator to know if e.g., a halt condition has been encountered.
Solution
Introducing a return type for the
Component::clock
method.Something like
And let
clock
returnResult<(),Condition>
, whereOk(())
indicates that clocking was successful, andCondition
some type of exception. We can later refine theCondition
to be more specific if we like but this could work to start out with.Condition
in the simulator, allowing run to halt/error etc.Condition
andSimulator
status invizia
.Condition
andSimulator
status inegui
.The text was updated successfully, but these errors were encountered: