Skip to content

Commit

Permalink
🎨 Renamed package to mnt.pyfiction
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelwa committed Nov 22, 2023
1 parent 0496252 commit 7099573
Show file tree
Hide file tree
Showing 68 changed files with 230 additions and 229 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
import unittest
import os

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
import unittest
import os

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import unittest

from fiction.pyfiction import *
from mnt.pyfiction import *


class TestAStar(unittest.TestCase):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
import unittest


Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
import unittest


Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
import unittest


Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
from dotenv import load_dotenv
import unittest
import os
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import unittest

from fiction.pyfiction import *
from mnt.pyfiction import *


class TestColorRouting(unittest.TestCase):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
from dotenv import load_dotenv
import unittest
import os
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
import unittest
import os

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
import unittest
import os

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
import unittest
import os

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
import unittest
import os

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
import unittest
import os

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
import unittest
import os

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
import unittest
import os

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
import unittest
import os

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
import unittest
import os

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
import unittest
import os

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
import unittest
import os

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
import unittest
import os

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import unittest
from fiction import pyfiction
from mnt import pyfiction


class TestDesignRuleViolations(unittest.TestCase):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
import unittest
import os

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
import unittest
import os

Expand Down
2 changes: 1 addition & 1 deletion bindings/pyfiction/test/layouts/test_bounding_box.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
import unittest
import os

Expand Down
2 changes: 1 addition & 1 deletion bindings/pyfiction/test/layouts/test_cartesian_layout.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
import unittest


Expand Down
2 changes: 1 addition & 1 deletion bindings/pyfiction/test/layouts/test_cell_level_layout.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
import unittest


Expand Down
2 changes: 1 addition & 1 deletion bindings/pyfiction/test/layouts/test_clocked_layout.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
import unittest


Expand Down
2 changes: 1 addition & 1 deletion bindings/pyfiction/test/layouts/test_coordinates.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
import unittest


Expand Down
2 changes: 1 addition & 1 deletion bindings/pyfiction/test/layouts/test_gate_level_layout.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
import unittest


Expand Down
2 changes: 1 addition & 1 deletion bindings/pyfiction/test/layouts/test_hexagonal_layout.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
import unittest


Expand Down
2 changes: 1 addition & 1 deletion bindings/pyfiction/test/layouts/test_obstruction_layout.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import unittest

from fiction.pyfiction import *
from mnt.pyfiction import *

class TestObstructionLayout(unittest.TestCase):

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
import unittest


Expand Down
2 changes: 1 addition & 1 deletion bindings/pyfiction/test/networks/test_logic_network.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
import unittest
import os

Expand Down
2 changes: 1 addition & 1 deletion bindings/pyfiction/test/technology/test_area.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import unittest
from fiction.pyfiction import *
from mnt.pyfiction import *


class TestArea(unittest.TestCase):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from fiction.pyfiction import *
from mnt.pyfiction import *
import unittest
import os

Expand Down
2 changes: 1 addition & 1 deletion bindings/pyfiction/test/utils/test_routing_utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import unittest
from fiction.pyfiction import *
from mnt.pyfiction import *


class TestRoutePath(unittest.TestCase):
Expand Down
6 changes: 3 additions & 3 deletions docs/algorithms/apply_gate_library.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ implementations for each gate present in the passed ``gate_level_layout``.
.. doxygenfunction:: fiction::apply_gate_library(const GateLyt& lyt)

.. tab:: Python
.. autofunction:: fiction.pyfiction.apply_qca_one_library
.. autofunction:: fiction.pyfiction.apply_topolinano_library
.. autofunction:: fiction.pyfiction.apply_bestagon_library
.. autofunction:: mnt.pyfiction.apply_qca_one_library
.. autofunction:: mnt.pyfiction.apply_topolinano_library
.. autofunction:: mnt.pyfiction.apply_bestagon_library
4 changes: 2 additions & 2 deletions docs/algorithms/color_routing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ to the layout.
.. doxygenfunction:: fiction::color_routing(Lyt& lyt, const std::vector<routing_objective<Lyt>>& objectives, color_routing_params ps = {}, color_routing_stats* pst = nullptr)

.. tab:: Python
.. autoclass:: fiction.pyfiction.color_routing_params
.. autoclass:: mnt.pyfiction.color_routing_params
:members:
.. autofunction:: fiction.pyfiction.color_routing
.. autofunction:: mnt.pyfiction.color_routing
6 changes: 3 additions & 3 deletions docs/algorithms/exact.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ network specifications under constraints. This approach finds exact results but
.. doxygenfunction:: fiction::exact_with_blacklist

.. tab:: Python
.. autoclass:: fiction.pyfiction.exact_params
.. autoclass:: mnt.pyfiction.exact_params
:members:
.. autofunction:: fiction.pyfiction.exact_cartesian
.. autofunction:: fiction.pyfiction.exact_hexagonal
.. autofunction:: mnt.pyfiction.exact_cartesian
.. autofunction:: mnt.pyfiction.exact_hexagonal
2 changes: 1 addition & 1 deletion docs/algorithms/graph.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ Graph Coloring
.. doxygenfunction:: fiction::determine_vertex_coloring

.. tab:: Python
.. autoclass:: fiction.pyfiction.graph_coloring_engine
.. autoclass:: mnt.pyfiction.graph_coloring_engine
:members:
2 changes: 1 addition & 1 deletion docs/algorithms/hexagonalization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ The respective coordinates on the hexagonal grid are calculated as follows:


