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.15.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.15.0
File Size Uploaded Provenance Actions
digsim_engine-1.15.0.tar.gz 156.8 kB Without provenance Details for digsim_engine-1.15.0.tar.gz

Built distribution (wheel)

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

Total release size: 358.5 kB

Release files / digsim_engine-1.15.0.tar.gz

Download URL digsim_engine-1.15.0.tar.gz
Size 156.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a9cce37506caa5f154ab471b91b1293996e3a19a3c008e84b2eb46aa5fd780b6
BLAKE2b-256 checksum
How to use checksums
502d4d407691515a320b5a6c88e1502f8bfd62f29971816cc42eecaf51a4d0c8
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.15.0-py3-none-any.whl

Download URL digsim_engine-1.15.0-py3-none-any.whl
Size 201.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
90dc43011f6dabb51c557400927bfe8a3f1f6c653d73dceb5416cfe900d50860
BLAKE2b-256 checksum
How to use checksums
435c55bdd1d6ef7ebba5713ad1ed1dbbd071378d41d7db8b097dcf1f8a77b679
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.15.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