WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Question about software (electric circuit)  (Read 7636 times)

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Question about software (electric circuit)
« on: January 27, 2012, 08:45:57 AM »
I need a program to do these type circuits (I did this with dia):


I try fritzing http://fritzing.org/, works but it have only integrated chip (only 4) and I also need for circuits only with the fundamental gate (or, xor, nand, xnand...)

you recommend to me a (simple) program? Thanks.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: Question about software (electric circuit)
« Reply #1 on: January 27, 2012, 09:28:09 AM »
Hi vinnie
I have not used this program myself, but maybe  geda-gaf.tcz  is suitable for your needs.
I also noticed  eagle.tcz  but that might only contain the PCB layout program and not the schematic
program.
« Last Edit: January 27, 2012, 10:56:27 AM by Rich »

Offline hiro

  • Hero Member
  • *****
  • Posts: 1217
Re: Question about software (electric circuit)
« Reply #2 on: January 27, 2012, 11:26:44 AM »
I don't understand your question. Do you need a program to draw circuits, to test circuits, to build circuits, do you perhaps even want a chip on which to test that all?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: Question about software (electric circuit)
« Reply #3 on: January 27, 2012, 12:37:04 PM »
Hi vinnie
The circuit you have drawn does this:
y=(A and C) or (A and B) or C
which simplifies to this:
y=(A and B) or C
reducing the circuit to one  two input and gate  and one  two input or gate.
Quote
(or, xor, nand, xnand...)
xnand? No such thing. Maybe you meant  xnor.
If you are looking for circuit simulation, I noticed  qucs.tcz  in the repository. It appears to support
both analog and digital simulation.

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Question about software (electric circuit)
« Reply #4 on: January 28, 2012, 06:16:13 AM »
Quote
xnand? No such thing. Maybe you meant  xnor
:-[ sorry, I wrote message too fast to think carefully about what I was writing, yep xnor!

Quote
analog and digital simulation
what is the meaning of the two? analog it's like I need and digital is with the material components really existing?

Quote
I don't understand your question. Do you need a program to draw circuits, to test circuits, to build circuits, do you perhaps even want a chip on which to test that all?
whether it is better but for now especially for drawing them (and test it if possible)


Quote
I have not used this program myself, but maybe  geda-gaf.tcz  is suitable for your needs.
I also noticed  eagle.tcz  but that might only contain the PCB layout program and not the schematic
program.
I am not yet in possession of technical terms, but I hope to recover, in the meantime I will try things that are in the repository that you told me
Thanks :)

Offline hiro

  • Hero Member
  • *****
  • Posts: 1217
Re: Question about software (electric circuit)
« Reply #5 on: January 28, 2012, 06:40:56 AM »
Ok, you should be searching for academic/educational tools then. I'd also be interested to know what there is, because when I learned this we went through each step on blackboard only or used these very expensive educational circuit boards.
More advanced things are overly complicated, like the Altera tools for their FPGAs.

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Question about software (electric circuit)
« Reply #6 on: January 28, 2012, 10:33:42 AM »
I try from the repo gnucap pcb qucs and geda but I only got something with qucs:




The error is returned when I try the simulation, but may simply be that I have not been able to use the program.
In the way, if someone wants to intervene, will be welcome.

In the meantime I will try logisim as someone suggested to me.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: Question about software (electric circuit)
« Reply #7 on: January 28, 2012, 10:58:56 AM »
Hi vinnie
Looking at the picture I think I see two possible problems by  Y4
The inputs run through the gate instead of stopping at the left edge.
There is nothing attached to the output to indicate that you wish to monitor it. Based on the files
included in this extension, it looks like you might want to attach a  vprobe  to the output.

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Question about software (electric circuit)
« Reply #8 on: January 28, 2012, 01:32:24 PM »
I think instead that missing this library http://freehdl.seul.org/



I tried logisim, it works but is ugly
« Last Edit: January 28, 2012, 01:34:18 PM by vinnie »

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Question about software (electric circuit)
« Reply #9 on: January 28, 2012, 02:32:51 PM »
after compiling the library the error is changed:
now the error has changed:
Code: [Select]
freehdl-v2cc: error while loading shared libraries: libfreehdl-vaul.so.0: cannot open shared object file: No such file or directory

the same if i launch
Code: [Select]
tc@box:~$ freehdl-v2cc
freehdl-v2cc: error while loading shared libraries: libfreehdl-vaul.so.0: cannot open shared object file: No such file or directory
tc@box:~$

 >:( always the same story

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: Question about software (electric circuit)
« Reply #10 on: January 28, 2012, 10:52:42 PM »
Hi vinnie
I guess the obvious questions are:
Was libfreehdl-vaul.so.0 created?
Where did it wind up?
Where does qucs expect to find it?
According to the Arch Linux site:
http://www.archlinux.org/packages/community/i686/freehdl/files/
libfreehdl-vaul.so, libfreehdl-vaul.so.0, and libfreehdl-vaul.so.0.0.0 are in  /usr/lib  but maybe  qucs
expects it in  /usr/local/lib.

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Question about software (electric circuit)
« Reply #11 on: January 29, 2012, 01:12:51 AM »
standard prefix of compilation is /usr/local/... but even without qucs returns the same error if I try to launch freehdl-v2cc  as above.
So I do not think is a problem related to qucs i think is an freehdl problem.

however:
Code: [Select]
tc@box:~$ sudo find / -iname "*libfreehdl-vaul.so.0*"
/home/tc/freehdl-0.0.8/freehdl-0.0.8/vaul/.libs/libfreehdl-vaul.so.0
/home/tc/freehdl-0.0.8/freehdl-0.0.8/vaul/.libs/libfreehdl-vaul.so.0.0.0
/usr/local/lib/libfreehdl-vaul.so.0
/usr/local/lib/libfreehdl-vaul.so.0.0.0
tc@box:~$
« Last Edit: January 29, 2012, 01:21:53 AM by vinnie »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11213
Re: Question about software (electric circuit)
« Reply #12 on: January 29, 2012, 09:46:45 AM »
Hi vinnie
Quote
So I do not think is a problem related to qucs i think is an freehdl problem.
Yeah, you're right, I was tired when I wrote that.
What does   ldd freehdl-v2cc   return?

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Question about software (electric circuit)
« Reply #13 on: January 29, 2012, 12:54:46 PM »
Code: [Select]
tc@box:~$ ldd freehdl-v2cc
./freehdl-v2cc: error while loading shared libraries: ./freehdl-v2cc: cannot open shared object file: No such file or directory
tc@box:~$

 What does ldd?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: Question about software (electric circuit)
« Reply #14 on: January 29, 2012, 01:03:54 PM »
Ldd shows you what libraries a binary requires.
Your failure is because freehdl-v2cc is not in your current directory and you did not supply the full path.