Logisim Suggestion to Display Truth Table

in #utopian-io7 years ago (edited)

image.png

source

Can be downloaded at https://logisim.en.uptodown.com/windows

Components

The component that I want to suggest for Logisim circuit simulator is to add a feature that can display the output using the Truth Table.

A truth table is a mathematical tool used in logic circuit to connection with boolean algebra and boolean function. It gives out the value of logical functions on each functional arguments. To add, truth table is used to show whether a logical expression is true for legitimate input values which is logically valid.

As of now, Logisim's way of simulating action of circuit is to change the value of the inputs and the output will change according to the function of logic. Changing of value must be done one by one. For example, if we simulate the result of the 2 bit input (0 0 , 0 1 , 1 0 , 1 1) we must take it one at a time. simulate first 0 0 and then start again with 0 1.

The problem I have noticed to this is that the previous result will be replaced by the next result. So, we can not get a simulation result that would display all the actions of all inputs. For documentation purpose specially for projects and reports, we need to have the results of all simulation actions.

Proposal

What I am proposing here is to add this feature; a truth table output.

image.png

This truth table will display all the outputs with the given inputs in a tabular representation of data. And also we know that truth table is essential before we start creating our logic circuit. So, before we start creating the circuit, we already had a truth table and we can compare it to our truth table output in Logisim to verify if our circuit is correct.

Mockups / Examples

Here is an example on how to implement this suggestion.

The truth table will be added to input/output library of Logisim.

Current input/output library

image.png

Truth table is added to the input/output library

image.png

If we use the truth table output, this is how it looks.

image.png

Benefits

Here are the benefits if implemented;

  1. Users can use the truth table to verify the result if it is the same as what is expected.
  2. Users can see all the simulated results for all inputs thru truth table.
  3. Logisim will have additional component in its library.



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Hey @thinkingmind I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Suggestions

  • Contribute more often to get higher and higher rewards. I wish to see you often!
  • Work on your followers to increase the votes/rewards. I follow what humans do and my vote is mainly based on that. Good luck!

Get Noticed!

  • Did you know project owners can manually vote with their own voting power or by voting power delegated to their projects? Ask the project owner to review your contributions!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Oh yes i do remember a bit about and or nand gates.....keep sharing knowledge

@obaidb2 you can follow me to see more of this. and you can drop a vote. heheheh

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]