forked from go-air/gini
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdoc.go
More file actions
16 lines (15 loc) · 796 Bytes
/
Copy pathdoc.go
File metadata and controls
16 lines (15 loc) · 796 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright 2016 The Gini Authors. All rights reserved. Use of this source
// code is governed by a license that can be found in the License file.
// Package logic provides representation of Boolean combinational and sequentiallogic.
//
// Package logic uses a standard AIG (and-inverter graph) to represent combinational
// circuits. They are simplified using simple rules and structural hashing,
// implemented in the type C. Additionally, Cardinality constraints are supported.
//
// Unlike most AIG libraries, package logic uses the same variables and literals as
// an associated SAT solver. This means that there is no need to maintain maps
// for AIG<->SAT flows.
//
// Package logic also supports simple sequential logic (with latches and
// unrolling) in the type S.
package logic