Declarative Combinatorics: Boolean Functions, Circuit Synthesis and BDDs in Haskell

Computer Science – Data Structures and Algorithms

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

unpublished draft

Scientific paper

We describe Haskell implementations of interesting combinatorial generation algorithms with focus on boolean functions and logic circuit representations. First, a complete exact combinational logic circuit synthesizer is described as a combination of catamorphisms and anamorphisms. Using pairing and unpairing functions on natural number representations of truth tables, we derive an encoding for Binary Decision Diagrams (BDDs) with the unique property that its boolean evaluation faithfully mimics its structural conversion to a a natural number through recursive application of a matching pairing function. We then use this result to derive ranking and unranking functions for BDDs and reduced BDDs. Finally, a generalization of the encoding techniques to Multi-Terminal BDDs is provided. The paper is organized as a self-contained literate Haskell program, available at http://logic.csci.unt.edu/tarau/research/2008/fBDD.zip . Keywords: exact combinational logic synthesis, binary decision diagrams, encodings of boolean functions, pairing/unpairing functions, ranking/unranking functions for BDDs and MTBDDs, declarative combinatorics in Haskell

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

Declarative Combinatorics: Boolean Functions, Circuit Synthesis and BDDs in Haskell does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with Declarative Combinatorics: Boolean Functions, Circuit Synthesis and BDDs in Haskell, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Declarative Combinatorics: Boolean Functions, Circuit Synthesis and BDDs in Haskell will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-27467

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.