Would you like to react to this message? Create an account in a few clicks or log in to continue.

You are not connected. Please login or register

R1929 Patch: Gate load error.

2 posters

Go down  Message [Page 1 of 1]

1R1929 Patch: Gate load error. Empty R1929 Patch: Gate load error. Wed Sep 27, 2023 10:05 am

royqh1979



For gates that has more than 2 input pins with "Invert inputs" enabled, when circuit file is loaed, only the first two 2 input pins will be correctly inverted.

It seems that at loading, the "Invert inputs" prop is read first, and setInputNum() won't correctly set pins invert stats.

This patch tries to fix it.

R1929 Patch: Gate load error. Snap128
Attachments
R1929 Patch: Gate load error. Attachmentgates.zip
The patch
You don't have permission to download attachments.
(1 Kb) Downloaded 1 times
R1929 Patch: Gate load error. Attachment03-keypad.sim1.zip
A demo circuit
You don't have permission to download attachments.
(2 Kb) Downloaded 1 times

2R1929 Patch: Gate load error. Empty Re: R1929 Patch: Gate load error. Wed Sep 27, 2023 11:02 am

arcachofo

arcachofo

Nice, good catch. Patch applied at Rev 1931.

3R1929 Patch: Gate load error. Empty Re: R1929 Patch: Gate load error. Fri Sep 29, 2023 1:49 am

royqh1979



arcachofo wrote:Nice, good catch.  Patch applied at Rev 1931.

I found LatchD's input pins also has this problem, but its out pins are ok. So I rechecked the code and found a better way to address this issue.

The patch is based on R1935.
Attachments
R1929 Patch: Gate load error. Attachmentgates.zip
You don't have permission to download attachments.
(1 Kb) Downloaded 1 times

4R1929 Patch: Gate load error. Empty Re: R1929 Patch: Gate load error. Fri Sep 29, 2023 6:09 am

arcachofo

arcachofo

Great, patch applied at Rev 1936.

Sponsored content



Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum