lawrancej / logisim

Git fork of Logisim code base
http://www.cburch.com/logisim/
GNU General Public License v3.0
211 stars 104 forks source link

XOR gate issue #111

Closed viskey98 closed 6 years ago

viskey98 commented 6 years ago

Issue : It doesn't give the desired output for the given input , When , we give a 3 input of '1's , the XOR gate should give an output as '1' , but the 3-input version of XOR gate of the logisim(2.7.1) gives an output '0'. How to reproduce :

  1. Open a new project.
  2. Add an inbuilt XOR gate from logisim library (and set the number of input to 3 or 5 )
  3. Give 3 input terminals and take out one output terminal.
  4. Give all the inputs as '1' , the output we expect is '1' ( because of odd no. of ones) but it will show '0' xor_issue_1 xor_issue_2
viskey98 commented 6 years ago

I found that there is this option called Multiple-input-behavior. It's fixed now :)