[OT] Simulation Results Managment

2012-07-13 Thread moogyd
Hi, This is a general question, loosely related to python since it will be the implementation language. I would like some suggestions as to manage simulation results data from my ASIC design. For my design, - I have a number of simulations testcases (TEST_XX_YY_ZZ), and within each of these t

Re: [OT] Simulation Results Managment

2012-07-14 Thread moogyd
On Sunday, July 15, 2012 2:42:39 AM UTC+2, Neal Becker wrote: > me wrote: > > > Hi, > > This is a general question, loosely related to python since it will be > the > > implementation language. I would like some suggestions as to manage > simulation > > results data from my ASIC design. > > > >

Re: Simulation Results Managment

2012-07-14 Thread moogyd
On Sunday, July 15, 2012 5:25:14 AM UTC+2, rusi wrote: > On Jul 14, 10:50 am, moo...@yahoo.co.uk wrote: > > Hi, > > This is a general question, loosely related to python since it will be > the implementation language. > > I would like some suggestions as to manage simulation results data from > m

Re: Simulation Results Managment

2012-07-17 Thread moogyd
On Sunday, July 15, 2012 6:20:34 PM UTC+2, rusi wrote: > On Jul 15, 11:35 am, Dieter Maurer wrote: > > moo...@yahoo.co.uk writes: > > > ... > > > Does pickle have any advantages over json/yaml? > > > > It can store and retrieve almost any Python object with almost no effort. >

Basic JSON question: Do I really need the quotes

2012-10-12 Thread moogyd
Hi, I need to define some configuration in a file that will be manually created. Internally, the data will be stored as a dict, which contains various properties related to a design e.g. Design Name, dependencies, lists of files (and associated libraries). json seemed a quick an easy way of achiev

Re: Basic JSON question: Do I really need the quotes

2012-10-14 Thread moogyd
On Friday, 12 October 2012 16:09:14 UTC+2, (unknown) wrote: > Hi, > > I need to define some configuration in a file that will be manually created. > > Internally, the data will be stored as a dict, which contains various > properties related to a design > > e.g. Design Name, dependencies, list

Re: Standard Delay Format (SDF) Parsing

2014-05-26 Thread moogyd
On Monday, 26 May 2014 08:15:53 UTC+2, garg.p...@gmail.com wrote: > Hi Steven, > > > > did you get the module to parse the sdf file? > > > > regards, > > pankaj Unfortunately not. I actually can't remember why I wanted/needed this. I guess that it wasn't that important since I didn't act

OT : Bug/Issue tracking systems

2006-12-16 Thread moogyd
Hi, (Off-topic) I am looking to put an open-source bug/issue tracking system in place for our current project (eventually expanded for all projects), and would appreciate any experiences/comments/suggestions. Note the project is encompasses embedded hardware (ASIC plus firmware) plus application

Re: OT : Bug/Issue tracking systems

2006-12-17 Thread moogyd
Marc 'BlackJack' Rintsch wrote: > In <[EMAIL PROTECTED]>, moogyd wrote: > > > The requirements I have come up with > > > > [...] > > > > - Ideally via text files, a bit of perl/tcl/python OK. I'd rather > > avoid SQL > > You

Newbie Question : "grep"

2007-03-12 Thread moogyd
Hello, I am attempting to write my first Python script to extract some information from a file, and place it into another file. (I am trying to find the physical postions of 4 cells within an FPGA) I have a working solution, and would appreciate any comments. for line in lines: if "placed" i

Re: Newbie Question : "grep"

2007-03-12 Thread moogyd
On 12 Mar, 18:55, [EMAIL PROTECTED] wrote: > On Mar 12, 10:01 am, "Erik Johnson" <[EMAIL PROTECTED]> wrote: > > > > > Sorry, I forgot to paste the modified version of my code in the post:. I > > think this is the same behaviour: > > > for line in lines: > > if "placed" in line: > > if "

Re: Implementing an 8 bit fixed point register

2008-07-01 Thread moogyd
On 1 Jul, 08:57, nickola <[EMAIL PROTECTED]> wrote: > Hello to all > I'm about to write a simulator for a microcontroller in python > (why python? because I love it!!!) > > but I have a problem. > > The registry of this processor are all 8 bit long (and 10 bit for some > other strange register)

Beginner Question : Iterators and zip

2008-07-12 Thread moogyd
Hi group, I have a basic question on the zip built in function. I am writing a simple text file comparison script, that compares line by line and character by character. The output is the original file, with an X in place of any characters that are different. I have managed a solution for a fixe

Re: Beginner Question : Iterators and zip

2008-07-13 Thread moogyd
On 12 Jul, 21:50, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On 12 juil, 20:55, [EMAIL PROTECTED] wrote: > > > > zip is (mostly) ok. What you're missing is how to use it for any > arbitrary number of sequences. Try this instead: > > >>> lists = [range(5), range(5,11), range(11, 16)] > >>> lis

Re: Beginner Question : Iterators and zip

2008-07-14 Thread moogyd
On 13 Jul, 19:49, Terry Reedy <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > What is this *lis operation called? I am having trouble finding any > > reference to it in the python docs or the book learning python. > > One might call this argument unpacking, but > Language Manual / Express

noob: subprocess clarification

2008-09-14 Thread moogyd
Hi, I generally use csh scripts for generally scripting (controlling simulations). Basically the script processing options, generates the command line, executes it and then processes the results. I would usually use the -f option on the shebang line to ensure that the environment from the current

Re: noob: subprocess clarification

2008-09-15 Thread moogyd
On 14 Sep, 22:06, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote: > On Sun, 14 Sep 2008 02:29:52 -0700 (PDT), [EMAIL PROTECTED] declaimed > the following in comp.lang.python: > > > Can somebody please clarify what the shell=True does, and whether I am > > using it correctly. > > What part of:

Standard Delay Format (SDF) Parsing

2011-02-17 Thread moogyd
Hi, A Standard Delay Format (SDF) file is a text file used to store delay information, and is used in ASIC design. I need to parse some of these files and before I re-invent the wheel, is anyone aware of a module to allow parsing of these files? Thanks, Steven -- http://mail.python.org/mailman/

Popen Question

2010-11-04 Thread moogyd
Hi, I usually use csh for my simulation control scripts, but these scripts are becoming more complex, so I plan to use python for the next project. To this end, I am looking at subprocess.Popen() to actually call the simulations, and have a very basic question which is demonstrated below. [sde:st.

Re: Popen Question

2010-11-07 Thread moogyd
Hi, Thanks everyone for the replies - it is now clearer. Steven -- http://mail.python.org/mailman/listinfo/python-list

Re: Brainstorming on recursive class definitions

2017-09-12 Thread moogyd--- via Python-list
On Tuesday, September 12, 2017 at 5:37:31 PM UTC+2, Johannes Bauer wrote: > Hi group, > > so I'm having a problem that I'd like to solve *nicely*. I know plenty > of ways to solve it, but am curious if there's a solution that allows me > to write the solution in a way that is most comfortable for