Skip to content

Commit

Permalink
🎨 add missing headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
Drewniok committed Mar 25, 2024
1 parent ec6f206 commit 6918b18
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import unittest

from mnt.pyfiction import *


class TestDesignSiDBGates(unittest.TestCase):

def siqad_and_gate_skeleton(self):
def test_siqad_and_gate_skeleton(self):
layout = sidb_layout((2, 1))
layout.assign_cell_type((0, 0, 1), sidb_technology.cell_type.INPUT)
layout.assign_cell_type((2, 1, 1), sidb_technology.cell_type.INPUT)
Expand Down
6 changes: 5 additions & 1 deletion test/algorithms/physical_design/design_sidb_gates.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,19 @@
#include <fiction/algorithms/simulation/sidb/sidb_simulation_engine.hpp>
#include <fiction/algorithms/simulation/sidb/sidb_simulation_parameters.hpp>
#include <fiction/layouts/cell_level_layout.hpp>
#include <fiction/layouts/coordinates.hpp>
#include <fiction/technology/cell_technologies.hpp>
#include <fiction/traits.hpp>
#include <fiction/types.hpp>
#include <fiction/utils/layout_utils.hpp>
#include <fiction/utils/truth_table_utils.hpp>

#include <vector>

using namespace fiction;

TEST_CASE("Use SiQAD XNOR skeleton and generate SiQAD XNOR gate, exhaustive", "[design-sidb-gates]")
{

using layout = sidb_cell_clk_lyt_siqad;
using layout_cube = cell_level_layout<sidb_technology, clocked_layout<cartesian_layout<cube::coord_t>>>;
using layout_offset = cell_level_layout<sidb_technology, clocked_layout<cartesian_layout<offset::ucoord_t>>>;
Expand Down
6 changes: 4 additions & 2 deletions test/algorithms/physical_design/one_pass_synthesis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,17 @@
#include <fiction/algorithms/physical_design/one_pass_synthesis.hpp>
#include <fiction/io/print_layout.hpp>
#include <fiction/technology/qca_one_library.hpp>
#include <fiction/types.hpp>

#include <mockturtle/networks/aig.hpp>
#include <mockturtle/networks/mig.hpp>
#include <mockturtle/views/names_view.hpp>

#include <chrono>
#include <cstddef>
#include <iostream>
#include <memory>
#include <type_traits>
#include <vector>
#include <utility>

using namespace fiction;

Expand Down
3 changes: 3 additions & 0 deletions test/io/write_location_and_ground_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@
#include <catch2/catch_template_test_macros.hpp>

#include <fiction/algorithms/simulation/sidb/exhaustive_ground_state_simulation.hpp>
#include <fiction/algorithms/simulation/sidb/sidb_simulation_parameters.hpp>
#include <fiction/io/write_location_and_ground_state.hpp>
#include <fiction/layouts/cartesian_layout.hpp>
#include <fiction/layouts/cell_level_layout.hpp>
#include <fiction/technology/cell_technologies.hpp>
#include <fiction/technology/charge_distribution_surface.hpp>
#include <fiction/types.hpp>

#include <algorithm>
#include <sstream>
Expand Down

0 comments on commit 6918b18

Please sign in to comment.