Skip to content

Time the 74123 pulse while the simulation is running #3058

Description

@Vadimatorik

Summary

Follow-up to #3038. The resistor and capacitor attributes are in place, but the pulse width is still a tick count, max(1, round(tW × tickFrequency)). At a comfortable tick rate an ordinary RC value collapses to one tick, and raising the tick frequency to see a real pulse makes the rest of the circuit run too fast to watch.

The width should stay the 5 V datasheet formula, tW = 0.45 × Rext(kΩ) × Cext(pF) nanoseconds, and elapse in real time while the simulation is running. It should not depend on the tick frequency. Stopping the simulation should freeze the time that remains, and running again should continue it. The external resistor and capacitor stay attributes, not wires, and the analog capacitor charge is still not modeled.

I will open a pull request for this issue.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions