-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vlsilayout.py is not able to catch ports/labels from gds file created by glade #9
Comments
Hi,
Which technology are you running? Can you provide more information so that
we can replicate this?
…On Nov 23, 2016 10:44 PM, "Anuj Nagar" ***@***.***> wrote:
Hello mguthaus,
While am running 04_pinv_test.py for tsmc technology, i am getting an
error like
"ERROR: runTest (*main*.pinv_test)
Traceback (most recent call last):
File "/home/anagar/Templates/rcmc/OpenRAM-master/compiler/tests/04_pinv_test.py",
line 24, in runTest
import pinv
File "/home/anagar/Templates/rcmc/OpenRAM-master/compiler/tests/../pinv.py",
line 10, in
class pinv(design.design):
File "/home/anagar/Templates/rcmc/OpenRAM-master/compiler/tests/../pinv.py",
line 16, in pinv
c = reload(*import*(OPTS.config.bitcell))
File "/home/anagar/Templates/rcmc/OpenRAM-master/compiler/tests/../bitcell.py",
line 6, in
class bitcell(design.design):
File "/home/anagar/Templates/rcmc/OpenRAM-master/compiler/tests/../bitcell.py",
line 15, in bitcell
chars = utils.auto_measure_libcell(pins, "cell_6t", GDS["unit"],
layer["boundary"])
File "/home/anagar/Templates/rcmc/OpenRAM-master/compiler/tests/../utils.py",
line 42, in auto_measure_libcell
cell[str(pin)] = gdsPinToOffset(cell_vlsi.readPin(str(pin)))
File "/home/anagar/Templates/rcmc/OpenRAM-master/compiler/
gdsMill/gdsMill/vlsiLayout.py", line 673, in readPin
pin_boundary=[pin_boundary[0]*self.units[0],pin_boundary[1]*
self.units[0],pin_boundary[2]*self.units[0],pin_boundary[3]*self.units[0]]
TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'
------------------------------
Ran 1 test in 0.085s
FAILED (errors=1)"
Can you please have a look on it, what i am missing here.
Thanks,
Anuj Nagar
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/mguthaus/OpenRAM/issues/9>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AL35L28z4X7P825784Qq8lO9MYk5Dhunks5rBTJbgaJpZM4K7U5p>
.
|
Also,
Please make sure you are using the most recent version. Can you send us the
output is git log?
…On Nov 23, 2016 10:44 PM, "Anuj Nagar" ***@***.***> wrote:
Hello mguthaus,
While am running 04_pinv_test.py for tsmc technology, i am getting an
error like
"ERROR: runTest (*main*.pinv_test)
Traceback (most recent call last):
File "/home/anagar/Templates/rcmc/OpenRAM-master/compiler/tests/04_pinv_test.py",
line 24, in runTest
import pinv
File "/home/anagar/Templates/rcmc/OpenRAM-master/compiler/tests/../pinv.py",
line 10, in
class pinv(design.design):
File "/home/anagar/Templates/rcmc/OpenRAM-master/compiler/tests/../pinv.py",
line 16, in pinv
c = reload(*import*(OPTS.config.bitcell))
File "/home/anagar/Templates/rcmc/OpenRAM-master/compiler/tests/../bitcell.py",
line 6, in
class bitcell(design.design):
File "/home/anagar/Templates/rcmc/OpenRAM-master/compiler/tests/../bitcell.py",
line 15, in bitcell
chars = utils.auto_measure_libcell(pins, "cell_6t", GDS["unit"],
layer["boundary"])
File "/home/anagar/Templates/rcmc/OpenRAM-master/compiler/tests/../utils.py",
line 42, in auto_measure_libcell
cell[str(pin)] = gdsPinToOffset(cell_vlsi.readPin(str(pin)))
File "/home/anagar/Templates/rcmc/OpenRAM-master/compiler/
gdsMill/gdsMill/vlsiLayout.py", line 673, in readPin
pin_boundary=[pin_boundary[0]*self.units[0],pin_boundary[1]*
self.units[0],pin_boundary[2]*self.units[0],pin_boundary[3]*self.units[0]]
TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'
------------------------------
Ran 1 test in 0.085s
FAILED (errors=1)"
Can you please have a look on it, what i am missing here.
Thanks,
Anuj Nagar
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/mguthaus/OpenRAM/issues/9>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AL35L28z4X7P825784Qq8lO9MYk5Dhunks5rBTJbgaJpZM4K7U5p>
.
|
TSMC technology i am using. I was running the test case for 04_pinv_test.py. It was asking for bitcell gds file thn i copied gds file to gds_lib dir and again i ran it. After that it gave me the above error. |
Hi Anuj,
The 04_pinv_test.py requires a bitcell to be defined and passing in order
to match the bitcell height. You should get the tests passing in order by
starting with test 00, 01, etc. Does test 01 pass? Though, this doesn't
attempt to measure read the pins of the bitcell, so you may not see the
error with that cell until test 04.
The bitcell likely doesn't pass if you did not create the correct labels
for all pins. The pin names are defined in the technology file. I agree
that this error message is cryptic and we will add a better one.
Matt
…On Sun, Nov 27, 2016 at 11:24 PM, Anuj Nagar ***@***.***> wrote:
TSMC technology i am using.
Where i can get this git log output?
I was running the test case for 04_pinv_test.py. It was asking for bitcell
gds file thn i copied gds file to gds_lib dir and again i ran it. After
that it gave me the above error.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/mguthaus/OpenRAM/issues/9#issuecomment-263200489>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AL35L1mdAbmjVwpq0BV63lVvynyzTKCXks5rCoGngaJpZM4K7U5p>
.
--
Matthew Guthaus
Associate Professor, Computer Engineering
CE Undergraduate Program Director
University of California Santa Cruz
http://www.soe.ucsc.edu/~mrg
http://vlsida.soe.ucsc.edu/
|
Does port name should match with freepdk45 bitcell ? |
There are example names provided in the freepdk45 bitcell. You can change
the names in the technology file. There may be places that these are
hard-coded so it is best to follow the same names. However, we would like
to ensure they aren't hard coded in the future.
We need to ensure that we can make an inverter that matches the pitch of
the bitcell. If not, this test should fail because we won't be able to make
an SRAM.
…On Mon, Nov 28, 2016 at 8:59 AM, Anuj Nagar ***@***.***> wrote:
Does port name should match with freepdk45 bitcell ?
Anyhow if here we are using bit cell for height only thn port matching
doesn't make sense.
Okay i will check it again and i will let you know.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/mguthaus/OpenRAM/issues/9#issuecomment-263327608>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AL35L1KeYO9PgGDF9NKXWQhuxG9hODOxks5rCwhxgaJpZM4K7U5p>
.
--
Matthew Guthaus
Associate Professor, Computer Engineering
CE Undergraduate Program Director
University of California Santa Cruz
http://www.soe.ucsc.edu/~mrg
http://vlsida.soe.ucsc.edu/
|
one more thing, how can i check the code version. |
If you cloned from github, you should use git by typing:
git log
and see the most recent commit hash. Right now, the master (released copy)
is at:
commit d195df6
…On Mon, Nov 28, 2016 at 9:02 AM, Anuj Nagar ***@***.***> wrote:
one more thing, how can i check the code version.
I mean how can i check which version i am using.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/mguthaus/OpenRAM/issues/9#issuecomment-263328508>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AL35L9EA8aRDIICIWQaTLd67Kw5wZyynks5rCwkggaJpZM4K7U5p>
.
--
Matthew Guthaus
Associate Professor, Computer Engineering
CE Undergraduate Program Director
University of California Santa Cruz
http://www.soe.ucsc.edu/~mrg
http://vlsida.soe.ucsc.edu/
|
Hello Matt, Is there any way to generate spuce and verilog only. |
Sorry:
commit 2d0533a
I was on a different branch.
On Mon, Nov 28, 2016 at 9:04 AM, Matt Guthaus <notifications@github.com>
wrote:
… If you cloned from github, you should use git by typing:
git log
and see the most recent commit hash. Right now, the master (released copy)
is at:
commit d195df6
On Mon, Nov 28, 2016 at 9:02 AM, Anuj Nagar ***@***.***>
wrote:
> one more thing, how can i check the code version.
> I mean how can i check which version i am using.
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <https://github.com/mguthaus/OpenRAM/issues/9#issuecomment-263328508>,
or mute
> the thread
> <https://github.com/notifications/unsubscribe-auth/
AL35L9EA8aRDIICIWQaTLd67Kw5wZyynks5rCwkggaJpZM4K7U5p>
> .
>
--
Matthew Guthaus
Associate Professor, Computer Engineering
CE Undergraduate Program Director
University of California Santa Cruz
http://www.soe.ucsc.edu/~mrg
http://vlsida.soe.ucsc.edu/
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/mguthaus/OpenRAM/issues/9#issuecomment-263329222>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AL35L8sO4oJG3lsh4CR2yC9b_GvP1Djtks5rCwm5gaJpZM4K7U5p>
.
--
Matthew Guthaus
Associate Professor, Computer Engineering
CE Undergraduate Program Director
University of California Santa Cruz
http://www.soe.ucsc.edu/~mrg
http://vlsida.soe.ucsc.edu/
|
Hi Anuj,
That is not currently an option, but we could add it as a feature request.
…On Mon, Nov 28, 2016 at 9:06 AM, Anuj Nagar ***@***.***> wrote:
Hello Matt,
Is there any way to generate spuce and verilog only.
If we don't have layout of basic leaf cells. Cant we get spice and verilog
for simple circuit verification.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/mguthaus/OpenRAM/issues/9#issuecomment-263329564>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AL35L6aO2lfm91i-2K61LaXbzzbxsW04ks5rCwoAgaJpZM4K7U5p>
.
--
Matthew Guthaus
Associate Professor, Computer Engineering
CE Undergraduate Program Director
University of California Santa Cruz
http://www.soe.ucsc.edu/~mrg
http://vlsida.soe.ucsc.edu/
|
Hello mguthaus,
While am running 04_pinv_test.py for tsmc technology, i am getting an error like
"ERROR: runTest (main.pinv_test)
Traceback (most recent call last):
File "/home/anagar/Templates/rcmc/OpenRAM-master/compiler/tests/04_pinv_test.py", line 24, in runTest
import pinv
File "/home/anagar/Templates/rcmc/OpenRAM-master/compiler/tests/../pinv.py", line 10, in
class pinv(design.design):
File "/home/anagar/Templates/rcmc/OpenRAM-master/compiler/tests/../pinv.py", line 16, in pinv
c = reload(import(OPTS.config.bitcell))
File "/home/anagar/Templates/rcmc/OpenRAM-master/compiler/tests/../bitcell.py", line 6, in
class bitcell(design.design):
File "/home/anagar/Templates/rcmc/OpenRAM-master/compiler/tests/../bitcell.py", line 15, in bitcell
chars = utils.auto_measure_libcell(pins, "cell_6t", GDS["unit"], layer["boundary"])
File "/home/anagar/Templates/rcmc/OpenRAM-master/compiler/tests/../utils.py", line 42, in auto_measure_libcell
cell[str(pin)] = gdsPinToOffset(cell_vlsi.readPin(str(pin)))
File "/home/anagar/Templates/rcmc/OpenRAM-master/compiler/gdsMill/gdsMill/vlsiLayout.py", line 673, in readPin
pin_boundary=[pin_boundary[0]*self.units[0],pin_boundary[1]*self.units[0],pin_boundary[2]*self.units[0],pin_boundary[3]*self.units[0]]
TypeError: unsupported operand type(s) for *: 'NoneType' and 'float'
Ran 1 test in 0.085s
FAILED (errors=1)"
Can you please have a look on it, what i am missing here.
Thanks,
Anuj Nagar
The text was updated successfully, but these errors were encountered: