CSc 4250/6250 E-mail log
From Nisar Hundewale, Tue, 14 Sep 2004
Now with the new configuration on yamacraw, getting X windows displayed on
MS Windows XP (or similar) is just a 2 step process.
1. Start SSH client on Windows XP, before connecting to yamacraw, click on
"Edit" menu then on "Settings". Under "Profile Settings" is "Connection"
group within which click on "Tunneling". Tick mark the box next to "Tunnel
X11 Connection". Click on "OK" button. Now you are ready to connect to
yamacraw and get all X11 forwarding from yamacraw thru the tunnel and
display on XP using X manager by performing the next step. SSH program
will prompt you to save the settings. Click on "Yes".
2. Start X Manager on your Windows XP. Do not connect to yamacraw thru X
Manager. Go back to SSH window and type any x commands such as xclock you
should see a Xwindow with a clock in it displayed by XManager. Although,
XManager is not used to connect to yamacraw but all the X11 forwardings
from the tunnel thru SSH will be rendered by XManager. You can simply type
magic at the command line and you should see the CAD editor displayed. I
have successfully tested all of the above including magic just few minutes
ago. Also, you can run matlab from the command line and get the XWindows
GUI displayed on your PC.
I am using DSL connection without any real IP address assigned to my home
network.
From: Nisar Hundewale
Date: Tue, 21 Sep 2004
Xmanger is avaialble to evaluate for a month from netsarang.com
permanent solution is to install Xfree86 and Cygwin available at
www.cygwin.com
www.xfree86.org
These tools can be installed in XP.
> I also get the "Error opening flock_list/link." message, though the
> software seems to work well anyway. What's going on with this? I didn't
> get this error message with the old version of magic.
>
> -MCW
From: Nisar Hundewale
Date: Tue, 21 Sep 2004
This problem was addressed at
http://vlsi.cornell.edu/magic/archive/2002/0207.html
[From R. Timothy Edwards:]
"The "flock_list" directory is a result of selecting the "file locking"
option when doing the "make config" stage at the beginning of the compile
and install process. If it's producing an error, it's because that
particular version of the file locking is broken, although the only
effect you should notice is the error message."
[See the above mentioned webpage for this quote.]
From: Nisar Hundewale
Date: Wed Sep 29 22:39:15 2004
We have installed Magic on all the Redhat Workstations except
cs400dell104, 105, 107, 125 (the older black dell machines at the wall
next to the white board) in CS400.
When you login to the workstation DO NOT SSH to yamacraw.
Rather at the command prompt of the local workstation
do the following:
bash-2.05b$ export CAD_HOME=/opt/cad/magic-7.1
bash-2.05b$ export PATH=$PATH:/opt/cad/magic-7.1/bin
bash-2.05b$ magic
Eventually you will not need to set the above environments, we are trying
to have the same environment settings on the workstations as well as on
yamacraw. In couple of days, we will be able to synchronize the settings
then all that the students need to do is login to the workstation as
usual and open a shell window (right click on desktop and select "New
Terminal")
at the command prompt type magic that's all.
bash-2.05b$ magic
I have tested it myself. Magic works fine on the Redhat workstations (on
the all 6 rows, not those near the wall).
Since students will be running Magic locally on the workstation without
logging in to yamacraw server, we hope that all the students should be
able to work on individual workstations and the server will not be
burdened with the several processes of Magic.
We plan to install Matlab also on the workstations in next few weeks.
I had one of your students asking for skiff(cross compiler) that is
available on the 4 older black dell machines next to the white board, next
to the wall. Skiff is installed in the /skiff directory at the root on
those 4 Redhat machines.
Once we have the machines labeled with host names it will be easier to
refer to them by names.
PS: Please ask students NOT to run Magic from yamacraw while they are in
the CS400 Lab instead they should use the local installation of magic on
the workstations.
> Professor you mentioned recently that you had left out 3 things from our
> homework assignment. One was the nwell to Metal1 Vdd contact, which we
> understand, the other two I believe were to connect Vdd and GND to the
> outside world. How should we do the last two, what type of contact
> (command) should we use in Magic?
>
The things that I left out of the assignment (but that I want you all to
include) are:
1. nwell
2. contact between nwell to Vdd! (:paint nwc)
3. contact between psubstrate and GND! (:paint pwc)
-MCW
> I was going through and labeling my digrams and I realized that I wasn't
> sure what you wanted labeled. So far I am labeling the Vdd, ground, inputs,
> output, p/n - wells, and p/n-types. I think that covers it. Is there
> anything else?
>
> I also have a large section of one of the diagrams that I would like to move
> down. When I tried the move command all I got was the box to move but none
> of the drawling moved. What am I doing wrong?
>
> How do I convert to a drawling to a cell? I want to test to make sure
> things line up.
>
You do not have to label nwells, pdiff, and ndiff. You should label
poly, but only as an input.
For the move, you may have to select more of the layers.
You do not have to convert a drawing to a cell. Once you have a drawing
saved, you can add it to your current drawing as a cell.
-MCW
Date: Tue, 12 Oct 2004 18:34:55 -0400 (EDT)
Subject: yamacraw student accounts reset
From: "Nisar Hundewale"
Dear faculty,
All student account passwords on yamacraw.cs.gsu.edu have been reset to
the last 4 digits of their student ID. The usernames remain the same.
Student directories are untouched. Only the passwords have been changed.
We have migrated to a different LDAP server on yamacraw, we hope it to
resolve the problems that we had with the previous LDAP server.
Anytime we reboot yamacraw server or the network cable was unplugged from
the the Redhat workstations then the workstations will loose the student
directories mounts. Rebooting the workstation will automatically mount the
home directories on the workstations. You can let the students know about
properly rebooting the workstation in case home directory was not mounted
after login to the workstations.
Please inform them in the class. I will also send them emails.
I will have to migrate the faculty acounts as well which I am planning to
do by tomorrow.
Nisar Hundewale
From: Nisar Hundewale
Subject: Re: spice on yamacraw
Date: Tue, 26 Oct 2004 19:23:53 -0400 (EDT)
I have just installed spice3 on yamacraw at /opt/sfw/spice3f5
students will need to include these lines in their .bash_profile
export SPICE_LIB_DIR=/opt/sfw/spice3f5/lib
export PATH=$PATH:/opt/sfw/spice3f5/bin
all the spice binaries are in the above directory.
there is an example directory within the installation dir that contains
some .cir files.
We will install spice on workstations as well. until then stdents need to
ssh to yamacraw after they login to workstations in cs400 lab and run any
of the binaries of spice.
Once we install spice on the workstations then they will run the local
copy of spice therefore they should not SSH to yamacraw to run spice.
From: Anwar Abd Elal
Date: Thu, 28 Oct 2004 17:11:22 -0400
Good afternoon,
The following is a link to the software we discussed in class on Tuesday.
Digital Works
It was designed for win 95 but I installed it on XP and it worked just fine.
Date: Wed, 10 Nov 2004 10:30:24 -0800 (PST)
From: "Sh. Babvey"
Subject: spice
Dear Prof. Weeks,
I checked the spice software.
1. add the following lines to .bash_profile:
export SPICE_LIB_DIR=/opt/sfw/spice3f5/lib
export PATH=$PATH:/opt/sfw/spice3f5/bin
2. type spice3 to start spice.
3. use Dr. Weeks instructions to create a .cir file from .mag file
4. "source filename.cir" loads filename into spice
5. "run" runs the simulation
6. "plot x vs y " , plots x vs y
The following link is a good reference:
Case Western Reserve University's EECS VLSI CAD group
From: Michael Weeks
Subject: Re: CSC 4250 Homework 4
Date: Thu, 11 Nov 2004 12:31:17 -0500
[There is a problem with submitting homework 4.]
Go ahead and e-mail your homework files to the TA
(Sharareh Babvey).
Instead of creating a log file, you can
print out a copy of the email.
From: Anwar Abd Elal
Subject: Spice on workstations
Date: Wed, 17 Nov 2004 08:48:08 -0500
The instructions to install Spice on the room 400 workstations, as in the e-mail log:
export SPICE_LIB_DIR=/opt/sfw/spice3f5/lib
export PATH=$PATH:/opt/sfw/spice3f5/bin
are for running spice from the server. Spice is installed on each workstation, or at least on the one I use, C400_112, under the folder:
/opt/sfw/spice3f5sfix/
Also, there is no bin folder under this folder. The only bin folder is inside the obj folder.
So I believe the lines to add to the profile should be:
export SPICE_LIB_DIR=/opt/sfw/spice3f5sfix/lib
export PATH=$PATH:/opt/sfw/spice3f5sfix/obj/bin
I did that and was able to run Spice from the workstation.
Also there is a version of Spice for windows at:
http://www.ousetech.co.uk/winspice2/.
I found this link in the book author's website.
Thanks
Anwar
On Thu, 2004-11-18 at 12:37, Krystil R. Hogan wrote:
Hi Sharareh,
I am unable to convert the .ext file to a spice file using the command
(/usr/local/cad-try/bin/ext2spice -f spice3 inverter) that Dr.Weeks has
posted on his homework 5 instructions page? When I tpye the above command
in I get an error message saying "No such file or directory". I have
followed all the steps 1-3 that Dr.Weeks has posted for this assignment.
However, when I get to step 3 I can not go any further due to the error
message. Can you please tell me what I need to do?
Thank You,
Krystil Hogan
[I think that's supposed to be :
/opt/sfw/cad-try/bin/ext2spice -f spice3 inverter
Thanks for pointing this out, Krystil.
-MCW]
From: "Elal Anwar Abd"
Date: Fri Dec 3 00:59:33 EST 2004
Attached is a log file showing how I used psice3 on the Linux machines to
plot the inverter
Script started on Thu 02 Dec 2004 08:10:32 PM EST
bash-2.05b$ ls -la
total 15
drwxr-xr-x 2 eabd games 512 Dec 2 2004 .
drwx------ 35 eabd games 1536 Dec 2 18:43 ..
-rw-r--r-- 1 eabd games 1145 Dec 2 19:01 inv.cir
-rw-r--r-- 1 eabd games 636 Dec 2 18:47 inv.ext
-rw-r--r-- 1 eabd games 900 Nov 30 18:30 inv.mag
-rw-r--r-- 1 eabd games 314 Dec 2 18:48 inv.spice
-rw-r--r-- 1 eabd games 1207 Dec 2 19:14 or.cir
-rw-r--r-- 1 eabd games 1297 Dec 2 19:11 or.ext
-rw-r--r-- 1 eabd games 1800 Dec 2 19:11 or.mag
-rw-r--r-- 1 eabd games 696 Dec 2 19:12 or.spice
-rw-r--r-- 1 eabd games 0 Dec 2 2004 using_spice.log
bash-2.05b$ spice3
Program: Spice, version: 3f5
Date built: Tue Nov 9 23:47:17 EST 2004
Type "help" for more information, "quit" to leave.
Spice 1 -> source inv.cir
Circuit: inverter test
Spice 2 -> run
Warning: vin: no DC value, transient time 0 value used
Spice 3 -> plot v(input) v(output)
Spice 4 -> plot v(input), v(output)
Spice 5 -> plot
which variable: output
Spice 6 -> plot
which variable: input
Spice 7 -> quit
Warning: the following plots haven't been saved:
tran1 inverter test, Transient Analysis
dc1 inverter test, DC transfer characteristic
Are you sure you want to quit (yes)? y
Spice-3f5 done
bash-2.05b$ exit
exit
Script done on Thu 02 Dec 2004 08:13:28 PM EST
From: Nisar Hundewale
Date: Thu, 2 Dec 2004 19:33:06 -0500 (EST)
When you are in CS400 you need to just run the spice3 with the following
environmental settings:
export PATH=$PATH:/usr/local/spice/bin
export SPICE_LIB_DIR=/usr/local/spice/lib
To run spice from outside Cs400 using SSH:
please check the /.bash_profile which is sitting at the root of the file
system on yamacrtaw. It has the environmental settings that you need to
include in your .bash_profile or just copy the above file to your home.
Logout and login back, run spice.
I posted a log file showing my Spice simulation of an inverter.
See my spice log.
You should be able to complete homework #5 now.
From: "Sharareh Babvey"
Date: Thu, 09 Dec 2004 17:51:47 -0500
The submission for hmwk5 and the project are like the first homework. Just replace hmwk1 with 'hmwk5' for the homework. Replace hmwk1 with 'project' for the final project.
script hmwk5.log
$HOME/../csc4250TA/submit filename.mag hmwk5/Your_Account
exit
script project.log
$HOME/../csc4250TA/submit filename.mag project/Your_Account
exit
Sharareh
Michael Yaeger was nice enough to send in his
log file for a 2 input AND gate,
simulated in spice. Also, he sent an
image of the output.
From Timetra
Can you explain the 4 bit booth multiplier?
A Booth multiplier works a lot like the multiplication algorithm we all learned as children, except it is for binary. Since it is binary, 1 operand is either written or 0's are written, according to the bit of the other operand.
i.e.
answer = operand0 x operand1.bit0
+ operand0.shift1 x operand1.bit1
+ operand0.shift2 x operand1.bit2
+ operand0.shift3 x operand1.bit3
Here's an example:
0110 x 1010
(6 x 10)
the answer is:
+ ___0110 x 0
+ __0110 x 1
+ _0110 x 0
+ 0110 x 1
-----------------
or
+ ___0000
+ __0110
+ _0000
+ 0110
------------
= 0111100
(60 in decimal)