From 55e13847ea68c0fe3e97c7d81ae34021f1641d51 Mon Sep 17 00:00:00 2001 From: behzadmehmood Date: Sun, 17 Nov 2024 09:38:33 +0500 Subject: [PATCH 1/3] Stopping pass through LUT creation for PLL_CLK signal on output primitives --- design_edit/src/rs_design_edit.cc | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/design_edit/src/rs_design_edit.cc b/design_edit/src/rs_design_edit.cc index d0cc5b223..cb0509b14 100644 --- a/design_edit/src/rs_design_edit.cc +++ b/design_edit/src/rs_design_edit.cc @@ -1000,8 +1000,9 @@ struct DesignEditRapidSilicon : public ScriptPass { if (std::find(io_prim_wires.begin(), io_prim_wires.end(), bit.wire->name.str()) != io_prim_wires.end()) { if (cell->input(portName) && - portName.str() != "\\CLK_IN" && - portName.str() != "\\C" && + portName != RTLIL::escape_id("CLK_IN") && + portName != RTLIL::escape_id("C") && + portName != RTLIL::escape_id("PLL_CLK") && (is_out_prim || is_intf_prim)) { if (unset_port) { @@ -1574,8 +1575,9 @@ struct DesignEditRapidSilicon : public ScriptPass { process_wire(cell, portName, wire); if (is_out_prim || is_intf_prim) { if (cell->input(portName)) { - if (portName.str() != "\\CLK_IN" && - portName.str() != "\\C") + if (portName != RTLIL::escape_id("CLK_IN") && + portName != RTLIL::escape_id("C") && + portName != RTLIL::escape_id("PLL_CLK")) out_prim_ins.insert(wire->name.str()); } } @@ -1596,8 +1598,9 @@ struct DesignEditRapidSilicon : public ScriptPass { process_wire(cell, portName, wire); if (is_out_prim || is_intf_prim) { if (cell->input(portName)) { - if (portName.str() != "\\CLK_IN" && - portName.str() != "\\C") + if (portName != RTLIL::escape_id("CLK_IN") && + portName != RTLIL::escape_id("C") && + portName != RTLIL::escape_id("PLL_CLK")) out_prim_ins.insert(wire->name.str()); } } From 2d196a552accd620f3f1ef142b93b5b661725c91 Mon Sep 17 00:00:00 2001 From: behzadmehmood Date: Sun, 17 Nov 2024 15:18:19 +0000 Subject: [PATCH 2/3] Incremented patch version --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b8a716ee9..d8a30e3fa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,7 +17,7 @@ set(VERSION_MINOR 0) -set(VERSION_PATCH 380) +set(VERSION_PATCH 381) From 64e13904ab495d74c2db76c82c755322c612641f Mon Sep 17 00:00:00 2001 From: behzadmehmood Date: Mon, 18 Nov 2024 03:42:58 +0000 Subject: [PATCH 3/3] Incremented patch version --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d8a30e3fa..5ec54cf0d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,7 +17,7 @@ set(VERSION_MINOR 0) -set(VERSION_PATCH 381) +set(VERSION_PATCH 382)