.. tab:: Python
.. autofunction:: fiction.pyfiction.hexagonalization
.. autofunction:: mnt.pyfiction.hexagonalization
14 changes: 7 additions & 7 deletions docs/algorithms/network_transformation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ Network Balancing
:members:
.. doxygenfunction:: fiction::network_balancing
.. tab:: Python
.. autoclass:: fiction.pyfiction.network_balancing_params
.. autoclass:: mnt.pyfiction.network_balancing_params
:members:
.. autofunction:: fiction.pyfiction.network_balancing
.. autofunction:: fiction.pyfiction.is_balanced
.. autofunction:: mnt.pyfiction.network_balancing
.. autofunction:: mnt.pyfiction.is_balanced

Fanout Substitution
-------------------
Expand All @@ -33,9 +33,9 @@ Fanout Substitution
.. doxygenfunction:: fiction::fanout_substitution

.. tab:: Python
.. autoclass:: fiction.pyfiction.fanout_substitution_params
.. autoclass:: mnt.pyfiction.fanout_substitution_params
:members:
.. autoclass:: fiction.pyfiction.substitution_strategy
.. autoclass:: mnt.pyfiction.substitution_strategy
:members:
.. autofunction:: fiction.pyfiction.fanout_substitution
.. autofunction:: fiction.pyfiction.is_fanout_substituted
.. autofunction:: mnt.pyfiction.fanout_substitution
.. autofunction:: mnt.pyfiction.is_fanout_substituted
4 changes: 2 additions & 2 deletions docs/algorithms/orthogonal.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ to a 3-graph. At the same time, the output layout will always be 2DDWave-clocked
.. doxygenfunction:: fiction::orthogonal(const Ntk& ntk, orthogonal_physical_design_params ps = {}, orthogonal_physical_design_stats* pst = nullptr)

.. tab:: Python
.. autoclass:: fiction.pyfiction.orthogonal_params
.. autoclass:: mnt.pyfiction.orthogonal_params
:members:
.. autofunction:: fiction.pyfiction.orthogonal
.. autofunction:: mnt.pyfiction.orthogonal
20 changes: 10 additions & 10 deletions docs/algorithms/path_finding.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ Distance functions compute (an approximation for) the distance between two coord
.. doxygenclass:: fiction::twoddwave_distance_functor

.. tab:: Python
.. autofunction:: fiction.pyfiction.manhattan_distance
.. autofunction:: fiction.pyfiction.euclidean_distance
.. autofunction:: fiction.pyfiction.twoddwave_distance
.. autofunction:: mnt.pyfiction.manhattan_distance
.. autofunction:: mnt.pyfiction.euclidean_distance
.. autofunction:: mnt.pyfiction.twoddwave_distance

Distance Maps
-------------
Expand Down Expand Up @@ -73,10 +73,10 @@ A* Shortest Path
.. doxygenclass:: fiction::a_star_distance_functor

.. tab:: Python
.. autoclass:: fiction.pyfiction.a_star_params
.. autoclass:: mnt.pyfiction.a_star_params
:members:
.. autofunction:: fiction.pyfiction.a_star
.. autofunction:: fiction.pyfiction.a_star_distance
.. autofunction:: mnt.pyfiction.a_star
.. autofunction:: mnt.pyfiction.a_star_distance

Jump Point Search Shortest Path in a Cartesian Grid
---------------------------------------------------
Expand All @@ -97,9 +97,9 @@ k Shortest Paths
.. doxygenfunction:: fiction::yen_k_shortest_paths

.. tab:: Python
.. autoclass:: fiction.pyfiction.yen_k_shortest_paths_params
.. autoclass:: mnt.pyfiction.yen_k_shortest_paths_params
:members:
.. autofunction:: fiction.pyfiction.yen_k_shortest_paths
.. autofunction:: mnt.pyfiction.yen_k_shortest_paths

Enumerate All Paths
-------------------
Expand All @@ -113,6 +113,6 @@ Enumerate All Paths
.. doxygenfunction:: fiction::enumerate_all_paths

.. tab:: Python
.. autoclass:: fiction.pyfiction.enumerate_all_paths_params
.. autoclass:: mnt.pyfiction.enumerate_all_paths_params
:members:
.. autofunction:: fiction.pyfiction.enumerate_all_paths
.. autofunction:: mnt.pyfiction.enumerate_all_paths
4 changes: 2 additions & 2 deletions docs/algorithms/post_layout_optimization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ positions.
.. doxygenfunction:: fiction::post_layout_optimization

.. tab:: Python
.. autoclass:: fiction.pyfiction.post_layout_optimization_stats
.. autoclass:: mnt.pyfiction.post_layout_optimization_stats
:members:
.. autofunction:: fiction.pyfiction.post_layout_optimization
.. autofunction:: mnt.pyfiction.post_layout_optimization
2 changes: 1 addition & 1 deletion docs/algorithms/properties.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Critical Path (CP) and Throughput (TP)
.. doxygenfunction:: fiction::critical_path_length_and_throughput

.. tab:: Python
.. autofunction:: fiction.pyfiction.critical_path_length_and_throughput
.. autofunction:: mnt.pyfiction.critical_path_length_and_throughput

Number of Gate Types
--------------------
Expand Down
Loading

0 comments on commit 7099573

Please sign in to comment.