{"id":37115015,"url":"https://github.com/lsils/percy","last_synced_at":"2026-01-14T13:30:45.674Z","repository":{"id":45038083,"uuid":"184763797","full_name":"lsils/percy","owner":"lsils","description":"C++ header-only exact synthesis library","archived":false,"fork":true,"pushed_at":"2023-01-18T11:52:54.000Z","size":3420,"stargazers_count":14,"open_issues_count":0,"forks_count":4,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-06-26T04:57:17.408Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://percy.readthedocs.io/en/latest","language":"C++","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"whaaswijk/percy","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lsils.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-05-03T13:53:17.000Z","updated_at":"2024-06-04T15:45:55.000Z","dependencies_parsed_at":"2023-01-22T03:03:35.796Z","dependency_job_id":null,"html_url":"https://github.com/lsils/percy","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/lsils/percy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsils%2Fpercy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsils%2Fpercy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsils%2Fpercy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsils%2Fpercy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lsils","download_url":"https://codeload.github.com/lsils/percy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lsils%2Fpercy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28421214,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-14T13:30:44.861Z","updated_at":"2026-01-14T13:30:45.659Z","avatar_url":"https://github.com/lsils.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/whaaswijk/percy.svg?branch=master)](https://travis-ci.org/whaaswijk/percy)\n[![Documentation Status](https://readthedocs.org/projects/percy/badge/?version=latest)](http://percy.readthedocs.io/en/latest)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n\n# percy\n\u003cimg src=\"https://cdn.rawgit.com/whaaswijk/percy/master/percy.svg\" width=\"78\" height=\"64\" align=\"left\" style=\"margin-right: 12pt\" /\u003e\npercy is a header-only exact synthesis library. It offers a collection of\ndifferent synthesizers and exact synthesis methods for use in applications such\nas circuit resynthesis and design exploration.\n\n[Read the documentation here.](http://percy.readthedocs.io/en/latest/?badge=latest)\n\n## Example\n\nThe following code snippet synthesizes a circuit implementation of a full adder.\n\n```c++\n#include \u003cpercy/percy.hpp\u003e\n\nspec s;\ns.set_nr_outputs( 2 );\n\nchain c;\n\nkitty::dynamic_truth_table x{3}, y{3}, z{3};\nkitty::create_nth_var( x, 0 );\nkitty::create_nth_var( y, 1 );\nkitty::create_nth_var( z, 2 );\n\nauto const sum = x ^ y ^ z;\nauto const carry = kitty::ternary_majority( x, y, z );\n\nspec[0] = sum;\nspec[1] = carry;\n\nauto const result == synthesize( s, c );\nassert( result == success );\n```\n\n## EPFL logic sythesis libraries\n\npercy is part of the [EPFL logic synthesis](https://lsi.epfl.ch/page-138455-en.html) libraries.  The other libraries and several examples on how to use and integrate the libraries can be found in the [logic synthesis tool showcase](https://github.com/lsils/lstools-showcase).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsils%2Fpercy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flsils%2Fpercy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flsils%2Fpercy/lists"}