13 bool orChannel)
const {
24 bool orChannel)
const {
25 if(slbout->
isValid()==
false)
return nullptr;
34 int adjacentOfSLB = -1;
35 int channelInSLB = -1;
46 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
52 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
60 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
66 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
79 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
85 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
93 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
99 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
109 if((
channel+block*channelInBlock)%numberOfLayer==2){
112 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
115 if((
channel+block*channelInBlock)%numberOfLayer==1){
118 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
121 if((
channel+block*channelInBlock)%numberOfLayer==0){
124 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
134 if(orChannel==
false){
138 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
144 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
152 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
158 channelInSLB = (
channel+block*channelInBlock)/numberOfLayer
169 if(channelInSLB!=-1){
171 cellType,channelInSLB);
184 bool orChannel)
const {
185 if(slbin->
isValid()==
false)
return nullptr;
205 if(orChannel==
false){
207 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer+1;
209 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer;
210 block =
channel/channelInBlock;
215 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer+1;
217 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer;
218 block =
channel/channelInBlock;
223 if(orChannel==
false){
225 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer+1;
227 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer;
228 block =
channel/channelInBlock;
233 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer+1;
235 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer;
236 block =
channel/channelInBlock;
242 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer+2;
244 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer+1;
246 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer;
247 block =
channel/channelInBlock;
255 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer+1;
257 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer;
258 block =
channel/channelInBlock;
263 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer+1;
265 channel = (channelInSLB-adjacentOfSLB)*numberOfLayer;
266 block =
channel/channelInBlock;