Tiny Core Linux
General TC => General TC Talk => Topic started by: vinnie on January 27, 2012, 08:45:57 AM
-
I need a program to do these type circuits (I did this with dia):
(http://img191.imageshack.us/img191/4985/001scelettrico.png)
I try fritzing http://fritzing.org/, (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.
-
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.
-
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?
-
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.
(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.
-
xnand? No such thing. Maybe you meant xnor
:-[ sorry, I wrote message too fast to think carefully about what I was writing, yep xnor!
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?
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)
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 :)
-
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.
-
I try from the repo gnucap pcb qucs and geda but I only got something with qucs:
(http://img831.imageshack.us/img831/422/screenshot0128190441.th.png) (http://imageshack.us/photo/my-images/831/screenshot0128190441.png/)
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.
-
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.
-
I think instead that missing this library http://freehdl.seul.org/ (http://freehdl.seul.org/)
(http://img26.imageshack.us/img26/2217/screenshot0128223006.th.png) (http://img26.imageshack.us/img26/2217/screenshot0128223006.png)
I tried logisim, it works but is ugly
-
after compiling the library the error is changed:
now the error has changed:
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
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
-
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/ (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.
-
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:
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:~$
-
Hi vinnie
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?
-
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?
-
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.
-
I tried again launching freehdl-v2cc now (without restarting the system)
tc@box:~$ freehdl-v2cc
usage: v2cc [-v] [-l lib] [-L libdir] file...
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:~$
I tried again the simulation of qucs, does not return errors but does not seem to work equally
-
And you still did not supply the path to freehdl-v2cc. It is not in your current directory.
-
Hi vinnie
Try it this way:
ldd `which freehdl-v2cc`
Make sure you use ` and not '
-
tc@box:~$ ldd `which freehdl-v2cc`
linux-gate.so.1 => (0xb7845000)
libfreehdl-vaul.so.0 => /usr/local/lib/libfreehdl-vaul.so.0 (0xb77a3000)
libfreehdl-fire.so.0 => /usr/local/lib/libfreehdl-fire.so.0 (0xb776a000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb76a8000)
libm.so.6 => /lib/libm.so.6 (0xb7685000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0xb766e000)
libc.so.6 => /lib/libc.so.6 (0xb7563000)
/lib/ld-linux.so.2 (0xb7846000)
tc@box:~$
-
Hi vinnie
OK, looks like all the dependencies are satisfied.
I tried again the simulation of qucs, does not return errors but does not seem to work equally
So what happens? You click on the simulate button, the Qucs Simulations Messages window pops
up for a second, and then you get a blank tab, right? Now try dragging a Timing Diagram symbol
to that blank tab and a window should pop up, double click on the signal names you want to display.
-
ok I got it, it was imperative to give a label to links, but now I can not get the tcz package, the only way that I always do "make install" from source.
I'm trying to upload the test package and the precompiled source (only to make install it)
I have few times to upload and the archive is 30mb, I do not think of doing at this moment.
-
http://dl.dropbox.com/u/10544567/freehdltest.7z (http://dl.dropbox.com/u/10544567/freehdltest.7z) it is here.
After "make install" only required dep is libtool (in addition to qucs naturally), someone might see if there something wrong with my package (included in the same archive)?
Thanks!