Skip to main content

digsim-engine

The simulator of DigSim, without its GUI: digital logic circuits in Python, Verilog synthesized by Yosys (which runs in-process, nothing else to install), VCD files for GTKWave, and the circuit files of the GUI.

pip install digsim-engine
from digsim.circuit import Circuit
from digsim.circuit.components import AND, PushButton

circuit = Circuit(vcd="and.vcd")
a = PushButton(circuit, "a")
b = PushButton(circuit, "b")
gate = AND(circuit, "gate")
a.O.wire = gate.A
b.O.wire = gate.B
circuit.init()
a.push()
b.push()
circuit.run(ns=10)
print(gate.Y.value)  # 1

The GUI application, pip install digsim-logic-simulator, uses this package. See the documentation for the Python API, Verilog components and testbenches with pytest.

Metadata

Release files for digsim-engine 1.14.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for digsim-engine 1.14.0
File Size Uploaded Provenance Actions
digsim_engine-1.14.0.tar.gz 152.1 kB Without provenance Details for digsim_engine-1.14.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for digsim-engine 1.14.0
File Interpreter ABI Platform Actions
digsim_engine-1.14.0-py3-none-any.whl Python 3 none any Details for digsim_engine-1.14.0-py3-none-any.whl

Total release size: 349.4 kB

Release files / digsim_engine-1.14.0.tar.gz

Download URL digsim_engine-1.14.0.tar.gz
Size 152.1 kB
Tags Source
SHA-256 checksum
How to use checksums
71979e226839197b6e35423f31231958f38c0519125ea13ebf725425e9a13e5c
BLAKE2b-256 checksum
How to use checksums
7738ae17d417cd289a4e3ed823dc7c3dce48e2c8eb752f8781cede7c4b538445
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / digsim_engine-1.14.0-py3-none-any.whl

Download URL digsim_engine-1.14.0-py3-none-any.whl
Size 197.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe16b8118759fcacb9f2f7dab7eb8c28ef62399b28ee82f88fe32ec144225310
BLAKE2b-256 checksum
How to use checksums
061076f268cff83b6d676bad30b8c9da7ca4e3152786c4342a61c23601ec3b46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Security for digsim-engine 1.14.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page