Your message dated Fri, 21 Aug 2020 18:18:59 +0000 with message-id <[email protected]> and subject line Bug#968605: fixed in tkgate 2.1+repack-4 has caused the Debian Bug report #968605, regarding Inverting bus input results in logical NOT instead of bitwise to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 968605: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968605 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: tkgate Version: 2.1+repack-3 When one of the inputs to an AND, NAND, OR, NOR, XOR, or XNOR gate is inverted, and the input wire is a bus (i.e. more than 1 bit wide), rather than performing bitwise NOT ("~" in Verilog), it performs logical NOT ("!" in Verilog). This does not happen with Inverters and Buffers, which work as expected, using bitwise NOT in the input as well as in the output. An easy way to reproduce is: - Create one of the above gates. For example, an OR. - Go to "Instance Properties", then "Port", and edit it so that all three ports are 8 bits wide. - Add two DIP switches (the default port is 8 bits), and attach each to one of the inputs of the OR. Leaving the values at 0 is OK for the OR test. - Add a 7-Seg LED (HEX), and attach it to the output of the OR. - Using the Invert tool, invert one of the inputs of the OR. - Enter simulation mode, and run the circuit. Expected result: The display should show the value FF, corresponding to the bitwise NOT of the inverted input. Actual result: The display shows the value 01, corresponding to bits 7-1 being always zero, and bit 0 being the logical NOR of all the bits of the input prior to inversion. That is, it performs logical NOT instead of bitwise NOT. A workaround is to place an inverter gate in the input instead of using the invert tool. This patch fixes the issue for me: --- a/src/tkgate/and.c 2020-08-18 00:59:55.055110382 +0200 +++ b/src/tkgate/and.c 2020-08-18 01:00:36.978226845 +0200 @@ -329,7 +329,7 @@ first_pin = 0; if (gi->Pad[i].iotype == IN && w->invert) - inv = "!"; + inv = "~"; if (gi->Pad[i].CanAdd) fprintf(f,".%s%d",gi->Pad[i].Name,j);
--- End Message ---
--- Begin Message ---Source: tkgate Source-Version: 2.1+repack-4 Done: Georges Khaznadar <[email protected]> We believe that the bug you reported is fixed in the latest version of tkgate, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Georges Khaznadar <[email protected]> (supplier of updated tkgate package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Fri, 21 Aug 2020 19:33:38 +0200 Source: tkgate Architecture: source Version: 2.1+repack-4 Distribution: unstable Urgency: medium Maintainer: Debian Science Maintainers <[email protected]> Changed-By: Georges Khaznadar <[email protected]> Closes: 968605 Changes: tkgate (2.1+repack-4) unstable; urgency=medium . * applied sei-lisa's patch, thanks! Closes: #968605 * updated Standards-Version: 4.5.0, debhelper-compat = 12 Checksums-Sha1: 82a817d95518c8995caf68e093094c43f5f11a70 2254 tkgate_2.1+repack-4.dsc 958e7458dcb5beb43201f7ee1f744f36f7d2969e 7852 tkgate_2.1+repack-4.debian.tar.xz ddabee69f456945cdfa0f8d0468db35b49801a44 9848 tkgate_2.1+repack-4_source.buildinfo Checksums-Sha256: 3bff970946afa69eb791c53a29fe42dc0c7b0bc7b45bab3916b0984246cc9206 2254 tkgate_2.1+repack-4.dsc 529b74efefc4d8a45dfb01611ad2a84409e6a26d3a32aaa1ab1255f818d34d62 7852 tkgate_2.1+repack-4.debian.tar.xz d11d6c4b60b988187938bc4e7f460892515434d754d119384da82d3ef8bcc2a9 9848 tkgate_2.1+repack-4_source.buildinfo Files: 068be1f74ec2477afd36852a71d6fecc 2254 electronics optional tkgate_2.1+repack-4.dsc 3c20b8f7caaa1ad710b7637a0660b279 7852 electronics optional tkgate_2.1+repack-4.debian.tar.xz 8ef9e3342730583b9e5aa5a63eb87af4 9848 electronics optional tkgate_2.1+repack-4_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJIBAEBCAAyFiEEM0CzZP9nFT+3zK6FHCgWkHE2rjkFAl9AC1oUHGdlb3JnZXNr QGRlYmlhbi5vcmcACgkQHCgWkHE2rjksDw/9EeTl20ITCa0lAa0G+iSWdfa7X/Jm q9cvvAxisUYfVjv0c66YzukQYxAMXIQGIVViWGiYPFd3yDpxH1ZnCISk4nNUJ8/c Tfe1BQy1UEPoVXTQQY8umHTi4nkGPKnRQPmZTq5+RDVFhf+X1sQH/NMGjALfncAy NXC8on/nzOFcMYnKse5/rzQoYRw2TF7DwDe3zJAHCsxiUqRX1JoXQYch7bT7/dGQ s2cKoIogHqd6ax77hlyeOHbYTDthQR0gLuGI45z0F6itgaBBuaFtwDDnjVze48Tk b95pjtK28JB7hSYreMzcPnqfmUReZ70dOSyD47sO0/EKuEjj/l/0cFMImEzIHUOY Z1FhS7kqOKTa7qHfKr+IMSId1IYOAmPvFeXXyL6TtK4hm8vvzZtKNnI8UYIE/mc8 zS3o5dmYAIzxp19VJ6JayUmNYbJTf2Fc3SNo0+0HvGVPdkXf/1glrfssRwEiJqPQ KmjTXcZUw3hDP5WwAsDLPAfifzV6Hsy4GKlKM2YLZ42I7vFofG2b5sDTj3QpB7cZ VjB7+8netFUtDIbUQFpYydfOwhZzV1OcvOW4Bzyhc5pB4gq6qfk2rjErST22vvoZ Ofw5hpuNXHb6HjbejAcU1RQQxrTRC3GkE1llGZM7lZwqtjO+h/bLfegSHSAtgY7D 5qISi1kmvgGqvTk= =lUSz -----END PGP SIGNATURE-----
--- End Message ---
-- debian-science-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers
