Forum Replies Created
-
AuthorPosts
-
JamesKeefer
ParticipantI downloaded the Ubuntu 32bit version, and made this file:
export GLADE_HOME=/…../glade4_linux32_ub10
export PATH=$GLADE_HOME/bin:$PATH
export LD_LIBRARY_PATH=$GLADE_HOME/lib:$LD_LIBRARY_PATH
export PYTHONHOME=/usr/bin/python3
export PYTHONPATH=$GLADE_HOME/bin:$PYTHONHOME
alias python='python3'when I source this setup file, then try running glade, I get:
ImportError: No module named site
My system has both python 3.2.1rc1 and 2.6.7 installed.
Suggestions?
Thanks,
JimJamesKeefer
ParticipantI've imported a Cadence techfile, and exported techfile, and it seems okay, except that all gds_num and gds_dtyp numbers in the exported glade techfile are zero.
It could be my Cadence techfile inputs that are the problem; do you have example Cadence techfiles (display.drf and tech) that you are free to send? I can compare the syntax if your inputs work okay.
I'm attaching the glade log, you can see it reading in okay, and then I've attached the glade tech file output, which has all zero gds layer & datatype.
BTW I'm using 4.1.17 linux64.
Thanks,
JimP.S. Attachments don't seem to work, sorry.; I get this message:
Sorry, we were unable to upload your attachments in this topic because
the filetype of the file gds_num_0_glade_log is not permitted to
be uploaded. The topic/post was however entered properly. …JamesKeefer
ParticipantFor the linux64 version, when I download from the webpage today that says version 4.1.17, the installed code says:
Glade release version 4.1.16 compiled on Aug 2 2010 17:23:05Is this 4.1.16 or 4.1.17? Do I have the latest?
Thanks,
JimJamesKeefer
ParticipantI tried
obj = objs.first()
but I get:
>>> ui().execPythonFile("selectAllInstsOnSelectedNet.glade.py")
ui().execPythonFile("selectAllInstsOnSelectedNet.glade.py")
>>> Traceback (most recent call last):
File "<string>", line 1, in <module>
File "selectAllInstsOnSelectedNet.glade.py", line 20, in <module>
selInsts()
File "selectAllInstsOnSelectedNet.glade.py", line 11, in selInsts
obj = objs.first()
AttributeError: 'list' object has no attribute 'first'
>>> >>>so that's why I switched to obj = objs[0]
JamesKeefer
ParticipantThanks for the quick update to the code to support this.
I got the function to work with two changes on this one line:
obj = obj.first()
I changed to:
obj = objs[0]
I'm a python newbie. Once I've loaded this function, how do I call it? I've only been able to call it from inside the script file where I define it.
Thanks again,
JimJamesKeefer
ParticipantHaving loaded in a DEF containing a netlist, and it's library LEFs, can I highlight or select a net and all it's instances? I find how to select/highlight a net in the GUI, but selecting instances on that net takes following the logical connectivity. Is there a python way to do that? An example script would be nice.
Thanks,
JimJamesKeefer
ParticipantFair enough. So best to have consistency one way or the other for all input files.
Thanks.
JamesKeefer
ParticipantIf I read:
LEF w/ busbitchars"[]" with a cell using a bus (e.g. A[1]..A[2])
then
LEF w/ busbitcars "<>" (even extraneous, unused LEF)
then
DEF w/ busbitchars "[]" and a netlist pointing to the first LEF's A[1] bus, I get# ERROR: Can't find pin A<2> in master AND2_X2 (inst xxx) for net xxx
But it works without error if the LEF with the "<>" busbitchars is removed.
It seems like maybe it is ignoring the DEF busbitchars definition?
I can send a NangateOpenCellLibrary based test case if needed.
Thanks,
JimJamesKeefer
ParticipantGot it working. I was not loading in the proper tech LEF which defined the VIAS.
–JimJamesKeefer
ParticipantI'm getting the following error when reading in my DEF:
…
# INFO: Reading 489 SPECIALNETS
# ERROR: Can't find second conductor layer for via: VIA6_0_HV_F0_1440_520_ALL_2_1My DEF has:
VERSION 5.5 ;
VIAS XXX ;
– VIA6_0_HV_F0_1440_520_ALL_2_1 + PATTERNNAME VIA6_0_HV_F0-1440-520-3
+ RECT M6 ( -720 -200 ) ( 720 200 )
+ RECT VIA6 ( -640 -180 ) ( -280 180 )
+ RECT VIA6 ( 280 -180 ) ( 640 180 )
+ RECT M7 ( -660 -260 ) ( 660 260 ) ;
END VIASSPECIALNETS XXX ;
– my_special_net
+ FIXED M7 0 ( 112365 3365670 ) VIA6_0_HV_F0_1440_520_ALL_2_1
END SPECIALNETSCan you point me to what I'm missing go get it to read this special net section?
Thanks,
JimAugust 13, 2009 at 4:07 pm in reply to: AttributeError: 'module' object has no attribute 'delete_port' #681JamesKeefer
ParticipantThat fixed it; thanks!
August 12, 2009 at 3:24 pm in reply to: AttributeError: 'module' object has no attribute 'delete_port' #679JamesKeefer
ParticipantI'll try attaching again.
If I start up glade and type into the glade GUI command line, I get the same problem.
Can't get it to properly accept any attachments, so I'll past them in.
Thanks for your quick reply.
–Jim
[hr]glade -script …
[hr]# Glade release version 4.0.43 compiled on Aug 10 2009 14:02:46
# Qt version 4.5.0 on 64 bit platform (little endian)
# Compiled with gcc version 3.4
# Username: jkeefer Hostname: lngl0111
# Current time: Wed Aug 12 09:23:06 2009
# Operating system: Linux lngl0111 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:56:44 EST 2007 x86_64 x86_64 x86_64 GNU/Linux
# Number of CPUs: 2
# Python version 2.5.2 (r252:60911, Mar 27 2008, 17:50:13)
[GCC 3.3.4 (pre 3.3.5 20040809)] for linux2
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "../pinnacle_mult/load_def.py", line 1, in <module>
from ui import *
File "/sw/freeware/glade/4.0.43/glade4_linux64/bin/ui.py", line 1146, in <module>
class port(_object):
File "/sw/freeware/glade/4.0.43/glade4_linux64/bin/ui.py", line 1156, in port
__swig_destroy__ = _ui.delete_port
AttributeError: 'module' object has no attribute 'delete_port'
>>> ui().fileExit(0)
# Normal exit.[hr]from GUI, typing in "from ui import *" in the GUI CLI:
[hr]# Glade release version 4.0.43 compiled on Aug 10 2009 14:02:46
# Qt version 4.5.0 on 64 bit platform (little endian)
# Compiled with gcc version 3.4
# Username: jkeefer Hostname: lngl0111
# Current time: Wed Aug 12 09:19:59 2009
# Operating system: Linux lngl0111 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:56:44 EST 2007 x86_64 x86_64 x86_64 GNU/Linux
# Number of CPUs: 2
# Python version 2.5.2 (r252:60911, Mar 27 2008, 17:50:13)
[GCC 3.3.4 (pre 3.3.5 20040809)] for linux2
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/sw/freeware/glade/4.0.43/glade4_linux64/bin/ui.py", line 1146, in <module>
class port(_object):
File "/sw/freeware/glade/4.0.43/glade4_linux64/bin/ui.py", line 1156, in port
__swig_destroy__ = _ui.delete_port
AttributeError: 'module' object has no attribute 'delete_port'
ui().fileExit(0)
# Normal exit.[hr]
August 11, 2009 at 9:30 pm in reply to: AttributeError: 'module' object has no attribute 'delete_port' #677JamesKeefer
ParticipantWhen I try to use:
glade -script my_script.py
where my_script.py contains only:
from ui import *
I get errors; this has been in versions 4.0.43 and 4.0.42
I've attached my glade.log
JamesKeefer
ParticipantI created a path with the "Create Path" command, giving it a net name of an internal net in the design (internal meaning not an IO) and the rectangle is created, but I don't see this showing up in the DEF when I run export DEF.
Any suggestions?
JamesKeefer
ParticipantI'm running glade under LSF and get a Qt error message:
% bsub -Ip -R x64 glade
Job <237539> is submitted to default queue <long>.
<<Waiting for dispatch …>>
<<Starting on xxx>>
'import site' failed; use -v for traceback
_IceTransSocketUNIXConnect: Cannot connect to non-local host xxx
Qt: Session management error: Could not open network socketthe machine from which the job submitted is and the job on which it ran have uname:
Linux xxx 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:56:44 EST 2007 x86_64 x86_64 x86_64 GNU/LinuxHow do I clean up the IceTransSocket issue?
the Qt issue?
the import site issue?Thanks for your help.
-
AuthorPosts