seblague / digital-logic-sim Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://sebastian.itch.io/digital-logic-sim
License: Other
Home Page: https://sebastian.itch.io/digital-logic-sim
License: Other
I have encountered a few issues with the system and felt I'd compile them together, focusing on the save-file issies.
txt
instead of json
despite containing JSON objects.Currently I see no option to limit the fps. Therefore the program will utilize almost 100% of my GPU to render 2000 frames a second, which is definitely not needed. A option in the settings would be nice. Or are the high fps necessary for the logic computation?
When using the app in Fullscreen, the bars on both sides of the screen to add I/Os are not visible.
Leaving Fullscreen mode is the only way to see it.
Native Resolution: 1440x900
I find it convenient to make display pin name options save in the project, so one do not have to set it every time when start working on a project.
I think a better way (that is also probably simple to implement) would be to change number of inputs/outputs by scrolling mouse wheel along with pressing +/- (as a backup method)
The simulation just doesn't work. I have ran the Windows version before on the same computer, so the problem is probably the Linux compilation.
So i created a circuit that calculates first 9 numbers of Fibonacci sequence. When i manually switch on and off clock signal everything works fine, but when i use "NOT clock" to automatically switch clock signal algorithm seems to be broken.
If you switch clock by hand algorithm goes through 1, 1, 2, 3, 5, 8, 13, 21 and then some random numbers and comes back to 1; but with NOT clock it goes through 1, 1, 2, 3, 4, 5, 6, 8, 9
video: https://youtu.be/q1MB8FMnUlU
The "X" UI for deleting inputs/outputs is inconsistent with how chips are deleted from the workspace (click to select, then press Delete key). Both seem good (hotkeys for advanced users, UI for discoverability), so either add the other option to both (best solution IMO) or pick one and use it consistently. I know it was done this way to allow Delete/Backspace to work as normal in the textbox, but there are numerous ways to solve that (e.g. don't auto-focus the textbox).
Recommended:
To be considered:
How to add so that the inuts show decimal numbers as in the video
https://youtu.be/QZwneRb-zqA?list=WL&t=664
Attempting to launch the built app from itch.io in macOS Big Sur 11.0.1 results in an error "You do not have permission to open this app"
Hi! I am a fan of your channel and I like your simulation tool, but this would be better if you would add something like 7-segment displays so you would be able to convert 4-bit binary input to usual numbers. I know that it would be difficult, but it would be cool
I know this is nitpicking but it would be nice to have the ability to connect multiple inputs to a node.
Just treat it as a invisible OR, since that is basically twisting wires together anyways xD
This way it is a more consistent sandbox.
Also you can start with only a NOT gate to build the first AND gate ;-)
I am running macOS big sur (11.0.1) and the application runs extremely slowly, and even slows down the rest of my computer to the point where it became difficult to force quit the application.
Anyone else getting this behaviour?
Like in UE4's Blueprint Editor, let the user create a shaded area with text to describe the circuitry.
Sequential logic seems not to be working (that's the kind of circuit the loops back on itself) ๐
First of all FANTASTIC project :-)
It would be nice if the workspace could be "zoomed" in and out.
The workspace fills up pretty quickly when you start making components especially with "high" bit counts.
I cannot seem to create a JK Flip Flop as the competing NOR Gates never seem to settle into a state - I think this is due to the instantaneous travel problem, but I cannot be absolutely certain.
video - https://vimeo.com/487247365
To replicate just start placing wire with SHIFT, create anchor and then start moving mouse cursor along the line that is 45 degrees to any axis
Hello, I have a silly question. I'm not really experienced with unity and just opened the project to mess around after watching the video. I've created a 4-register (16 bits of storage) addressable memory module and just don't have a heart to throw it away after all that wiring... :P I don't know if the project will be available after stopping debugging? I would like to play with it in the future.
I have been making a lot of chips since yesterday and when i came back to it today, i kinda forgot what they did so, maybe add a preview when I hover over a chip from the bottom bar while holding ALT as well? kinda seems reasonable since hovering over pins while holding ALT shows their name.
I guess I shoulda extended this to #10 .
Being unable to edit or delete a created chip makes it somewhat difficult to start something and return to it later.
when creating 4pin input or output for a 4bit adder, I am not able to see the input pin value or output pin values as I switch them on and off. How would I be able to see them. is there an option to enable it?
When your circuit becomes more complex you need to transfer many bits from one place to another and your board will be full of wires. So wires that can transfer 4bits, 8bits, 16bits and more at once can become very useful and make your project look much better.
When creating a chip that you require, for instance, a constant 1 input, (e.g. increment by 1, for the program counter) it would be nice to have it inside the chip, and not providing it from the outside.
After all, this is a logic sim, we aren't supposed to give the "power and ground" (Metaphorical, don't kill me in comments)
Also, trying to create a chip with a not gate inside not connected to anything causes the chip to not work at all, prob. due to some convergence error.
For this last point, the program could simply deny the creation of new CIs without all wires connected, with will be possible if the constants are added.
on mac without it its becoming very laggy.
i think that this would optimise it alot.
Would be awesome if an input could be set to be a timer. that could be tied to a play/stop button at the top. When "running", it would continuously toggle on and off at a constant rate. Even better if I get to pick the rate ;-)
This was a bit of a hack in order to get a Buffer-like component, but I essentially took an AND gate, wired both A and B inputs into single SIGNAL IN. I then went into the text file and enabled "isCyclic" intentionally. The end result is a Buffer where the output will power on one "tick" after the input is powered on. This works great for a clock assembly, like so:
However, when I use this to create a component, the logic for the delay is gone and the clock never oscillates. I can provide my save file if need be.
Hello!
I am new to github so sorry in advance if im doing something wrong.
As I said I am new to github (it's my first time using it) and also to unity (already watched some tutorials but never made a complete game), but im trying to see/edit the unity project.
So i went to the project/repository (i dont know whats the correct word) and clicked the code button and then download ZIP. Then on unity hub, I added a new project, selecting the extracted folder.
When I opened the project in unity editor there was only an empty 3D scene and several error messages appeared:
I am using the latest unity version: 2019.4.15.f1.
Please tell me if im doing something wrong, and sorry if this is not the right place to ask for help.
Thanks in advance :)
Hey, big fan of your YouTube channel. Anyway, straight to the point.
I see a .vscode
folder in there; I'd suggest to add to the existing .gitignore
to ignore that as well.
Just a suggestion. :)
When I downloaded the program and ran the executable on ubuntu the program opens for around half a second and then just closes, I don't know anything else about the problem, might update later after trying it again.
Add an ability to change size of the circuit to allow more complex stuff to be made
This application is super cool! Amazing work..
Some things I discovered by watching the video and mashing the keyboard that should be in the README (the "Instructions" screen in-game probably isn't big enough to list every possible command as-is).
Not sure if anyone has a fork with this yet but it would be great if you could load circuits from a json file and also save the circuits from a json file
hey, could you add a section in the readme on how to compile this project? neither the readme, nor the itchio (including the comments ive seen) mention anything, so I must be missing something obvious - there does not seem to be a compile script, makefile, C# solution, or anything of that nature though
I know that #10 is already exists, but I think I will also improve that issue with my explanation.
I suggest add project management menu (for example a button/buttons or separated menu for deleting or editing projects names).
Also I think chips preview, replacement (if with the same name already exists - open dialog), editing (layout, name, color) and deletion will be useful too.
And... if that will be possible, please add in settings a field where you can change location of saves. Or... just add in the workspace button/buttons/menu to save or export project to something like, idk, archive.
Checked version, looked for other issues with the same but can find anything
Please add a LICENSE file. Thanks!
can someone guide me on building this project on windows 10?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.