Skip to content

Commit

Permalink
Updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
markkurossi committed Feb 20, 2020
1 parent 2911a44 commit a79f998
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,22 @@ l3:
```
<img align="center" width="500" height="400" src="ifelse.png">

# Circuit generation

The SSA form assembly is converted into logic gate circuit. The following circuit was generated from the following 4-bit max MPCL code:
```go
package main

func main(a, b int4) int4 {
if a > b {
return a
}
return b
}
```

<img align="center" width="500" height="664" src="max.png">

# Syntax

## Types
Expand Down
Binary file added max.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a79f998

Please sign in to comment.