Skip to content

Logical Functions for Simulations #259

@ryukzak

Description

@ryukzak

We need to implement the following logical functions:

Bool:

  • 0 - False
  • any other -- True

LUT -- Look Up Table

data LUT v x = LUT (Map [Boolean] Boolean) [I v] (O v)

where:

  • [I v] -- list of input variables.
  • Map [Boolean] Boolean -- Truth Table.
  • length of [Boolean] and [I v] should equal (will be nice to check it via type).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions