From e723a53b69aa743b99f54fe43914ce3f766c2f69 Mon Sep 17 00:00:00 2001 From: Gabriel Gouvine Date: Sat, 3 Jun 2023 12:41:11 +0200 Subject: [PATCH] Setup row polarity (single row cells at the moment) --- etesian/src/EtesianEngine.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/etesian/src/EtesianEngine.cpp b/etesian/src/EtesianEngine.cpp index 05deae24..1f95e764 100644 --- a/etesian/src/EtesianEngine.cpp +++ b/etesian/src/EtesianEngine.cpp @@ -200,7 +200,7 @@ namespace { break; */ default: - throw Error("Unsupported orientation"); + throw Error("Unsupported orientation " + toString(orientation)); } return Transformation( tx, ty, orient ); } @@ -829,6 +829,7 @@ namespace Etesian { vector cellHeight( instancesNb+1 ); vector cellIsFixed( instancesNb+1 ); vector cellIsObstruction( instancesNb+1 ); + vector cellRowPolarity( instancesNb+1, coloquinte::CellRowPolarity::SAME ); cmess1 << ::Dots::asUInt( " - Number of instances ", instancesNb ) << endl; if (instancesNb) { @@ -1007,10 +1008,12 @@ namespace Etesian { } _circuit->setCellX(cellX); _circuit->setCellY(cellY); + _circuit->setCellOrientation(orient); _circuit->setCellWidth(cellWidth); _circuit->setCellHeight(cellHeight); _circuit->setCellIsFixed(cellIsFixed); _circuit->setCellIsObstruction(cellIsObstruction); + _circuit->setCellRowPolarity(cellRowPolarity); cmess1 << " - Converting " << netsNb << " nets" << endl;