Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dcronqvist/logix
⚡ designer and simulator for logic circuits
https://github.com/dcronqvist/logix
circuit education logic logisim simulator
Last synced: 2 months ago
JSON representation
⚡ designer and simulator for logic circuits
- Host: GitHub
- URL: https://github.com/dcronqvist/logix
- Owner: dcronqvist
- License: gpl-3.0
- Created: 2021-02-24T17:58:47.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-01-07T15:08:02.000Z (about 1 year ago)
- Last Synced: 2024-05-02T04:18:32.114Z (9 months ago)
- Topics: circuit, education, logic, logisim, simulator
- Language: C#
- Homepage:
- Size: 52.2 MB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ⚡ logix
![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/dcronqvist/logix/tests.yml?branch=master&label=tests)
Simulator for logic gates and circuits.
Below is an example gif of a microprocessor, designed by me, that implements a simple instruction set (similar to a 6502), that is running a simple program that prints `Hello World!` to its connected display, and then allows for _infinite_ input by the user via their keyboard. The sample program is written in an assembly-style language (for easy programming of the D2), and the program can be seen [here](/examples/d2/keyboard.s). There is also a [LogiX plugin](/examples/d2/d2-plugin/) for the D2 that allows you to directly assemble a file into the D2's RAM for easy programming and running. The simulated processor is running at around 600-800 instructions per second.
![Showcasing the D2 processor](media/d2_showcase.gif)
There are a few example projects in the [`examples`](/examples/) directory, which can be opened up in the editor, or simulated on the command line.
## Getting started
If you just want to get your hands dirty and start placing out logic gates and make circuits, all you'll need is a `dotnet` runtime, and to clone down the repository.
The `.csproj` targets `.NET 7`, so you'll need a runtime with version >= 7.
```
git clone https://github.com/dcronqvist/logix
.utils/setup.ps1
cd logix/src/LogiX
dotnet run
```