Sugestion to cerate a selector in Digital
version: v0.31
Quite recently, I had the problem of creating a circuit with a manual selector, with wires, with 1 input and a manually selected output,. Is that possible, in a simple way with the Digital sw
Sincerely
JACNeves
Can't you use a switch? Switches can be toggled by clicking them when the simulation is running.
No. It as only 2 states. I need a selector to connect with 1 input line, and several outputs, where the selection is made by the uset, to connect (p. ex.) one point to another.
A quinta, 16/01/2025, 17:49, Kuba Sunderland-Ober @.***> escreveu:
Can't you use a switch? Switches can be toggled by clicking them when the simulation is running.
digview.png (view on web) https://github.com/user-attachments/assets/b1a39f67-d8c4-43a8-bda5-231a389bf77c
— Reply to this email directly, view it on GitHub https://github.com/hneemann/Digital/issues/1379#issuecomment-2596349674, or unsubscribe https://github.com/notifications/unsubscribe-auth/BOSJJDXWVSRIM24ONWA6AA32K7WKBAVCNFSM6AAAAABVKDLOEWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOJWGM2DSNRXGQ . You are receiving this because you authored the thread.Message ID: @.***>
Like this or this then? (using a Multiplexer)
Look at the schematic. It helps.
[image: imagem.png]
Kuba Sunderland-Ober @.***> escreveu (quinta, 16/01/2025 à(s) 17:49):
Can't you use a switch? Switches can be toggled by clicking them when the simulation is running.
digview.png (view on web) https://github.com/user-attachments/assets/b1a39f67-d8c4-43a8-bda5-231a389bf77c
— Reply to this email directly, view it on GitHub https://github.com/hneemann/Digital/issues/1379#issuecomment-2596349674, or unsubscribe https://github.com/notifications/unsubscribe-auth/BOSJJDXWVSRIM24ONWA6AA32K7WKBAVCNFSM6AAAAABVKDLOEWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOJWGM2DSNRXGQ . You are receiving this because you authored the thread.Message ID: @.***>
--
J.A. Campos Neves (Eng/PhD) Professor - ISVOUGA/ISPGAYA Email: @.*** TLM.: +351-917.300.865
I have made it with a input of 2 bits, plus a decoder + a set of AND gates, between the signal and the selected line. But it becomes complex for some teaching. I will try with a MUX.
Thank you
Mats Engstrom @.***> escreveu (quinta, 16/01/2025 à(s) 19:39):
Like this or this then? (using a Multiplexer) Screenshot.2025-01-16.at.18.55.09.png (view on web) https://github.com/user-attachments/assets/6e9787cf-053a-4345-b00a-5ac608b0a4a0 Screenshot.2025-01-16.at.18.54.13.png (view on web) https://github.com/user-attachments/assets/3ce5572c-5a87-4974-a276-0802e4b5a107
— Reply to this email directly, view it on GitHub https://github.com/hneemann/Digital/issues/1379#issuecomment-2596712182, or unsubscribe https://github.com/notifications/unsubscribe-auth/BOSJJDWU3Q5YZ6A4JJQCROT2LADFZAVCNFSM6AAAAABVKDLOEWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOJWG4YTEMJYGI . You are receiving this because you authored the thread.Message ID: @.***>
--
J.A. Campos Neves (Eng/PhD) Professor - ISVOUGA/ISPGAYA Email: @.*** TLM.: +351-917.300.865
Ok. So basically switch but with more positions than 2?I can extend the switch to allow an arbitrary number of positions. 16. jan. 2025 kl. 8:39 pm skrev jacneves @.***>: Look at the schematic. It helps.
[image: imagem.png]
Kuba Sunderland-Ober @.***> escreveu (quinta,
16/01/2025 à(s) 17:49):
Can't you use a switch? Switches can be toggled by clicking them when the
simulation is running.
digview.png (view on web)
https://github.com/user-attachments/assets/b1a39f67-d8c4-43a8-bda5-231a389bf77c
—
Reply to this email directly, view it on GitHub
https://github.com/hneemann/Digital/issues/1379#issuecomment-2596349674,
or unsubscribe
.
You are receiving this because you authored the thread.Message ID:
@.***>
--
==================================
J.A. Campos Neves (Eng/PhD)
Professor - ISVOUGA/ISPGAYA
Email: @.***
TLM.: +351-917.300.865
==================================
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
Hi, And thank you for the reply. Yes, I beleive it could be very helpfull. I used a Mux and it worked well, but a multiple switch would add flexibility. Thanks
A quinta, 16/01/2025, 21:46, Kuba Sunderland-Ober @.***> escreveu:
Ok. So basically switch but with more positions than 2?I can extend the switch to allow an arbitrary number of positions. 16. jan. 2025 kl. 8:39 pm skrev jacneves @.***>: Look at the schematic. It helps.
[image: imagem.png]
Kuba Sunderland-Ober @.***> escreveu (quinta,
16/01/2025 à(s) 17:49):
Can't you use a switch? Switches can be toggled by clicking them when the
simulation is running.
digview.png (view on web)
< https://github.com/user-attachments/assets/b1a39f67-d8c4-43a8-bda5-231a389bf77c>
—
Reply to this email directly, view it on GitHub
https://github.com/hneemann/Digital/issues/1379#issuecomment-2596349674,
or unsubscribe
< https://github.com/notifications/unsubscribe-auth/BOSJJDXWVSRIM24ONWA6AA32K7WKBAVCNFSM6AAAAABVKDLOEWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOJWGM2DSNRXGQ>
.
You are receiving this because you authored the thread.Message ID:
@.***>
--
==================================
J.A. Campos Neves (Eng/PhD)
Professor - ISVOUGA/ISPGAYA
Email: @.***
TLM.: +351-917.300.865
==================================
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
— Reply to this email directly, view it on GitHub https://github.com/hneemann/Digital/issues/1379#issuecomment-2596959019, or unsubscribe https://github.com/notifications/unsubscribe-auth/BOSJJDRIBTONBZSRBRJENY32LASBNAVCNFSM6AAAAABVKDLOEWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOJWHE2TSMBRHE . You are receiving this because you authored the thread.Message ID: @.***>
Another point worth mentioning: Since switches are real bidirectional connections that are established and disconnected while the simulation is running, they are very slow. The same applies to relays and transistors. Therefore, these components should not be used excessively.
Yes, I agree. One point that I have noticed, because I use the sw for teaching, is that, when manually controled by the user, the clovk introduces longer impulses, than expected. Can that issue be solved?
JACN
A sábado, 18/01/2025, 17:23, Helmut Neemann @.***> escreveu:
Another point worth mentioning: Since switches are real bidirectional connections that are established and disconnected while the simulation is running, they are very slow. The same applies to relays and transistors. Therefore, these components should not be used excessively.
— Reply to this email directly, view it on GitHub https://github.com/hneemann/Digital/issues/1379#issuecomment-2599797148, or unsubscribe https://github.com/notifications/unsubscribe-auth/BOSJJDTXYGZPJUPNJHTRTCL2LKEXLAVCNFSM6AAAAABVKDLOEWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOJZG44TOMJUHA . You are receiving this because you authored the thread.Message ID: @.***>
@jacneves The graph has no running time. This would make little sense, especially if components are controlled manually. Therefore, the graph records changes. You can imagine it as if the time in the graph is stopped until the next change is made. If a clock is then running and a manual change is made at the same time, it appears as if the clock pulse is twice as long.