Test multiple Spice Models in different testbenches - cadence

I am new to cadence, and I am trying to figure out if there is an easy way to setup i.e. 5 testbenches where I can specify a list of spice models to run through the 5 testbenches?
I am open to any solution, currently looking at both ADE XL, SKILL and OCEAN trying to find out what is possible.

Cadence has a Skill IDE here: CIW > Tools > Skill IDE. Look into the documentation for Skill. Once you find the command for simulating, you can use a for loop:
foreach(cellId ddGetObj(library_name)->cells
simulator('spectre)
design(library_name cellId->name "schematic")
;Simulate Here
)
You will have to modify this loop for your purposes it is just an example.
Hope this gets you started.

Related

How to add visualisation for time planning (What Django package to reuse)?

I apologize if if this question is not too concrete and deserves downvote from developers but I am breaking google for some time already and can't find anything.
I have to add some resource planning to my existing inventory management software.
In our factory I currently manage time of employees by adding them as resource that is required to produce some item.
Let's say I produce Item A and it requires 1unit of Material M1, 2 units of Material M3 and 5 hours of Agent777.
So at any point of time I know what my agent is currently have assigned to him.
It works and all good but now management want some resource planning visualisation/tool.
Now we want to see some visualization similar to microsoft project on how much each Agent is loaded with orders plotted on weekly timeline.
Is there a package , API, 3rd party app (it is ok if it requires license and have a cost) I can add to my application easily to get the desired?
Ideall will be django package so I would be able to tweak it if required but not limited to.
Since I got no answers I will answer my own question .
The decision was to try to integrate with some of the existing tools without directly embedding then into our project. First, one we are looking at Trello/taiga-back

Beautifulsoup django integration

still a newbie so I have a bunch of questions which might seem silly. However, here I go:
as a project to learn python, I decided I would start with something simple. The idea I had was to go to craigslist and find the prices of motorcycles, go through the first 10 pages of each city and give a mean, median and price trends. the result of that work can be found here (http://craigslistcompanion.co.nf/) as well as the codes.
now in order to make things better i decided that i should let the user input what they want (motorcycle/ car/ bikes) and from where (sfbay/ austin etc) and get the same results as shown in that page. as i started looking into it i was told that learning django would be a good place to start and i have been trying to do that for the last couple of days. however, what i have learn so far is mostly setting up databases and handling them.
I was wondering if there is a tutorial somewhere which will show me how to take input from the user and then manipulate it. i want to do this completely using python/ django.
for example lets say i want the user to input their first and last name and then try to play with that string and output something. how would i go about doing that?
thanks
First some clarification. Do you want to develop a web interface for your users? If so, then Django is a great start. The Django Book is a very good introduction to Django and teaches you with examples. The task of getting user information, validating it, manipulating it and saving it in a database is the most basic of task and it is explained well in the book.
The next thing is web scraping craigslist. From how you structured your question, it seams that you have solved that part of the problem. right?

Creating a Skill Calculator for Runescape

I am beginning C++. I have a long way to go and I am one to never stop learning. I want to create a project for myself that will allow me to learn as I go. It will also give me the motivation and possibly add to my portfolio when I graduate.
The runescape skill calculator will ask for your current experience in the current skill of your choosing and your desired level.
For Example: my woodcutting experience is 60 and I want to get to lvl 5 which is 120 exp. That means im 60 experience away. by cutting oak logs I get 5 experience per log. The calculator would tell me I need to cut 12 Oak logs. All these numbers are made up.
So to my question. Where would I even begin? Hoping it would have buttons to press.
Sorry pretty new to all this. I will start with getting what I want in a Command Line first. I will be using Visual C++ 2010 express. Not sure of all the tools I will need as I am new. I can not go into detail as I do not know how I am going about this. Vague was good. Thank you
Unfortunately, a general question can only get a general answer:
First, build the program to run interactively from the command line with correct behaviour.
Then, (if you haven't designed it this way) extract the code into a class. This will allow you to call it from future programs.
Then, write an GUI that interfaces with the class.
A good set of unit tests will help throughout this project, and will make you more marketable when you present your portfolio.
For more specific answers, ask again with more detail provided.
I think that it is important to get a grip on the problem before developing.
The main questions are:
Where will you get the information about the exp. (manual input in your program, or available on-line as open data)?
Will you put your lvl in the app, or will you use the Runescape highscores API (Runescape Highscores API) and just give your UserId?
Will you get the data on the fly, or will you load them once (e.g. startup of your application). What will you do if your application runs for a long time?
How will you calculate the result you want? Are there error margins?
Afterward, you should start thinking about your UI.
Will this application be transported to different platforms?
Will you use only a text interface or something more graphical?
An now is the time to make the choice for the development architecture (what part of the code will run where: server, client, web-based, etc...). Once this choice is made, you can make a choice of development language or languages.
Visual Studio Express seems a good choice, since it permits you to choose a number of development options: client/Server, client, web application, database application, choice of development language (C, C++, C#, F), ...
Now is the time to do what Steve V. advises you to do.
As already said above: your question is general, so I could not get into more detail.
Good luck !

Which is the better of the django event apps?

I've been looking at django-swingtime, django-schedule and django-agenda.
Any recommendations of which is them easier to use, and if so any practical code examples out there? Couldn't find useful documentation or examples in the respective projects.
My requirement is to have a number of events and track their occurrences, but the events are custom things, for example, a project management system where a regular amount of time is spent on each project where an event is a task and the occurrences are the hours spent regularly on each task.
I don't know if you already checked django-packages but it has a small grid about these: http://www.djangopackages.com/grids/g/calendar/
if your requirement is just to display the calendar on certain data which you have in database then i recommend the use of inbuilt HTMLcalendar in python2.5 which is easy to use.
More details you can find at
http://journal.uggedal.com/creating-a-flexible-monthly-calendar-in-django
Based on #Maccesch 's answer and having in mind that I'm a total beginner to Django I could only get Django Happenings to work: https://github.com/wreckage/django-happenings I hope this project will continue to exist.

testing with selenium

I'm a complete selenium newbie. Where should I start if I want to learn how to use it?
I've used Selenium in two different ways:
Selenium Remote Control - Great at scripting tests that manipulate a large amount of data to hit or insert into a website because you can manipulate the Selenium commands from a real programming language (I used Ruby).
Selenium IDE - Excellent at making quick scripts to demonstrate problems and single path execution of a website. The Firefox plugin integration is excellent and easy to use. Non-developers can even create and submit scripts to demonstrate problems.
Pick one of the two ways and write a script to do something routine on the web (check for latest Hockey scores from NHL.com, etc). After you have that super-simple script running, try something more complex.
Download the firefox plugin to begin. You can record, replay some tests. There are some video tutorials.
Look at this intro
You can get this book Selenium 2 Testing Tools Beginner’s Guide.
Really helpful book, especially for a newbie. I had a good experience, learning Selenium with it.
I would suggest to start from an overview automated web testing with selenium presentation on scribd
Better idea, to start selenium IDE, which is record and playback method like other tools.
Once familiar, then can start using selenium RC, Grid, Webdriver.
Selenium IDE is firefox extension.
more help http://seleniumhq.org/docs/02_selenium_ide.html
Really depends on what you want to do with Selenium.
I definitely recommend getting Selenium IDE if you don't know what you're doing because it does most things automatically and gives you an intro to how you would use Selenium Remote Control.
Selenium Remote Control lets you use Selenium from your favourite language. From there it depends on what language you want to use for where you get help. I use Java/JUnit and I just use google/documentation/stackoverflow whenever there's something I'm not sure how to do and that Selenium IDE won't tell me how to do.
Aside from the other suggestions on this page, one of the most useful sites I've used to get up to speed with Selenium was this one: Selenium Training from theautomatedtester.com
He covers
Record & Playback,
Javascript & Variables,
XPaths,
Regular Expressions and more;
However, I think I only needed those first few ones.
Also, there are many extensions/addons/plug-ins for Selenium IDE, so be sure to check for any of those if you get stuck in some way.
For example, I thought I needed to start using the Selenium Remote Control (and code in C#) because I wanted to create tests with logical flows and loops...but there is a plug-in for incorporating that in the IDE (goto & while loops extension), so I didn't need to!
Hope this helps!
Where to start?
Go to: http://seleniumhq.org/docs/
Read the docs from the beginning to the end.
Estimated time 8 hours.