kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #00866
Re: Re: Orcad 2 Kicad conversion
--0-1820470621-1199887861=:41868 Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Frank Bennett <bennett78@...> wrote: --- In kicad-devel@xxxxxxxxxxxxxxx, "cmcdowell_home"
<cmcdowell_home@...> wrote:
>
> --- In kicad-devel@xxxxxxxxxxxxxxx, "Frank Bennett" <bennett78@>
> wrote:
> >
> > --- In kicad-devel@xxxxxxxxxxxxxxx, "cmcdowell_home"
> > <cmcdowell_home@> wrote:
> >
> > > Frank,
> > >
> > > Thanks for your help. I have identified the problem. It appears
> > > your program will not work completely unless you run it from
> > > either the commandline or create a batch script.
> > >
> > > Example:
> > > If you just try to drag and drop an EDIF file (example PS10.EDF)
> on
> > > top of the e2sch.exe program (i.e your edif2kicad target)you only
> > > get the schematic and the project file.
> > >
> > > However, if you create a batch file with the following:
> > > "e2sch.exe PS10.EDF". It works and you get all the files you
> > > mentioned in your prior email. {.lib,.sch,.pro}.
> > >
> > > Thanks for your help sounds like your program is the one to go
> with
> > > I have not done anything with it but its doing what you said.
> > >
> > > Also, I had one heck of a time getting the BISON program working
> > > correctly. I would suggest also posting the C file that it
> creates.
> > > Otherwise it will discourage many people from using your great
> > > program.
> > >
> > > Charles
> > >
> > Charles:
> > The source files (and Bison) make just fine under Cygwin for
> windows
> > (www.cygwin.com) or Linux:
> > $ svn co https://edif2kicad.svn.sourceforge.net/svnroot/edif2kicad
> > $ make
> > not sure what you are using under Windows but I just released
> > e2schEXE.zip which includes the *.exe files made and zipped under
> > Cygwin that you might want to give a try since ftp to
> > upload.sourceforge.net was acting weird...
> >
> > Sorry about the drag and drop problem, Cygwin is the only Windows
> > IDE I have available.
> > -Frank
> >
>
> Frank,
>
> I stopped using cygwin about a million years ago. I hate it.
> I am using another free tool called CodeBlocks and using the
> mingw compiler.
I will have to try it some day, I'm only on Windows when I need
to run OrCad, Quicken or Turbo Tax. Otherwise I'm on Ubuntu Linux.
>
> I download the Bison 1.875 from
> http://gnuwin32.sourceforge.net/packages/bison.htm
> I tried many other versions and they don't work. At least
> not for me, could of been an environmental variable not sure.
cygwin reports:
$ bison -V
bison (GNU Bison) 2.3
Written by Robert Corbett and Richard Stallman.
>
> I have been working more with your program and have some new
> questions:
>
> Problem:
> I get all of the libs now created except the libary with the same
> name as the EDIF file.
The library with the same name is usually the schematic.
the schematic "library" usually has a bunch of cellRefs
and libraryRefs. If this is really another library with
cellDefs then I have a bug. Are there any missing symbols?
>
> Here is my usage:
>
> 1.) I get Orcad Lite to export the Design. The projects
> name in Orcad is PIC16F. I save this as PIC16.EDF
> 2.) I use your pretty printer utlity.
> ppedif.exe < MYPIC16F.EDF > MYPIC16F_B.EDF (batch script)
> 3.) I use your edif parser with the following arguments:
> e2sch.exe MYPIC16F_B.EDF (batch script)
> 4.) This produces everything {all the .lib,.pro,.sch} accept it seems
> to miss one of the needed libaries called MYPIC16F.lib. I.e the
> library with the same name as the project. And this seems to be
> required.
>
> I have the same problem when I use your PS10.EDF file as well. In
> this case I don't get the PS10.lib.
Shouldn't be it's PS10.sch
>
> Other than that its working. Here are some picky non important
> issues:
> a.) The fonts for the part identifiers is way too big. Is there a
> way I can get the fonts to be smaller? Possibly a project setting?
> b.)I get a bunch of part properties such as partnumber that seem to
> clutter the whole schematic. Can I shut these off by default, i.e
> another .pro setting?
Not picky, really annoying however...You have discovered
the extent to which I have ported this converter. EDIF has
a number of Scaled things and I don't know enough about EDIF, OrCad,
KiCad or the config files to know where and what can be scaled. Some
KiCad doc here would be helpful(Jean-Pierre?, Dick?)...more fun to
do coding...I just did a few text types, but there surely is more
work needed here.
Plan on doing a lot of OrCad translations? As a H/W guy at the job
shop I last worked at for 4 years, we were seeing a few old designs
where parts were becoming obsolete with old schematics around.
Want to be a developer?
I could take a look at your EDIF file if you like while I sit
around looking for an income generating project.
-Frank
>
> Thanks,
>
> Charles
>
Frank,
Yes, there is one symbol missing from the EDIF file. Specifically the boards microcontroller symbol. I just reviewed Orcads Part Manager, which basically shows every part in a table form and to what library it each part belongs. Interesting thing is that all the other parts belong to a specific OLB library. But, this specific part the "Microcontroller symbol" belongs to the PIC16F.DSN file itself.
This situation happens quite often. Example when you create a new schematic and you will have to override the default symbol. I.e when you have a microcontroller you often move your inputs/output around for the specific schematc so you end up tweaking the library default symbol. In this case Orcad does not extenally reference them but instead makes a private copy and places them in the DSN file itself.
So I think this is a small bug or rather just an extra feature that needs to be added.
I.e the feature that permits the symbol extraction for symbols not contained in a specific OLB reference but rather just in the generic DSN file.
I can't send you this specific schematic, but I could try to depopulate most of everything to
give you something to work with.
My goal is to eventually migrate completely to KiCad I probably have 10 schematics that will need to be migrated. I have no money for this effort and at this time its just for personal use.
I would be willing to be a developer on the project, although I don't know Bison. Any specific help you need?
Charles
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search. --0-1820470621-1199887861=:41868 Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
<BR><BR><B><I>Frank Bennett <bennett78@...></I></B> wrote: <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"> <DIV id=ygrp-text> <div>--- In <A href="mailto:kicad-devel%40yahoogroups.com">kicad-devel@<WBR>yahoogroups.<WBR>com</A>, "cmcdowell_home"<BR><cmcdowell_home@<WBR>...> wrote:<BR>><BR>> --- In <A href="mailto:kicad-devel%40yahoogroups.com">kicad-devel@<WBR>yahoogroups.<WBR>com</A>, "Frank Bennett" <bennett78@> <BR>> wrote:<BR>> ><BR>> > --- In <A href="mailto:kicad-devel%40yahoogroups.com">kicad-devel@<WBR>yahoogroups.<WBR>com</A>, "cmcdowell_home"<BR>> > <cmcdowell_home@<WBR>>
wrote:<BR>> > <BR>> > > Frank,<BR>> > > <BR>> > > Thanks for your help. I have identified the problem. It appears<BR>> > > your program will not work completely unless you run it from<BR>> > > either the commandline or create a batch script.<BR>> > > <BR>> > > Example:<BR>> > > If you just try to drag and drop an EDIF file (example PS10.EDF)<BR>> on <BR>> > > top of the e2sch.exe program (i.e your edif2kicad target)you only<BR>> > > get the schematic and the project file.<BR>> > > <BR>> > > However, if you create a batch file with the following:<BR>> > > "e2sch.exe PS10.EDF". It works and you get all the files you<BR>> > > mentioned in your prior email. {.lib,.sch,.<WBR>pro}.<BR>> > > <BR>> > > Thanks for your help sounds like your program is the one to go <BR>> with<BR>> > > I have not done anything with it
but its doing what you said.<BR>> > > <BR>> > > Also, I had one heck of a time getting the BISON program working <BR>> > > correctly. I would suggest also posting the C file that it <BR>> creates.<BR>> > > Otherwise it will discourage many people from using your great <BR>> > > program.<BR>> > > <BR>> > > Charles<BR>> > ><BR>> > Charles:<BR>> > The source files (and Bison) make just fine under Cygwin for <BR>> windows<BR>> > (www.cygwin.<WBR>com) or Linux:<BR>> > $ svn co <A href="https://edif2kicad.svn.sourceforge.net/svnroot/edif2kicad">https://edif2kicad.<WBR>svn.sourceforge.<WBR>net/svnroot/<WBR>edif2kicad</A><BR>> > $ make<BR>> > not sure what you are using under Windows but I just released <BR>> > e2schEXE.zip which includes the *.exe files made and zipped under <BR>> > Cygwin that you might want to give a try since ftp to<BR>> >
upload.sourceforge.<WBR>net was acting weird...<BR>> > <BR>> > Sorry about the drag and drop problem, Cygwin is the only Windows<BR>> > IDE I have available.<BR>> > -Frank<BR>> ><BR>> <BR>> Frank,<BR>> <BR>> I stopped using cygwin about a million years ago. I hate it.<BR>> I am using another free tool called CodeBlocks and using the<BR>> mingw compiler.<BR><BR>I will have to try it some day, I'm only on Windows when I need<BR>to run OrCad, Quicken or Turbo Tax. Otherwise I'm on Ubuntu Linux.<BR><BR>> <BR>> I download the Bison 1.875 from <BR>> <A href="http://gnuwin32.sourceforge.net/packages/bison.htm">http://gnuwin32.<WBR>sourceforge.<WBR>net/packages/<WBR>bison.htm</A><BR>> I tried many other versions and they don't work. At least<BR>> not for me, could of been an environmental variable not sure.<BR><BR>cygwin reports:<BR>$ bison -V<BR>bison (GNU Bison) 2.3<BR>Written by Robert Corbett and Richard
Stallman.<BR><BR>> <BR>> I have been working more with your program and have some new <BR>> questions:<BR>> <BR>> Problem:<BR>> I get all of the libs now created except the libary with the same<BR>> name as the EDIF file.<BR><BR>The library with the same name is usually the schematic.<BR>the schematic "library" usually has a bunch of cellRefs<BR>and libraryRefs. If this is really another library with<BR>cellDefs then I have a bug. Are there any missing symbols?<BR><BR>> <BR>> Here is my usage:<BR>> <BR>> 1.) I get Orcad Lite to export the Design. The projects<BR>> name in Orcad is PIC16F. I save this as PIC16.EDF<BR>> 2.) I use your pretty printer utlity.<BR>> ppedif.exe < MYPIC16F.EDF > MYPIC16F_B.EDF (batch script)<BR>> 3.) I use your edif parser with the following arguments:<BR>> e2sch.exe MYPIC16F_B.EDF (batch script)<BR>> 4.) This produces everything {all the .lib,.pro,.sch} accept it seems <BR>> to miss one
of the needed libaries called MYPIC16F.lib. I.e the <BR>> library with the same name as the project. And this seems to be <BR>> required.<BR>> <BR>> I have the same problem when I use your PS10.EDF file as well. In<BR>> this case I don't get the PS10.lib.<BR><BR>Shouldn't be it's PS10.sch<BR><BR>> <BR>> Other than that its working. Here are some picky non important <BR>> issues:<BR>> a.) The fonts for the part identifiers is way too big. Is there a <BR>> way I can get the fonts to be smaller? Possibly a project setting?<BR>> b.)I get a bunch of part properties such as partnumber that seem to<BR>> clutter the whole schematic. Can I shut these off by default, i.e<BR>> another .pro setting?<BR><BR>Not picky, really annoying however...You have discovered<BR>the extent to which I have ported this converter. EDIF has<BR>a number of Scaled things and I don't know enough about EDIF, OrCad,<BR>KiCad or the config files to know where and what
can be scaled. Some<BR>KiCad doc here would be helpful(Jean-<WBR>Pierre?, Dick?)...more fun to<BR>do coding...I just did a few text types, but there surely is more <BR>work needed here.<BR><BR>Plan on doing a lot of OrCad translations? As a H/W guy at the job<BR>shop I last worked at for 4 years, we were seeing a few old designs<BR>where parts were becoming obsolete with old schematics around.<BR><BR>Want to be a developer?<BR><BR>I could take a look at your EDIF file if you like while I sit<BR>around looking for an income generating project.<BR><BR>-Frank<BR>> <BR>> Thanks,<BR>> <BR>> Charles<BR>><BR><BR></div></DIV><!--End group email --></BLOCKQUOTE> <div>Frank, <BR><BR>Yes, there is one symbol missing from the EDIF file. Specifically the boards microcontroller symbol. I just reviewed Orcads Part Manager, which basically shows every part in a table form and to what library it each part belongs. Interesting thing is that all the other parts belong to a specific OLB library. But, this specific part the "Microcontroller symbol" belongs to the PIC16F.DSN file itself. <BR><BR>This situation happens quite often. Example when you create a new schematic and you will have to override the default symbol. I.e when you have a microcontroller you often move your inputs/output around for the specific schematc so you end up
tweaking the library default symbol. In this case Orcad does not extenally reference them but instead makes a private copy and places them in the DSN file itself. <BR><BR>So I think this is a small bug or rather just an extra feature that needs to be added. <BR>I.e the feature that permits the symbol extraction for symbols not contained in a specific OLB reference but rather just in the generic DSN file. <BR><BR>I can't send you this specific schematic, but I could try to depopulate most of everything to</div> <div>give you something to work with. <BR><BR>My goal is to eventually migrate completely to KiCad I probably have 10 schematics that will need to be migrated. I have no money for this effort and at this time its just for personal use.</div> <div> </div> <div>I would be willing to be a developer on the project, although I don't know Bison. Any specific help you need? <BR><BR>Charles <BR><BR></div><p> 
<hr size=1>Looking for last minute shopping deals? <a href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping">
Find them fast with Yahoo! Search.</a> --0-1820470621-1199887861=:41868--
References