Sending Email in Cadence

Guest
Hi friends,

Is there any SKILL function which can send emails to specific email
addresses?? For example, any functions like SendEmail(
"xxx@google.com,yyy@google.com" "message_hello" ) or something like
this??

Any comment is highly appreciated ~

Will
 
hi Will, if you can figure out how to send an email from the shell,
then you can send it from SKILL with the SKILL function called
system.

The problem is that it is pretty difficult to come up with a shell
script
that will send email on any UNIX system because of the different
command lines available for the mail program and the fact that some
system administrators disable the UNIX mail program to try to force
you to use microsoft outlook or something like that.

But assume you have a shell script that works like the following.

my_mail -subject "the subject line" -to fred@gmx.net <<EOF
this is the mail body
many lines of
mail happily going to the correct
destination.
EOF

then you can write a SKILL function like the following.

(defun send_email (@key (subject "default subject") (to "nobody") (body
'("default body") "ttl"))
(let ((tmpfile (outfile "/tmp/mailfile"))) ;; better would to make
a uniq filename
(foreach line body (fprintf "%s\n" line))
(close tmpfile))
(system (sprintf nil "cat /tmp/mailfile | my_mail -subject %L -to
%L" subject to ))
(deleteFile "/tmp/mailfile"))

It would be better to create a tmp file name that is unique, but i
always forget the name of the makeTmpFileName function.

And again, the trick is to write the shell script my_mail so that it
works on your UNIX system and anywhere on your network where someone
might want to run your SKILL function.

-jim

chickenwing2010@yahoo.com.hk wrote:
Hi friends,

Is there any SKILL function which can send emails to specific email
addresses?? For example, any functions like SendEmail(
"xxx@google.com,yyy@google.com" "message_hello" ) or something like
this??

Any comment is highly appreciated ~

Will
 
On 14 Aug 2006 13:55:29 -0700, "Jimka" <jimka@rdrop.com> wrote:

It would be better to create a tmp file name that is unique, but i
always forget the name of the makeTmpFileName function.
Pretty close - it's makeTempFileName()

Andrew.
--
Andrew Beckett
Principal European Technology Leader
Cadence Design Systems, UK.
 
Hello Sir,

I am looking to get help from you but I could not get any way to reach to you. So this is the only way I guess I can reach to you.

I am in the beginning stage of my research and I am trying to reproduce the output(1-bit output from each of these parallel 5 blocks), which I am struggling at one point now from almost two months now. I would be very grateful if you can just give me a hint on it.

I am trying to implement this in Cadence Virtuoso and Struggling with introducing process variation. My Monte Carlo is working correctly as I have predicted for a single block (i.e. for the one block among those parallel 5 blocks). However when I try to have process variation on the five blocks, the process variation introduced on those blocks are same thus giving me the same output each time I run. Actually I want to run Monte Carlo in such a way that each of these block get different value so that the output produced from each of these block differ.

IN1 -------------->|block 1|--------------> OUT1
IN2 -------------->|block 2|--------------> OUT2
IN3 -------------->|block 3|--------------> OUT3
IN4 -------------->|block 4|--------------> OUT4
IN5 -------------->|block 5|--------------> OUT5


It would very helpful is you can just give an idea of how to invoke Monte Carlo differently for each block.

Look forward for your kind cooperation.

Thanks
Shital Joshi
Email: j.shital84@gmail.com
 

Welcome to EDABoard.com

Sponsor

Back
Top