Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ set(VERSION_MINOR 0)



set(VERSION_PATCH 380)
set(VERSION_PATCH 381)



Expand Down
15 changes: 9 additions & 6 deletions design_edit/src/rs_design_edit.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down Expand Up @@ -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());
}
}
Expand All @@ -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());
}
}
Expand Down