EDAboard.com | EDAboard.eu | EDAboard.de | EDAboard.co.uk | RTV forum PL | NewsGroups PL

dbCreateNet using itkDB

Ask a question - edaboard.com

elektroda.net NewsGroups Forum Index - Cadence - dbCreateNet using itkDB

sg
Guest

Thu Mar 24, 2011 10:27 pm   



Hello Guys,

using itkDB, I create a net, say "I5u<5>", using dbCreateNet C API, in
a layout cell view. when I query that net in icfb 5141 framework, I
find it created as "I5u#3c5#3e". I don't know how and where "<" and
">" bus chars converted into its ascii equivalent. When I query
"I5u<5>" using dbFindNetByName, it returns nil, and if query
"I5u#3c5#3e", it returns valid db id.

If I use corresponding skill api "dbCreateNet", there is no such
conversion. Is there any way to make dbCreateNet in itkDB, not to do
this auto conversion of "I5u<5>" to "I5u#3c5#3e"?

Thanks, and Regards,

Andrew Beckett
Guest

Wed Apr 13, 2011 10:47 am   



sg wrote, on 03/24/11 20:27:
Quote:
Hello Guys,

using itkDB, I create a net, say "I5u<5>", using dbCreateNet C API, in
a layout cell view. when I query that net in icfb 5141 framework, I
find it created as "I5u#3c5#3e". I don't know how and where "<" and
">" bus chars converted into its ascii equivalent. When I query
"I5u<5>" using dbFindNetByName, it returns nil, and if query
"I5u#3c5#3e", it returns valid db id.

If I use corresponding skill api "dbCreateNet", there is no such
conversion. Is there any way to make dbCreateNet in itkDB, not to do
this auto conversion of "I5u<5>" to "I5u#3c5#3e"?

Thanks, and Regards,

I don't see this problem. In my code I do:


netId=dbCreateNet( cvId , "myNet",NULL);
printf("netId from creating net 'myNet' is %d\n",netId);
netId=dbCreateNet( cvId , "myBus<1>",NULL);
printf("netId from creating net 'myBus<1>' is %d\n",netId);
netId=dbCreateNet( cvId , "I5u<5>",NULL);
printf("netId from creating net 'I5u<5>' is %d\n",netId);
netId=dbCreateNet( cvId , "I5u<5>",NULL);
printf("netId from creating net 'I5u<5> again' is %d\n",netId);
netId=dbCreateNet( cvId , "I5u<6>",NULL);
printf("netId from creating net 'I5u<6>' is %d\n",netId);

dbSave( cvId );
dbClose(cvId);

And the program prints:

netId from creating net 'myNet' is 140952736
netId from creating net 'myBus<1>' is 140952812
netId from creating net 'I5u<5>' is 140952892
netId from creating net 'I5u<5> again' is 0
netId from creating net 'I5u<6>' is 140952968
*WARNING* : Already exists - I5u<5>

(I tried recreating the same net multiple times, just in case).

If I open it in icfb afterwards, I get:

cv~>nets~>name
("I5u<6>" "I5u<5>" "myBus<1>" "myNet")

Regards,

Andrew.

elektroda.net NewsGroups Forum Index - Cadence - dbCreateNet using itkDB

Ask a question - edaboard.com

Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
RTV map EDAboard.com map News map EDAboard.eu map EDAboard.de map EDAboard.co.uk map Opony