Git Product home page Git Product logo

Comments (4)

davidhutchens avatar davidhutchens commented on June 1, 2024 1

@tomoish: Thank you for the answers. After more experimenting, I can now conclude that this is not random. I can reproduce the behavior.

Open a new document. Place a 7400 TTL on the canvas. Drag a wire up 2 spaces from the left top red colored output. Drag the bottom of the wire up 1 space. This results in an unconnected wire pointing to the location of the red output, so we can find it. Now select the TTL and rotate it south with down arrow key. Now drag the TTL so the upper left input is located at the space pointed to by the wire. It will show as red.

The workaround is to reset the simulation.

The problem seems to be in the disconnecting of the rotated item from the old location. I'm not very familiar with that part of the code. Perhaps @BFH-ktt1 has thoughts.

I will change the name of this issue to reflect the cause.

from logisim-evolution.

davidhutchens avatar davidhutchens commented on June 1, 2024

I am unable to reproduce this problem. I have tried it with the 3.8.0-all.jar file and with our current head of main. I tried it with Java 16 and Java 21. I used the TTL and moved it all over the area, specifically checking the 210,130 location shown above. The only errors I see are the outputs from the NAND gates in the TTL (which are correct as no inputs are provided). I do not see the errors on the inputs as shown in your picture. I also tried the clock as shown above and did not see any problem.

Could you be more specific about what you mean by "at startup"?

  • Are you saving the circuit and loading it? If so, could you give us the circuit by zipping it and dropping into a message here?
  • Are you launching the jar and then dropping the component onto that space? Do you move it around to find more errors? This is what I tried.
  • Do the errors persist if you reset the simulation?

from logisim-evolution.

tomoish avatar tomoish commented on June 1, 2024

@davidhutchens

The coordinates at which the error appears will change each time I launch using the command below, so we must look for it.
java -jar logisim-evolution-3.8.0-all.jar

As shown in the video below (0:26, 0:36-), an error occurs at some coordinates after launching logisim-evolution-3.8.0-all.jar.

Therefore, the answers to your questions are below.

  • No, I didn't save and load a circuit.
  • Yes, I dropped a component onto the space, and I moved it around. If I look closely at the video, the error also occured at 0:26.
  • Yes, they do. Resetting the simulation has nothing to do with this error
logisim_issue_1939.mov

from logisim-evolution.

davidhutchens avatar davidhutchens commented on June 1, 2024

I have tried more experiments. The error values remain when rotating a component. But they do not remain when dragging or deleting a component. So those two actions must do something to update the value at the coordinate. If so, we should be able to fix this by applying the same logic on the rotate action.

from logisim-evolution.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.