Skip to content

Commit

Permalink
🚨 Fixed compiler error
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelwa committed Sep 19, 2023
1 parent dcfdaaa commit c0a0880
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cli/cmd/physical_design/hex.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class hex_command : public command

if constexpr (fiction::is_cartesian_layout_v<Lyt>)
{
return fiction::hexagonalization(*lyt_ptr);
return fiction::hexagonalization<fiction::hex_even_row_gate_clk_lyt>(*lyt_ptr);
}
else
{
Expand Down
7 changes: 4 additions & 3 deletions experiments/hexagonalization/hexagonalization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ int main() // NOLINT
{
using gate_lyt = fiction::gate_level_layout<
fiction::clocked_layout<fiction::tile_based_layout<fiction::cartesian_layout<fiction::offset::ucoord_t>>>>;
using hex_lyt = fiction::hex_even_row_gate_clk_lyt;
using cell_lyt = fiction::sidb_cell_clk_lyt;

experiments::experiment<std::string, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t, uint32_t,
Expand Down Expand Up @@ -128,9 +129,9 @@ int main() // NOLINT
fiction::critical_path_length_and_throughput_stats cp_tp_stats{};
fiction::critical_path_length_and_throughput(gate_level_layout, &cp_tp_stats);

const std::chrono::steady_clock::time_point begin = std::chrono::steady_clock::now();
const auto hex_layout = fiction::hexagonalization<gate_lyt>(gate_level_layout);
const auto end = std::chrono::steady_clock::now();
const std::chrono::steady_clock::time_point begin = std::chrono::steady_clock::now();
const auto hex_layout = fiction::hexagonalization<hex_lyt, gate_lyt>(gate_level_layout);
const auto end = std::chrono::steady_clock::now();

// check equivalence
fiction::equivalence_checking_stats eq_stats{};
Expand Down

0 comments on commit c0a0880

Please sign in to comment.