Re: [Fwd: [SI-LIST] : Urgent help needed on HSPICE simulation]

About this list Date view Thread view Subject view Author view

From: Mike Ventham ([email protected])
Date: Wed Aug 02 2000 - 00:20:34 PDT


There are two utilities available on the SUN which will do the ^M
removal/addition for you.
dos2unix will remove the ^Ms
unix2dos will add them ready for transfer to a PC.

The usage is :-
dos2unix originalfile convertedfile
If the convertedfile is the same file name as originalfile you will clean up
the original file.

If you use FTP to transfer files between the PC and SUN, using ASCII mode
for the transfer will also do the ^M cleanup.

I trust this helps.

> Perry Qu wrote:
>
> Hi!
>
> I think Hassan's reply to my question this morning will be helpful for
> you guys, especially those working with both PC Windows platform and
> Unix workstation and do "cut & paste" on text file from PC to UNIX. Be
> aware of the strange characters invisible in SUN's standard desktop
> editor, which can be seen using UNix's textedit. It is exactly those ^M
> that cause problems in my simulation.
>
> Regards
>
> Perry
>
> -----------------------------------------------------------------------
>
> Subject: RE: [SI-LIST] : Urgent help needed on HSPICE simulation
> Date: Tue, 1 Aug 2000 08:53:47 -0500
> From: "Hassan Ali" <[email protected]>
> To: Perry Qu <[email protected]>
>
> Perry,
>
> You possibly have a corrupt file. This may happen if the file was initially
> created on a UNIX machine and now you're working on it on a Windows PC or vice
> versa. If you're now working on it on a UNIX machine you have to find a way to
> remove the carriage returns which may appear as ^M characters if you edit the
> file using a vi editor. In vi, use the following command to remove the ^M
> characters:
>
> :%s/Ctrl-V Enter//g
>
> where "Ctrl-V Enter" means press the Ctrl key and then letter V and then the
> Enter key.
>
> Good luck.
>
> Hassan.
>
> -----Original Message-----
> From: Perry Qu [mailto:[email protected]]
> Sent: Tuesday, August 01, 2000 9:25 AM
> To: [email protected]
> Subject: Re: [SI-LIST] : Urgent help needed on HSPICE simulation
>
> Good morning, everyone:
>
> Thank you for your help on my previous question posted on the SI list. I tried
> out
> the SPICE simulation that you guys suggested and I have the following
> problems:
>
> 1. For a simple differential driver -> differential pair TL -> differential
> receiver
> kind of setup, I got the following error message when I run HSPICE:
>
> **error** no definition for 0:
>
> it was called by 0:v_inputp
>
> **error** no definition for 0:
>
> it was called by 0:v_inputn
>
> My SPICE file looks like:
>
> #######################
> .options acct nomod post=1
>
> v_inputP nd_inP 0 pulse (0V 1V 10ns 150ps 150ps 653.5ps 1.607ns)
>
> v_inputN nd_inN 0 pulse (1V 0V 10ns 150ps 150ps 653.5ps 1.607ns)
>
> * 50 ohm transmission line on high speed output
> t0 (nd_outP 0 in_P 0) z0=50.0 td=500e-12
> t1 (nd_outN 0 in_N 0) z0=50.0 td=500e-12
>
> b_out_P nd_puP nd_pdP nd_outP nd_inP
> + file = 'transmit.ibs'
> + model = 'LVDSout'
> + typ = typ
> + power = on
> + buffer = output
>
> b_out_N nd_puN nd_pdN nd_outN nd_inN
> + file = 'transmit.ibs'
> + model = 'LVDSout'
> + typ = typ
> + power = on
> + buffer = output
>
> b_in_P nd_pc_P nd_gc_P in_P nd_out_of_P
> + file = 'recieve.ibs'
> + model = 'LVDSin'
> + typ = typ
> + power = on
> + buffer = input
>
> b_in_N nd_pc_N nd_gc_N in_N nd_out_of_N
> + file = 'recieve.ibs'
> + model = 'LVDSin'
> + typ = typ
> + power = on
> + buffer = input
>
> * 100 ohm differential terminator for high speed output
> r0 (in_P in_N) r=100.0 m=1.0
>
> .tran 10p 36n
> .temp 60
>
> .end
> ######################
>
> 2. In another case, I used a driver with SPICE model to drive a LVDS
> differential
> receiver with IBIS model. The voltage swing I got at the receiver pin much
> larger
> than the LVDS specifications. Do you have any idea what could be wrong ?
>
> Thank you very much for your help.
>
> Best Regards
>
> Perry
>
> SI Specialist
> Alcatel CID
> Kanata, ON, Canada
> Tel: (613) 7846720
>
> Perry Qu wrote:
>
> > Dear SI Experts:
> >
> > I need some urgent help from you on the HSPICE simulation of differential
> pair.
> > Since I know very little about HSPICE, I would like to ask you the following
>
> > questions:
> >
> > 1. Can I do mixed simulation with HSPICE by using both SPICE models and
> IBIS
> > models for my driver/reciever pair ?
> > 2. How can I do the differential signal simulation in HSPICE for a simple
>
> > topology, saying a differential driver drive a differential receiver
> through a
> > 100 ohm differential pair transmission line ? If anyone can give me a simple
> .sp
> > example, that will be great.
> >
> > Thank you very much for your help.
> >
> > Perry
> >
> > ------------------------------------------------------------------------
> > Name: perry.qu.vcf
> > perry.qu.vcf Type: VCard (text/x-vcard)
> > Encoding: 7bit
> > Description: Card for Perry Qu
>
> **** To unsubscribe from si-list or si-list-digest: send e-mail to
> [email protected]. In the BODY of message put: UNSUBSCRIBE
> si-list or UNSUBSCRIBE si-list-digest, for more help, put HELP.
> si-list archives are accessible at http://www.qsl.net/wb6tpu
> ****

-- 
Regards

Mike ________________________________________________________________ | Mike Ventham - Vice-President Engineering, | | Quantic EMC Inc Headquarters | | Croft House, Chilcompton, 191 Lombard Ave, Winnipeg, | | Somerset, UK, BA3 4JA Manitoba, Canada R3B 0X1 | | Tel: 44 (0)1761 232191 Tel: (204) 942 4000 | | Fax: 44 (0)1761 233549 Fax: (204) 957 1158 | | Email: [email protected] http://www.quantic-emc.com |

**** To unsubscribe from si-list or si-list-digest: send e-mail to [email protected]. In the BODY of message put: UNSUBSCRIBE si-list or UNSUBSCRIBE si-list-digest, for more help, put HELP. si-list archives are accessible at http://www.qsl.net/wb6tpu ****


About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Nov 22 2000 - 10:50:56 PST