Skip to content

Commit c085323

Browse files
authored
Release version 0.1 (#138)
* Version information for fmt. * Update year. * Network interface. * Changelog.
1 parent da2cf15 commit c085323

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+96
-76
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2018
3+
Copyright (c) 2018-2019
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

docs/changelog.rst

Lines changed: 2 additions & 2 deletions

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747

4848
# General information about the project.
4949
project = 'mockturtle'
50-
copyright = '2018, EPFL LSI'
50+
copyright = '2018-2019, EPFL LSI'
5151
author = 'EPFL LSI'
5252

5353
# The version info for the project you're documenting, acts as replacement for

docs/implementations.rst

Lines changed: 2 additions & 2 deletions

include/mockturtle/algorithms/aig_resub.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/algorithms/akers_synthesis.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/algorithms/cleanup.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/algorithms/collapse_mapped.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/algorithms/cut_enumeration.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/algorithms/cut_enumeration/gia_cut.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/algorithms/cut_enumeration/mf_cut.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/algorithms/cut_enumeration/spectr_cut.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/algorithms/cut_rewriting.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/algorithms/detail/mffc_utils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/algorithms/dont_cares.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/algorithms/dsd_decomposition.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/algorithms/gates_to_nodes.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/algorithms/lut_mapping.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/algorithms/mig_algebraic_rewriting.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/algorithms/mig_resub.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/algorithms/node_resynthesis.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/algorithms/node_resynthesis/akers.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/algorithms/node_resynthesis/direct.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/algorithms/node_resynthesis/exact.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/algorithms/node_resynthesis/mig_npn.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/algorithms/node_resynthesis/xag_minmc.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/algorithms/node_resynthesis/xag_npn.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/algorithms/node_resynthesis/xmg_npn.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/algorithms/reconv_cut.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/algorithms/reconv_cut2.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/algorithms/refactoring.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/algorithms/resubstitution.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/algorithms/simulation.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/algorithms/xmg_algebraic_rewriting.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/generators/arithmetic.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/generators/control.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/generators/modular_arithmetic.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/generators/random_logic_generator.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/interface.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/io/aiger_reader.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/io/bench_reader.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/io/pla_reader.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/io/verilog_reader.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/io/write_bench.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/io/write_dot.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/io/write_verilog.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/mockturtle.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/networks/aig.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/networks/detail/foreach.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/networks/events.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/networks/klut.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

include/mockturtle/networks/mig.hpp

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation
@@ -353,6 +353,16 @@ class mig_network
353353
return !create_or( a, b );
354354
}
355355

356+
signal create_lt( signal const& a, signal const& b )
357+
{
358+
return create_and( !a, b );
359+
}
360+
361+
signal create_le( signal const& a, signal const& b )
362+
{
363+
return !create_and( a, !b );
364+
}
365+
356366
signal create_xor( signal const& a, signal const& b )
357367
{
358368
const auto fcompl = a.complement ^ b.complement;

include/mockturtle/networks/storage.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* mockturtle: C++ logic network library
2-
* Copyright (C) 2018 EPFL
2+
* Copyright (C) 2018-2019 EPFL
33
*
44
* Permission is hereby granted, free of charge, to any person
55
* obtaining a copy of this software and associated documentation

0 commit comments

Comments
 (0)