Skip to content

Commit

Permalink
Release version 0.1 (#138)
Browse files Browse the repository at this point in the history
* Version information for fmt.

* Update year.

* Network interface.

* Changelog.
  • Loading branch information
msoeken authored Mar 31, 2019
1 parent da2cf15 commit c085323
Show file tree
Hide file tree
Showing 74 changed files with 96 additions and 76 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018
Copyright (c) 2018-2019

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Change Log
==========

v0.1 (not yet released)
-----------------------
v0.1 (March 31, 2019)
---------------------

* Initial network interface
`#1 <https://github.com/lsils/mockturtle/pull/1>`_ `#61 <https://github.com/lsils/mockturtle/pull/61>`_ `#96 <https://github.com/lsils/mockturtle/pull/96>`_ `#99 <https://github.com/lsils/mockturtle/pull/99>`_
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

# General information about the project.
project = 'mockturtle'
copyright = '2018, EPFL LSI'
copyright = '2018-2019, EPFL LSI'
author = 'EPFL LSI'

# The version info for the project you're documenting, acts as replacement for
Expand Down
4 changes: 2 additions & 2 deletions docs/implementations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ All network implementations are located in `mockturtle/networks/`:
+--------------------------------+-------------+-------------+-------------+-------------+-----------------+
| ``create_nor`` ||||| |
+--------------------------------+-------------+-------------+-------------+-------------+-----------------+
| ``create_lt`` || || ||
| ``create_lt`` || || ||
+--------------------------------+-------------+-------------+-------------+-------------+-----------------+
| ``create_le`` || || ||
| ``create_le`` || || ||
+--------------------------------+-------------+-------------+-------------+-------------+-----------------+
| ``create_gt`` | | | | | |
+--------------------------------+-------------+-------------+-------------+-------------+-----------------+
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/algorithms/aig_resub.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/algorithms/akers_synthesis.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/algorithms/cleanup.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/algorithms/collapse_mapped.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/algorithms/cut_enumeration.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/algorithms/cut_enumeration/gia_cut.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/algorithms/cut_enumeration/mf_cut.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/algorithms/cut_rewriting.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/algorithms/detail/mffc_utils.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/algorithms/dont_cares.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/algorithms/dsd_decomposition.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/algorithms/gates_to_nodes.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/algorithms/lut_mapping.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/algorithms/mig_algebraic_rewriting.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/algorithms/mig_resub.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/algorithms/node_resynthesis.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/algorithms/node_resynthesis/akers.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/algorithms/node_resynthesis/direct.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/algorithms/node_resynthesis/exact.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/algorithms/node_resynthesis/mig_npn.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/algorithms/node_resynthesis/xag_npn.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/algorithms/node_resynthesis/xmg_npn.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/algorithms/reconv_cut.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/algorithms/reconv_cut2.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/algorithms/refactoring.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/algorithms/resubstitution.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/algorithms/simulation.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/algorithms/xmg_algebraic_rewriting.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/generators/arithmetic.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/generators/control.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/generators/modular_arithmetic.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/generators/random_logic_generator.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/interface.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/io/aiger_reader.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/io/bench_reader.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/io/pla_reader.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/io/verilog_reader.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/io/write_bench.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/io/write_dot.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/io/write_verilog.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/mockturtle.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/networks/aig.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/networks/detail/foreach.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/networks/events.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/networks/klut.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
12 changes: 11 additions & 1 deletion include/mockturtle/networks/mig.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down Expand Up @@ -353,6 +353,16 @@ class mig_network
return !create_or( a, b );
}

signal create_lt( signal const& a, signal const& b )
{
return create_and( !a, b );
}

signal create_le( signal const& a, signal const& b )
{
return !create_and( a, !b );
}

signal create_xor( signal const& a, signal const& b )
{
const auto fcompl = a.complement ^ b.complement;
Expand Down
2 changes: 1 addition & 1 deletion include/mockturtle/networks/storage.hpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* mockturtle: C++ logic network library
* Copyright (C) 2018 EPFL
* Copyright (C) 2018-2019 EPFL
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
Expand Down
Loading

0 comments on commit c085323

Please sign in to comment.