If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.
Special Thanks To:
Aaron Holmes
Aaron Wheeler
Adam Horden
Alan Scrimgeour
Andre
Andrew Haynes
Anonymous000
asabase
Austin Weil
barney
Barry
Bert Hickman
Bill Kukowski
Blitzorn
Brandon Paradelas
Bruce Bowling
BubeeMike
Byong Park
Cesiumsponge
Chris F.
Chris Hooper
Corey Worthington
Derek Woodroffe
Dalus
Dan Strother
Daniel Davis
Daniel Uhrenholt
datasheetarchive
Dave Billington
Dave Marshall
David F.
Dennis Rogers
drelectrix
Dr. John Gudenas
Dr. Spark
E.TexasTesla
eastvoltresearch
Eirik Taylor
Erik Dyakov
Erlend^SE
Finn Hammer
Firebug24k
GalliumMan
Gary Peterson
George Slade
GhostNull
Gordon Mcknight
Graham Armitage
Grant
GreySoul
Henry H
IamSmooth
In memory of Leo Powning
Jacob Cash
James Howells
James Pawson
Jeff Greenfield
Jeff Thomas
Jesse Frost
Jim Mitchell
jlr134
Joe Mastroianni
John Forcina
John Oberg
John Willcutt
Jon Newcomb
klugesmith
Leslie Wright
Lutz Hoffman
Mads Barnkob
Martin King
Mats Karlsson
Matt Gibson
Matthew Guidry
mbd
Michael D'Angelo
Mikkel
mileswaldron
mister_rf
Neil Foster
Nick de Smith
Nick Soroka
nicklenorp
Nik
Norman Stanley
Patrick Coleman
Paul Brodie
Paul Jordan
Paul Montgomery
Ped
Peter Krogen
Peter Terren
PhilGood
Richard Feldman
Robert Bush
Royce Bailey
Scott Fusare
Scott Newman
smiffy
Stella
Steven Busic
Steve Conner
Steve Jones
Steve Ward
Sulaiman
Thomas Coyle
Thomas A. Wallace
Thomas W
Timo
Torch
Ulf Jonsson
vasil
Vaxian
vladi mazzilli
wastehl
Weston
William Kim
William N.
William Stehl
Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Registered Member #1667
Joined: Sat Aug 30 2008, 09:57PM
Location:
Posts: 374
Hope someone can give me a helping hand with this. I need circuit logic in a program I am currently working on. I want this to be convenient for the user so a solution that just gets the stuff done in some way (e.g. scripting the control logic for 120 inputs that translate into ~400 outputs) won't do.
I've tried to abuse LTSpice, PSpice and Eagle for this job with little success. Net lists notoriously lack the part value and eagle, still producing the most readable netlists does not wish to export schematics as scripts (needless to say they only changed the native schematic format to xml in the new Version 6 that has just reached beta stage).
I would be fine with a unidirectional flow of information my program -> script -> eagle schematic -> net list -> my program
eagle does not allow schematics to be exported as scripts as far as I can tell (or at least not in the free version), so if import generated by ulp scripts is possible, that would be enough.
I've also thought of spice files but my experience in this field is restricted to the last few hours of watching and reading tutorials and playing around with different flavors of spice (PSpice, LTSpice).
automatic placement and routing of schematics by part list and net list would be cool *looks into the field of dreams*
Registered Member #30
Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
What exactly are you trying to do? Will you have the user draw a schematic with logic gates, and you want the corresponding Boolean expression captured into your program?
Sure, Eagle netlists don't have the part value. That's what the partlist is for. I have a Perl script that converts Eagle netlists to PADS format, but it needs both the netlist and the partlist to work. So does whatever you're doing, probably.
Registered Member #1667
Joined: Sat Aug 30 2008, 09:57PM
Location:
Posts: 374
The user has to verify and complete a semi automatically created set of sub circuits. Therefore I will define some templates but in addition to this, interconnects between points inside the different templates are needed and the user should be able to break up routes and include further conditions by adding and connecting gates.
In both Spice and Eagle, pseudo parts can be defined that the user has to work with. I could choose a suitable prefix to make them identifiable in the netlist as "AND", "NAND", "OR" ... , then I would "only" have to generate some kind of schematic with automatically placed and pre-routed components (and there's the rub, eagle makes it difficult for me at the first glance and the spice netlist looks difficult to read back)
ps.: LTSpice produces these netlists (including desc.):
Registered Member #30
Joined: Fri Feb 03 2006, 10:52AM
Location: Glasgow, Scotland
Posts: 6706
As far as I know, Eagle's ULP language provides complete access to all of the internal data structures that describe the schematic and PCB. You can probably write a ULP that would help you a lot, even if it's just by exporting a netlist in a better format.
A cynic might even say that Eagle is probably mostly written in its own ULP language, and that explains why it gets so slow with big designs. (We have some with 19 A3 sheets, and adding or deleting a pin from the "Gnd" net takes several seconds on a 3GHz P4.) The language itself is quite usable and not a million miles away from C#.
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.