GithubHelp home page GithubHelp logo

es1chubjyan9 / 32bit_quine-mccluskey_and_petrick_method_in_c Goto Github PK

View Code? Open in Web Editor NEW
18.0 1.0 5.0 68 KB

32bit Simplifier of Boolean functions

License: GNU General Public License v3.0

C 100.00%
quine-mccluskey quine-mccluskey-algorithm petrick-method c digital-logic logic-programming simplification

32bit_quine-mccluskey_and_petrick_method_in_c's Introduction

32bit_Quine-McCluskey_and_Petrick_Method_in_C

Features

  1. Support optimize Boolean functions with 32 variables, so minterm range is 0 ~ 4294967295
  2. Support for don't care conditions
  3. Support for input out of order
  4. Support for Petrick's method to minimize Boolean functions
  5. Support output all minimized Boolean functions
  6. Support show full process of operation

Features

  1. 支援化簡三十二位變數, 即 Minterm 範圍為 0 ~ 4294967295
  2. 支援輸入 Don't Care
  3. 支援亂序輸入,即不須按大小順序排列
  4. 支援視情況自動調用 Petrick's Method,輸出最小覆蓋函數
  5. 支援輸出所有等價的最小覆蓋函數
  6. 輸入表達式的長度限制為 1000 字符,但理論上限以運行時電腦的記憶體空間決定, 可於 mccluskey.h 中直接修改以下宏定義,擴充輸入的限制範圍: #define EXPRESSION_MAX_LENGTH 1001

Instructions for use

運行後依提示分兩行輸入 Minterm 與 Don't care,並用逗號「,」隔開各項即可,若無 Don't care 請輸入 -1,因無輸入偵錯,請避免額外的空白與字符。

注意:在某些特殊情況下,會輸出不同順序的同一函數,但並不影響正確性。 EX: m(9,12,13,15)+d(1,4,5,7,8,11,14)

References & Gratitude

32bit_quine-mccluskey_and_petrick_method_in_c's People

Contributors

es1chubjyan9 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

32bit_quine-mccluskey_and_petrick_method_in_c's Issues

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.