hneemann / Digital

A digital logic designer and circuit simulator.
GNU General Public License v3.0
4.38k stars 441 forks source link

Text Search & Replace? #774

Closed peterjung1 closed 3 years ago

peterjung1 commented 3 years ago

Would it be possible to add a text Search and Replace function for this like Input and Output names and tunnel net names?

This would be a real time saver for building circuits with a lot of similar names

hneemann commented 3 years ago

For tunnels, there is already a function to rename all that have the same name. And for inputs and outputs, you can create an input and then copy it. If the name of the copied input or output ends with a number, this number will be incremented when pasting.

peterjung1 commented 3 years ago

Thank you so much for the fast response – much appreciated!

I am using this programme to build a logic simulator so that I can check the functions of ISA/SAMA Logic Diagrams. I was using Logism before and just started using Digital a few weeks ago – it is a really nice upgrade on Logisim and works very well for what I need – thank you for your work on this.

One other quick question – I have a very large sub-circuit I am having trouble with – when I embed it I get the error:

Error creating the circuit

Pin System Fault in component (path name.dlg)exists twice

Is this telling me I have duplicate Inputs and/or outputs?

If so is there a quick way to identify such duplicates in the sub-circuit?

Thanks

Peter

From: Helmut Neemann @.> Sent: Monday, June 14, 2021 4:11 PM To: hneemann/Digital @.> Cc: peterjung1 @.>; Author @.> Subject: Re: [hneemann/Digital] Text Search & Replace? (#774)

For tunnels, there is already a function to rename all that have the same name. And for inputs and outputs, you can create an input and then copy it. If the name of the copied input or output ends with a number, this number will be incremented when pasting.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hneemann/Digital/issues/774#issuecomment-860440804 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5EDJWJ22HI56KN7NXBJEDTSWTOZANCNFSM46USKPUA . https://github.com/notifications/beacon/AB5EDJRHJ6MZIGJTAKS432DTSWTOZA5CNFSM46USKPUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGNEURZA.gif

-- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

hneemann commented 3 years ago

One other quick question – I have a very large sub-circuit I am having trouble with – when I embed it I get the error:

Error creating the circuit Pin System Fault in component (path name.dlg)exists twice

Is this telling me I have duplicate Inputs and/or outputs? If so is there a quick way to identify such duplicates in the sub-circuit?

I do not quite understand the question. The name System Fault has been given more than once. Or is the problem to locate the pin in the circuit? Then the circuit must be really huge. :smile:

peterjung1 commented 3 years ago

Thanks again… I just worked it out and now I feel real dumb!

I was reading the error as “Pin System Faut” – as in there is a fault with the pin system…..

I just realised it is telling me Pin “System Fault” – as in System Fault is the name of the pin… doh!

Thanks again… everyday is a school day! 😊

From: Helmut Neemann @.> Sent: Monday, June 14, 2021 4:45 PM To: hneemann/Digital @.> Cc: peterjung1 @.>; Author @.> Subject: Re: [hneemann/Digital] Text Search & Replace? (#774)

One other quick question – I have a very large sub-circuit I am having trouble with – when I embed it I get the error:

Error creating the circuit Pin System Fault in component (path name.dlg)exists twice

Is this telling me I have duplicate Inputs and/or outputs? If so is there a quick way to identify such duplicates in the sub-circuit?

I do not quite understand the question. The name System Fault has been given more than once. Or is the problem to locate the pin in the circuit? Then the circuit must be really huge. 😄

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hneemann/Digital/issues/774#issuecomment-860463154 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5EDJU22OVUJYYHJTWEGPLTSWXQ7ANCNFSM46USKPUA . https://github.com/notifications/beacon/AB5EDJRODTITMUPS5OAZGG3TSWXQ7A5CNFSM46USKPUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGNE2AMQ.gif

-- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus