| By: tklam ( tklam ) 2009-Sep-24 02:30 |
|
I have just compiled OAGear in Ubuntu 8.10. When I tried the binary "cuddtest" using the following command: "cuddTest -lib designs -cell s27_bench -output_cubes" the program reported: "ERROR: Floating graph node cuddTest: oagFuncQueryOcc.cpp:393: void* oagFunc::QueryOcc::getRecursively(oagFunc::OccRef&): Assertion `false\' failed. Aborted" Could anyone please give me some advice? And may I know whether there are some tutorials on using OAGear? Thank you very much. |
| By: tklam ( tklam ) 2009-Sep-24 02:44 |
|
The lib "designs" is from the example db. Thanks. |
| By: tklam ( tklam ) 2009-Sep-25 03:37 |
| Okay, problem solved. Thanks everybody. |
| By: smok ( Santiago Mok ) 2009-Mar-14 02:00 |
|
To whom it concern, I\'m a student at UCLA; we have made a few contributions to OA Gear Timer and would like to submit OA Gear package for new revision. Can you provide me with further detail on how to submit the code? Thanks, Santiago |
| By: pempaganela ( Pedro Paganela ) 2009-Mar-04 13:36 |
|
Hi. Since I do not need to edit the libraries yet, I would like to get OAGear already compiled. Therefore, has someone compiled OAGear? Could you please post a link to donwload it? I have tried to compile it into Xubuntu 8.10, using gcc version 4.3.2. However, I have had a lot of problems (I will not report them here) and some of them I couldn\'t solve yet. Thanks in advance, Pedro Paganela - student of computer engineering, UFRGS - Brazil |
| By: pempaganela ( Pedro Paganela ) 2009-Mar-26 12:46 |
|
Hi, after an epic fight and the help of really good C++ programmers, I solved the compilation problems of UMpack and oaGear to xubuntu 8.10 g++ 4.3.2. If someone needs help to compile on linux, he or she can send me an email: pempaganela@gmail.com -- Pedro Paganela - Computer Engineering Student - UFRGS - Brazil |
| By: smok ( Santiago Mok ) 2008-Jun-25 03:28 |
|
Refering to ISCAS89-Mapped Examples, I succesfully translated spef2oa for small design such as s400.v but I ran into the following problem for some of the larger verilog design. In particular, I generated the spef file for s13207.v using Encounter and I got the when doing spef2oa "ERROR: (OASPEF-60031): ../s13207_bench.spef (line 10041): The node "*2722" was not found. The capacitance to ground with value "3.00422e-05" could not be created. The capacitor was ignored." I wonder what are the possible cause of the problem? My procedure in creating the OA database is: 1) lef2oa using cbl250.lef (succesful) 2) verilog2oa using s13207.v (succesful) 3) spef2oa using s13207_bench.spef (extracted RC spef file from encounter, but unsuccessful spef2oa translation) Also I did try to translate verilog2oa using s13207_bench.v(the verilog file of the s13207 after Extracting RC). |
| By: donaldchai ( Donald Chai ) 2008-Jun-09 14:26 |
|
"test" \'test\' \\"test\\" \\\'test\\\' |
| By: donaldchai ( Donald Chai ) 2008-Jun-09 14:26 |
|
" nested \'test\' " \' "test" \' |
| By: donaldchai ( Donald Chai ) 2008-Jun-09 14:27 |
| backwards `quote` marks |
| By: smok ( Santiago Mok ) 2008-Jun-09 10:32 |
| My previous thread was referring the .lib file I need to source when I call analyzeTiming; in my case I was using cbl250.lib. |
| By: smok ( Santiago Mok ) 2008-Jun-09 10:28 |
|
Hi, I am working on a wire delay calculations and I need to make sure the time,cap, and resistance units are as stated in the *.lib file in general. I wonder how does TimerTimer parse the library using oagTimerLib_parse() function. I can\'t find the specific function inside oagTImerLibParser.cxx or oagTimerLibLexer.cxx that does the unit conversion. Or is it that unit conversion is done elsewhere? Thanks, Santiago |
| By: donaldchai ( Donald Chai ) 2008-Jun-09 14:43 |
|
oagTimerLib_yyparse is a parser *generated* by GNU Bison and Flex from the files oagTimerLibParser.yxx and oagTimerLibLexer.lxx. You should consult these files instead of the *.cxx versions, as they`re a bit more readable, and any changes you make to the *.cxx files may be overwritten. To answer your question, absolutely no unit conversion is performed. If you check oagTimerLibParser.yxx, the only reference to K_CAP_LOAD_UNIT is "junkHead": the data that follows is ignored. To extract the data you want, you\'ll need to add keywords to the LXX file, and some rules to the YXX file. I`m going to take this opportunity to plug my own project, which is intended as a replacement for OAGear. (It doesn`t do wire delay calculation, but my code is easier to modify.) To do the same task there, you simply need to add something like: getAttr("time_unit", tmpString); getAttr("pulling_resistance_unit", tmpString); getAttr("capacitive_load_unit", tmpStringVec); The static timer is also much faster. My project is currently living at: http://www.cs.berkeley.edu/~donald/code/truss |
| By: smok ( Santiago Mok ) 2008-Jun-16 11:46 |
| If no unit conversion is done, then how does analyzeTiming report time unit and cap unit as specified in the .lib file? |
| By: donaldchai ( Donald Chai ) 2008-Jun-16 20:37 |
|
Assuming that I understand your question correctly, it doesn`t. Have you used "analyzeTiming"? It simply reports numbers with no units. Here is what analyzeTiming reports: Reading library file \'GSCLib_3.0.lib\'. Reading sdc file \'iscas.sdc\'. Updating arrival times ... Updating required times ... Generating report ... Pin Load G0 0.0924300 Clock Multi Rise Slew Fall Slew Rise Slack Fall Slack Rise Arrival Fall Arrival BLIF_CLK_NET 1 0.0000000 0.0000000 -0.6285231 -0.6670325 0.0000000 0.0000000 |
| By: pchong ( Philip Chong ) 2008-Jun-02 17:42 |
| It seems the forum software sometimes fails to send email notification when a new post/reply is made. If you do not get a reply to a query within a few days after posting, please send me (or the appropriate person) an email directly; my email address is listed in the AUTHORS file in the OA Gear distribution. I will try to clear up the technical difficulty with the site sysadmin. Sorry for the trouble. |
| By: puneet ( Puneet Gupta ) 2008-May-27 02:18 |
| We may have an enhancement to OAGear-Timer for wire delay calculation which we would be happy to share and include in OAGear release. We dont know what is the mechanism of sharing the source code with OAGear maintainers. |
| By: pchong ( Philip Chong ) 2008-Jun-02 17:36 |
|
Thank you for offering to contribute! You can send source code to me by email; my email is in the AUTHORS file in the OA Gear distribution. If the changes are localized in a few files, you can send those files, or if there are many changes, you can make a patch file using diff (e.g. "diff -urN OAGear-0.97a OAGear-new"). Please include attribution (e.g. authors\' names) as comments in the source; I will also add your names to the AUTHORS file. Please make sure your contribution satisfies the terms of the OA Gear license, as noted in the COPYING file. Thanks! |
| By: prf117 ( Paul Falkenstern ) 2008-Mar-28 14:08 |
|
I\'ve configured OA Gear for Sunos_58_64, but when I do the command make I get the following error: ld: fatal: option -dn and -P are incompatible. Does anybody know what is causing this? thanks! horta 3% make make all-recursive Making all in Util Making all in . Making all in Documentation Making all in UnitTest /bin/bash ../../libtool --tag=CXX --mode=link g++ -g -O2 -o oagUtilUnitTest main.o oagUtilOptionParserUnitTest.o oagUtilOptionsUnitTest.o oagUtilGlobMatc hUnitTest.o ../../Util/liboagUtil.la -L/home/mdl/falkenst/thesis/openaccess/oa Sun/oa_v22.04.012/lib/sunos_58_64/opt -Wl,-rpath,/home/mdl/falkenst/thesis/opena ccess/oaSun/oa_v22.04.012/lib/sunos_58_64/opt -loaBase -loaDM -loaDesign -loaPlu gIn -loaTech -loaCommon -i -lm -Bdynamic -lsocket -lnsl -lintl -ldl -lelf -lrt g++ -g -O2 -o .libs/oagUtilUnitTest main.o oagUtilOptionParserUnitTest.o oagUtil OptionsUnitTest.o oagUtilGlobMatchUnitTest.o -Wl,-rpath -Wl,/home/mdl/falkenst/t hesis/openaccess/oaSun/oa_v22.04.012/lib/sunos_58_64/opt -i -Bdynamic ../../Uti l/.libs/liboagUtil.so /usr/sfw/lib/libstdc++.so -lc -L/usr/sfw/lib -L/home/mdl/f alkenst/thesis/openaccess/oaSun/oa_v22.04.012/lib/sunos_58_64/opt -loaBase -loaD M -loaDesign -loaPlugIn -loaTech -loaCommon -lm -lsocket -lnsl -lintl -ldl -lelf -lrt -Wl,-R -Wl,/usr/local/lib -Wl,-R -Wl,/usr/sfw/lib ld: fatal: option -dn and -P are incompatible ld: fatal: Flags processing errors collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `oagUtilUnitTest\' |
| By: donaldchai ( Donald Chai ) 2008-May-06 22:18 |
|
Odd. My version of ld doesn\'t even have a -dn option: $ ld -V ld: Software Generation Utilities - Solaris Link Editors: 5.9-1.399 I don\'t know how much it\'ll help, but you might want to make sure that you use Sun\'s tools rather than the GNU version. i.e.: CC instead of g++, cc instead of gcc At least, that\'s what they used to compile OA. The OA source has some good information in build/make/sunos.variables. |
| By: supradeep ( supradeep narayana ) 2008-Mar-19 14:09 |
|
I get the error configure: error: could not find liboaBase.so in /home/aquan/snarayan/oagear/OAGear-0.98a/../OA-2.2p052/lib/linux_UNKNOWN_32/opt i don\'t find the file liboaBase.so in /OA-2.2p052/lib/lunux_unknown_32/opt/ can i get obtain this file and just add it or is it a problem with the compilier of the system. |
| By: pchong ( Philip Chong ) 2008-Mar-21 14:42 |
|
It seems there is a problem with identifying your system name. As a workaround, please specify your system name on the command line when you run ./configure (using the --sysname={SYSTEM_NAME} option). Your sysname should be the same as the name of the subdirectory of OA-2.2p052/lib/ which you wish to use. Can you tell me the name and version of the Linux distribution you are using? And what is the output when you run OA-2.2p052/bin/sysname ? |
| By: supradeep ( supradeep narayana ) 2008-Mar-23 14:33 |
|
The version of the linux is Red Hat Enterprise Linux WS release 3 (Taroon) ( looked at /etc/redhat-release) Linux aqua.physics.sunysb.edu 2.4.21-4.ELsmp #1 SMP Fri Oct 3 17:52:56 EDT 2003 i686 i686 i386 GNU/Linux ( from uname -a) The OA-2.2p052/bin/sysname give linux_UNKNOWN. Could you let me know as to where i should make the changes. supradeep |
| By: pchong ( Philip Chong ) 2008-Mar-24 02:34 |
|
Sorry, I\'d made a typo in the previous reply. You should use --with-sysname={SYSTEM_NAME} when running the configure script, where {SYSTEM_NAME} is the same name as the subdirectory of OA-2.2p052/lib/ which you wish to use. (You can run "./configure --help" to show a list of all options to configure.) If this still does not work, please let me know what error message you get, if it is different than before. |
| By: supradeep ( supradeep narayana ) 2008-Mar-24 11:35 |
|
I did use --with-sysname=linux_rhel21_32 as that is the version in OA-2.2p052/lib/ . It is not able to find the file liboaBase. ERROR ; configure: error: could not find liboaBase.so in ~/OAGear-0.98a/../OA-2.2p052/lib/linux_rhel21_32/opt will downloading some other verion help . |
| By: pchong ( Philip Chong ) 2008-Mar-24 12:21 |
| Does OA-2.2p052/lib/linux_rhel21_32/opt/liboaBase.so exist? If not, you are missing some files from your OA installation; please make sure you have downloaded the runtime files (oaRun_*.tar.gz) and installed them correctly. If the file does exist, then this may be a symptom of linker problems. In this case, please include the last few lines output from the configure script (before the ERROR notice), as these may give some clue as to why it failed. |
| By: ahurst ( Aaron Hurst ) 2008-Mar-24 12:22 |
|
Perhaps you have installed the debug version of OA? If you are not sure, verify that there is a directory "opt" (as opposed to "dbg") inside of OA-2.2p052/lib/linux_rhel21_32/. |
| By: supradeep ( supradeep narayana ) 2008-Mar-24 14:16 |
|
I downloaded from the link mention on http://www.iwls.org/challenge/install.html was the file i used for installation. oaDev_2.2p052_linux_rhel21.tar.gz Do you recommend another version that is more recent ? |
| By: pchong ( Philip Chong ) 2008-Mar-24 14:22 |
| oaDev contains the debug libraries only. You can either download oaRun which contains the optimized libraries, or tell OAGear to use the debug libraries instead (by using the --enable-debug flag to configure). You will also need the header files in oaInc. |
| By: pchong ( Philip Chong ) 2008-Mar-24 14:52 |
|
Sorry for replying twice, but I noticed you mentioned the IWLS challenge website. If you are using the "bootstrap" script from the challenge materials, you should not need oaRun. The bootstrap script automatically passes the --enable-debug flag to configure. If you are getting errors with the bootstrap script, please send the relevant *.log files (most likely CONFIG.log). |
| By: supradeep ( supradeep narayana ) 2008-Mar-25 12:22 |
|
I tried to redo the whole stuff with all the challenge materials i still get stuck with the same problem. I can\'t figure how to enable the debug configure instead of opt files. When i run bootstrap script the final message is "bootstrap finished". SO i assume the bootstrap script is working fine. I still get the same error of checking OA sysname... linux_UNKNOWN_32 checking for /home/aqua/snarayan/oagear/OAGear-0.98a/../OA-2.2p052/lib/linux_UNKNOWN_32/opt/liboaBase.so... no configure: error: could not find liboaBase.so in /home/aqua/snarayan/oagear/OAGear-0.98a/../OA-2.2p052/lib/linux_UNKNOWN_32/opt Use --with-oa=DIR and/or --with-sysname to specify OpenAccess directory --------------------------------------- Below is the output of the CONFIG.log --------------------------------------------------------- checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... no checking for bison... bison -y checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether g77 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for g77 option to produce PIC... -fPIC checking if g77 PIC flag -fPIC works... yes checking if g77 static flag -static works... yes checking if g77 supports -c -o file.o... yes checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for doxygen... /usr/bin/doxygen checking for dot... no checking for fig2dev... no configure: debug enabled checking OA sysname... linux_UNKNOWN_32 checking for /home/aqua/snarayan/oagear/OA-2.2p052/lib/linux_UNKNOWN_32/dbg/liboaBaseD.so... yes configure: CUDD enabled, checking for CUDD checking for /home/aqua/snarayan/oagear/cudd-2.4.1/cudd/libcudd.a... yes configure: MiniSat enabled, checking for zlib checking for gzread in -lz... yes configure: creating ./config.status config.status: creating Build/Doxyfile-master config.status: creating Makefile config.status: creating Ai/Documentation/Doxyfile config.status: creating Ai/Documentation/Makefile config.status: creating Ai/Makefile config.status: creating Ai/UnitTest/Makefile config.status: creating Bazaar/Documentation/Doxyfile config.status: creating Bazaar/Documentation/Makefile config.status: creating Bazaar/Makefile config.status: creating Bazaar/PlugIns/CapoPlugIn/Makefile config.status: creating Bazaar/PlugIns/HelloWorldPlugIn/Makefile config.status: creating Bazaar/PlugIns/Info/Makefile config.status: creating Bazaar/PlugIns/Makefile config.status: creating Bazaar/PlugIns/SimEquiPlugIn/Makefile config.status: creating Bazaar/PlugIns/TimerPlugIn/Makefile config.status: creating Buffer/Documentation/Doxyfile config.status: creating Buffer/Documentation/Makefile config.status: creating Buffer/Makefile config.status: creating Buffer/UnitTest/Makefile config.status: creating CapoWrapper/CapoWrapperTest0/Makefile config.status: creating CapoWrapper/CapoWrapperTest1/Makefile config.status: creating CapoWrapper/Makefile config.status: creating Dd/Documentation/Doxyfile config.status: creating Dd/Documentation/Makefile config.status: creating Dd/Makefile config.status: creating Examples/Makefile config.status: creating Func/Documentation/Doxyfile config.status: creating Func/Documentation/Makefile config.status: creating Func/Makefile config.status: creating Func/RegressionTest/Makefile config.status: creating Func/cuddTest/Makefile config.status: creating Func/equivCheck/Makefile config.status: creating Func/funcTest/Makefile config.status: creating Func/oaFunc2verilog/Makefile config.status: creating Func/simulate/Makefile config.status: creating Func/verilog2oaFunc/Makefile config.status: creating Mapper/Documentation/Doxyfile config.status: creating Mapper/Documentation/Makefile config.status: creating Mapper/Makefile config.status: creating Mapper/simpleMap/Makefile config.status: creating Mapper/tableMap/Makefile config.status: creating MiniSat/Makefile config.status: creating MiniSat/RegressionTest/Makefile config.status: creating MiniSat/sat_main/Makefile config.status: creating Redun/Makefile config.status: creating Redun/RegressionTest/Makefile config.status: creating Redun/redunRemove/Makefile config.status: creating SimEqui/Documentation/Doxyfile config.status: creating SimEqui/Documentation/Makefile config.status: creating SimEqui/Makefile config.status: creating SimEqui/RegressionTest/Makefile config.status: creating SimEqui/equiCheck/Makefile config.status: creating SimEqui/incveri/Makefile config.status: creating SimEqui/simulate/Makefile config.status: creating Ssw/Documentation/Doxyfile config.status: creating Ssw/Documentation/Makefile config.status: creating Ssw/Makefile config.status: creating Ssw/sswTest/Makefile config.status: creating Ssw/sswUnroll/Makefile config.status: creating Timer/Documentation/Doxyfile config.status: creating Timer/Documentation/Makefile config.status: creating Timer/Makefile config.status: creating Timer/RegressionTest/Makefile config.status: creating Timer/UnitTest/Makefile config.status: creating Timer/analyzeTiming/Makefile config.status: creating Tools/Makefile config.status: creating Tools/countPaths/Makefile config.status: creating Tools/genPhysical/Makefile config.status: creating Tools/oa2bk/Makefile config.status: creating Tools/oaWritePl/Makefile config.status: creating Util/Documentation/Doxyfile config.status: creating Util/Documentation/Makefile config.status: creating Util/Makefile config.status: creating Util/UnitTest/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands |
| By: pchong ( Philip Chong ) 2008-Mar-26 11:00 |
| It\'s not clear what you\'re doing. When you run bootstrap, it does not give an error, correct? What is the command you are trying to do which gives the error? Can you tell me the contents of /home/aqua/snarayan/oagear/OA-2.2p052/lib ? |
| By: supradeep ( supradeep narayana ) 2008-Mar-26 11:24 |
|
I think i figured it now . You dont need to run configure from in the directory OAGEAR-0.98a. I got the error after run \'configure\' in that directory. /OA-2.2p052/lib contains linux_UNKNOWN_32 -> linux_rhel21_32 |
| By: yiwang ( Yi Wang ) 2007-Jun-15 09:56 |
|
configure has been passed. but when doing make, the following error encounterred: /usr/bin/ld: warning: libstdc++.so.5, needed by /home/library/OAGear-0.97a/../openEDA/lib/linux_rhel21_32/opt/liboaBase.so, may conflict with libstdc++.so.6 /home/library/OAGear-0.97a/../UMpack-45-060927/lib/libRBPlace.so: undefined reference to `flowSolver::cs2(long, long, node_st*, arc_st*, long, long long, long*, double*,bool)\' /home/library/OAGear-0.97a/../UMpack-45-060927/lib/libRBPlace.so: undefined reference to `flowSolver::flowSolver()\' collect2: ld returned 1 exit status make[3]: *** [CapoWrapperTest0] Error 1 Some warnings during compiling of UMpark-45-060927 might be helpful: warning: Using \'getpwuid\' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking So will someone help me about this? Great thanks! I do the compile on some linux platforms, such as CentOS4.5/CentOS5.0 ( equals to ReadHat Linux enterprise 4.5 and 5.0 respectively) and Ubuntu 7.0 (update to the latest version for gcc and other components), the same error information displayed!! |
| By: pchong ( Philip Chong ) 2007-Jun-18 18:32 |
|
The Linux version of OA available from the SI2 site was compiled with gcc-3.2. You need to use this version of gcc when compiling anything that needs to link against this OA. Many Linux distributions include (or have available for optional installation) a version of gcc-3.2 for such purposes. This may be called using some name like "g++32" or "g++-3.2" or something similar, depending on which distribution you use (RHEL WS4 uses "g++32", for instance). You can have OA Gear use some other version of gcc by specifying it in your environment when running configure, e.g. CXX=g++32 ./configure {configure options} |
| By: cseddon ( Charlie Seddon ) 2006-Oct-03 14:25 |
|
Opteron. I have built OAGear, and am attempting to load a design in that I\'ve converted usint verilog2oa. I am using a VNC session that I\'ve started, and I\'m using the xf4vnc server to allow access to the GLX extensions. I invoke \'bazaar\', and get the GUI to display successfully. I then invoke the File->Open Layout Menu. This presents the \'Open A Design:\' dialog. The default Lib: dropdown is \'foo\'. The default Cell: dropdown is \'top\'. The default View: dropdown is \'netlist\'. When I select \'OK\', bazaar dumps core after emitting the message: Xlib: connection to ":0.0" refused by server Xlib: No protocol specified I have tried displaying directly to CDE v1.3 - which complains about missing GLX support. I have tried displaying to Xvnc version 4.0b4, which also complains about missing GLX support. It is completely likely that I a problem with my OA library: ***************************************************************************** Tool: verilog2oa 02.02-p040 ***************************************************************************** Running: verilog2oa -lib foo -verilog "top.v" -top top WARNING: (OAVLG-10018): No default library definition file found. WARNING: (OAVLG-40045): Unresolved references exist for the following modules: INVX1 Finished verilog2oa Time elapsed: 359.65 seconds Peak VM: 1189523456 bytes Messages: 0 errors, 2 warnings One thing I did have to do while compiling is remove the reference to the CapoWrapper library in the src/bazaar Makefile, in spite of having configure with the --enable-capo-wrapper=no |
| By: cseddon ( Charlie Seddon ) 2006-Oct-04 07:56 |
|
More information on this: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 182894237792 (LWP 8881)] 0x0000002a95e2d2cf in OpenAccess_4::oaDesign::getTopBlock () from /system/pkg/openAccess/2.2.4/lib/linux_rhel30_64/opt/liboaDesign.so (gdb) |
| By: cseddon ( Charlie Seddon ) 2006-Oct-04 10:29 |
|
More information: Given a complete design, no SEGV occurs. However, the xlib problem persists: env DISPLAY=amdlinux64-02:1 $HOME/OAGear/0.96a/bin/bazaar Xlib: connection to ":0.0" refused by server Xlib: No protocol specified |
| By: pchong ( Philip Chong ) 2006-Oct-12 15:42 |
|
I\'m not exactly sure what you mean when you say you tried this directly with CDE. Do you mean you tried running this directly on the machine hosting the X server itself? I don\'t have any experience with it, but I don\'t have much faith in GL support over VNC (or over any network in general). Does the glxgears test program work for your setup? |
| By: cseddon ( Charlie Seddon ) 2006-Oct-12 16:03 |
|
By \'directly to CDE\' I mean on the machine hosting the X server itself. Where might I find the glxgears program. If GL isn\'t supported over the network, I doubt that I\'ll be able to use this tool, as I, and most of my customer, work exclusively over networks. |
| By: pchong ( Philip Chong ) 2006-Oct-12 17:26 |
|
glxgears is part of XFree86 (or X.org). Most Linux distributions ship with it. You may also try "glxinfo", which should display some information about GL support on your system and display. It might help if you could try running glxinfo (over VNC) and telling us what it says. I have just now briefly tried Bazaar over a network connection using X forwarding through ssh. Opening a design works fine for me, so I suspect the problem may be in VNC. Please try X forwarding through ssh, if possible, and see if things work on your display. |
| By: kevin11 ( Kevin Tang ) 2006-Jul-12 08:21 |
|
Dear all, Recently, I traced the OAGear Timer package. However, I am confused on the Timer::updateAllArr() function: void Timer::updateAllArr() { for (std::set<oaOccObject*>::iterator i = clockPins.begin(); i != clockPins.end(); ++i) { updateArr(*i); } for (std::set<oaDesign *>::iterator i = _watchedDesigns.begin(); i != _watchedDesigns.end(); ++i) { oaDesign *des = *i; assert(des); oaOccurrence *occ = des->getTopOccurrence(); assert(occ); oaIter<oaOccTerm> termIter(occ->getTerms()); while (oaOccTerm *t = termIter.getNext()) { TPoint *p = TPoint::get(t); if (p->isPO()) { updateArr(t); } } } } In the above function, it recursively update arrival time from all clock pins and POs. But intuitively, it should recursively update arrival time from all "D-pins" and POs, i.e., end points of timing paths. Could anyone explain why the code was written so? Thanks a lot. Sincerely, Kevin |
| By: pchong ( Philip Chong ) 2006-Aug-03 15:55 |
|
Sorry for the late reply; it seems the board failed to notify me of your post. The timing endpoint is taken as the clock pin, as there is actually a timing edge from the D-pin to the clock. This is where the setup requirement for the register is stored. |
| By: david_sheffield ( David Sheffield ) 2006-Apr-12 14:06 |
|
Hello, I\'m currently having the following (see below) problem with analyzeTiming and I\'m wondering if anyone else has seen this problem and knows of a solution. I\'m running the OA Gear infrastructure on FC3 with glibc 2.3.6 and gcc 3.4.4 --Thanks in advance analyzeTiming -lib my_oa_design_lib-GSCLib -cell s_27_without_reset_bench -view netlist -libert y ../Benchmarks/library/GSCLib_3.0.lib -liberty_lib GSCLib -liberty_view netlist -report critical *** glibc detected *** free(): invalid pointer: 0x08744758 *** Aborted |
| By: pchong ( Philip Chong ) 2006-Apr-12 15:57 |
|
Could you make a tar file of the OA databases (both the design and the standard cell library) and send it to me? My email is in the AUTHORS file in the source distribution. Also please let me know what version of OA you have installed. I should warn you that you may be having difficulties as you are not on an official platform supported by OA. Although I can\'t discount the larger probability of a real bug in the timer, differences in the glibc/stdc++ libraries may be the cause here. |
| By: abayrakci ( alp bayrakci ) 2006-Apr-12 03:32 |
|
> > Hello > > I have all the requirements and adjustments for OAGear. > > But while building OAGear with UMPACK-0.43 I get the following errors when I do not disable Bazaar and Capo Wrapper: > > > > oaSlicingTree.cpp: In constructor ‘oaSlicingTree::oaSlicingTree(const RBPlace::SlicingTree&)’: > > //root/Desktop/ecoe560/oa/UMpack-43-051202/RBPlace/slicingTree.h:90: error: ‘std::map<std::string, RBPlace::slicingTreeIdxT, std::less<std::string>, std::allocator<std::pair<const std::string, unsigned int> > > RBPlace::SlicingTree::_nameToIdx’ is private > > oaSlicingTree.cpp:77: error: within this context > > //root/Desktop/ecoe560/oa/UMpack-43-051202/RBPlace/slicingTree.h:92: error: ‘std::vector<unsigned int, std::allocator<unsigned int> > RBPlace::SlicingTree::_parent’ is private > > oaSlicingTree.cpp:78: error: within this context > > //root/Desktop/ecoe560/oa/UMpack-43-051202/RBPlace/slicingTree.h:93: error: ‘std::vector<unsigned int, std::allocator<unsigned int> > RBPlace::SlicingTree::_leftOrBottom’ is private > > oaSlicingTree.cpp:79: error: within this context > > //root/Desktop/ecoe560/oa/UMpack-43-051202/RBPlace/slicingTree.h:94: error: ‘std::vector<unsigned int, std::allocator<unsigned int> > RBPlace::SlicingTree::_rightOrTop’ is private > > oaSlicingTree.cpp:80: error: within this context > > //root/Desktop/ecoe560/oa/UMpack-43-051202/RBPlace/slicingTree.h:95: error: ‘std::vector<bool, std::allocator<bool> > RBPlace::SlicingTree::_leftIsNull’ is private > > oaSlicingTree.cpp:81: error: within this context > > //root/Desktop/ecoe560/oa/UMpack-43-051202/RBPlace/slicingTree.h:96: error: ‘std::vector<bool, std::allocator<bool> > RBPlace::SlicingTree::_rightIsNull’ is private > > oaSlicingTree.cpp:82: error: within this context > > //root/Desktop/ecoe560/oa/UMpack-43-051202/RBPlace/slicingTree.h:91: error: ‘std::deque<BBox, std::allocator<BBox> > RBPlace::SlicingTree::_idxToRect’ is private > > oaSlicingTree.cpp:84: error: within this context > > //root/Desktop/ecoe560/oa/UMpack-43-051202/RBPlace/slicingTree.h:91: error: ‘std::deque<BBox, std::allocator<BBox> > RBPlace::SlicingTree::_idxToRect’ is private > > oaSlicingTree.cpp:84: error: within this context > > make[4]: *** [oaSlicingTree.o] Error 1 > > make[4]: Leaving directory `/root/Desktop/ecoe560/oa/OAGear/CapoWrapper\' > > make[3]: *** [all-recursive] Error 1 > > make[3]: Leaving directory `/root/Desktop/ecoe560/oa/OAGear/CapoWrapper\' > > make[2]: *** [all] Error 2 > > make[2]: Leaving directory `/root/Desktop/ecoe560/oa/OAGear/CapoWrapper\' > > make[1]: *** [all-recursive] Error 1 > > make[1]: Leaving directory `/root/Desktop/ecoe560/oa/OAGear\' > > make: *** [all] Error 2 > > > > > > I am trying to build OAGear with Bazaar for more than a week. If you can help I will be very happy. Thanks for your attention. > > > > Alp Bayrakci > > Ph. D. Computer Engineering > > Koc University |
| By: pchong ( Philip Chong ) 2006-Apr-12 13:44 |
| This thread has been replied to in the Help forum. |
| By: mrouter ( Sandeep ) 2006-Mar-08 23:08 |
| I cannot see where exactly routing is done in the oa gear. Where shoud I look for it? Is there any documentation available for that? |
| By: pchong ( Philip Chong ) 2006-Mar-08 23:46 |
|
OA Gear does not currently have a router, though this is an area we would like to explore. May I ask where you encountered the idea there was a router in OA Gear? I\'d like to correct such a misconception if possible. |
| By: jtseng ( John Tseng ) 2005-Nov-15 12:48 |
|
Just an update as to compiling oagear. I had to make a couple of changes for RHEL 3.0 32 and 64 bit: OAGear 0.91 oa 2.2.3 umpack 42-041122 tcl 8.4.11 cudd 2.4.1 1) Hack capoWrapper/capoExposedinterface.cpp: (two occurencess of create_edge): // unsigned e_idx = hg->create_edge(netName); unsigned e_idx = hg->create_edge(); 2) Fix 8.4 upgrade issues: http://mini.net/tcl/3669 tclCommands.h and controller.h: #define USE_NON_CONST before #include <tcl.h> 3) oagFuncVerilogLexer.lxx: add #include <math.h> 64 bit changes: 4a) Need to add /usr/X11R6/lib64 to library path in Bazar/Makefile.qmake 4b) - pointer casting to int problems // change to long?? oagFuncManager.cpp:348: error: reinterpret_cast from `void*\' to `int\' loses precision // int bytes = reinterpret_cast<int>(ptr)-reinterpret_cast<int>(buf); long bytes = reinterpret_cast<long>(ptr)-reinterpret_cast<long>(buf); |
| By: pchong ( Philip Chong ) 2005-Nov-16 12:50 |
|
Thanks for the fixes. Just a few points: > 1) Hack capoWrapper/capoExposedinterface.cpp: You should upgrade your UMPack version if you can, as Dave has been updating it to keep in sync with capoWrapper. > 2) Fix 8.4 upgrade issues: (TCL) We will move to TCL 8.4 exclusively; a complete fix will be available soon. > 4a) Need to add /usr/X11R6/lib64 to library path in Bazar/Makefile.qmake This is a bit puzzling; Makefile.qmake is an automatically generated file which uses the "qmake" utility (part of QT) on your system to find the correct paths. Possibly your qmake is not configured correctly for your system (Did you compile QT on that system, for the correct architecture? Is your QTDIR environment variable set properly?), or perhaps you had previously built Bazaar in that directory for a different architecture, and had not removed the Makefile.qmake from the previous build ("make clean" should remove Makefile.qmake). Thanks! |
| By: umesh_sisodia ( Umesh Sisodia ) 2005-Oct-01 00:27 |
| Where can I get the umpack which is a prerequisite for building oagear. |
| By: pchong ( Philip Chong ) 2005-Oct-04 11:15 |
| You can get UMPack from http://vlsicad.eecs.umich.edu/BK/PDtools/ . We will hopefully offer a direct download from the OpenEDATools site soon, but for now please use the U. Michigan site. |
| By: iamyou ( David Papa ) 2005-Dec-05 16:23 |
|
There is a new UMpack project on OpenEdaTools which will contain releases of the latest UMpack that is compatible with the latest OAGear release. It is available at: http://openedatools.si2.org/projects/umpack/ |
| By: jtseng ( John Tseng ) 2005-Sep-20 10:50 |
|
Has anyone successfully built the examples for OAGear 0.23? I have run into two problems. I\'m using OA 2.2.0 Problem #1 capo interface has mismatch the create_edge interface doesn\'t match, I had to pass a void argument list for it two work I\'ve tried this with both UMpack-42-041122 and UMpack-43-050610 // unsigned e_idx = hg->create_edge(netName); unsigned e_idx = hg->create_edge(); Problem #2: The examples don\'t build the physicals correctly genPhysical: genPhysical.cpp:314: int main(int, char**): Assertion `cons\' failed. ./make-db: line 56: 14253 Aborted (core dumped) "$GENPHYS" cbl250 designs $J genPhysical.cpp:314 cons = oaLayerConstraint::find(cg, lNum, oaLayerConstraintDef:: get (oacHorizontalRouteGridPitch)); assert(cons); |
| By: pchong ( Philip Chong ) 2005-Oct-04 11:31 |
|
Sorry for the late response, for some reason I didn\'t get an email notification for your message to this forum. You should drop a line to David Papa for the first problem, as he handles the interface between Capo and OA Gear. For the second problem, we no longer build/test on OA-2.2.0. However, we will try to verify the bug here. Please note that we found here an intermittent (i.e. non-deterministic) problem in OA-2.2.0 that may be related to what you\'re seeing. Please try building the examples again; if it eventually succeeds, then this is the issue. Of course, a real fix would be to upgrade to a non-buggy version of OA-2.2. OA-2.2.1 did not seem to exhibit the behavior that we noted with OA-2.2.0. There are other issues with OA-2.2.0 which make its use not recommended. |
| By: udayse ( Uday Anumalachetty ) 2005-Feb-03 20:36 |
|
Have anyone been able to build Bazaar. I have been trying and I have an error coming from main.cpp I also specified configure --with-qt= to point to a 3.3 build but the make file wont pick it up from there.. it defaults to the local 2.1 install. Can anyone help? g++ -c -pipe -Wall -W -Wno-non-virtual-dtor -Wno-ctor-dtor-privacy -O2 -march=i3 86 -mcpu=i686 -g -DGLX_GLXEXT_LEGACY -fno-use-cxa-atexit -fno-exceptions -DQT_N O_DEBUG -I/usr/lib/qt-3.1/mkspecs/default -I. -I/home/uday/OA2.2/include/oa -I/h ome/uday/OA2.2/include/oaUtil -I../CapoWrapper -I/home/uday/OAGear/UMpack-42-050 125 -ISchemCellView/QoaSchemCellPage -I/usr/lib/qt-3.1/include -I/usr/X11R6/incl ude -I/usr/X11R6/include -o main.o main.cpp In file included from /home/uday/OA2.2/include/oa/oaBase.h:64, from /home/uday/OA2.2/include/oa/oaDesignDB.h:34, from LayoutView/LayoutViewWnd.h:50, from mainwindow.h:37, from main.cpp:36: /home/uday/OA2.2/include/oa/oaObject.h: In destructor `OpenAccess_4::oaObject::~oaObject()\': /home/uday/OA2.2/include/oa/oaObject.h:80: exception handling disabled, use -fexceptions to enable In file included from /home/uday/OA2.2/include/oa/oaDesignDB.h:104, from LayoutView/LayoutViewWnd.h:50, from mainwindow.h:37, from main.cpp:36: /home/uday/OA2.2/include/oa/oaHierPath.h: In member function `void OpenAccess_4::oaHierPath::setSize(unsigned int)\': /home/uday/OA2.2/include/oa/oaHierPath.h:190: warning: comparison of unsigned expression >= 0 is always true main.cpp: In function `int main(int, char**)\': main.cpp:84: `excp\' undeclared (first use this function) main.cpp:84: (Each undeclared identifier is reported only once for each function it appears in.) make[1]: *** [main.o] Error 1 make[1]: Leaving directory `/home/uday/OAGear/OAGear-0.10/Bazaar\' make: *** [bazaar] Error 2 |
| By: pchong ( Philip Chong ) 2005-Feb-05 21:00 |
|
This seems to be a problem with the --with-qt configure option. I\'ll see if this can be fixed, but for now, I suggest not using this option and instead set the QTDIR environment variable to the QT 3.3 directory before running configure. If you set this variable correctly you will not have to use the --with-qt option. I suggest trying this from a completely clean set of sources (i.e. unpack the tarball again into an empty directory), as the mixing of QT 2.1 and 3.3 may have negatively changed some files. |
| By: udayse ( Uday Anumalachetty ) 2005-Feb-06 13:53 |
|
Hi, Thank you for your response. I was able to set the QTDIR variable and get further than last time. I had one question. Is open GL a required package for Bazaar? Thanks Uday |
| By: pchong ( Philip Chong ) 2005-Feb-07 13:24 |
| Yes, OpenGL is required. Sorry if this wasn\'t explictly stated. However, I don\'t believe hardware acceleration is actually required; you should be able to use software rendering even if your hardware does not support it. This hasn\'t really been tested, though. |
| By: None ( 0 ) 2004-Dec-15 18:24 |
| Welcome to Open Discussion |