Re: gEDA-user: PC emulator and HDL

2008-03-21 Thread Ahmad Sayed
Steve Williams wrote: > Let me see if I can summarize. > > - You want to simulate a device that attaches to a parallel port, > and you want to write that simulation in jHDL or Verilog. > > - You want to hook that simulation up to a PC emulator so that you > can write the *real* device driver for

Re: gEDA-user: PC emulator and HDL

2008-03-20 Thread Stephen Williams
Ahmad Sayed wrote: >>> John Griessen wrote: >>> Are you thinking of making your special parallel port driver >>> GPL and eventually part of linux? That would make a great tutorial > approach for iverilog... > > when i reach reasonable point, i'm going to do so, I just want with this > discussion

Re: gEDA-user: PC emulator and HDL

2008-03-17 Thread Ahmad Sayed
>> John Griessen wrote: >> Are you thinking of making your special parallel port driver >> GPL and eventually part of linux? That would make a great tutorial approach for iverilog... when i reach reasonable point, i'm going to do so, I just want with this discussion first to be sure what i'm goin

Re: gEDA-user: PC emulator and HDL

2008-03-17 Thread John Griessen
Ahmad Sayed wrote: > At the emulator side, which has a Linux preinstalled i wrote the C code, > this code use unmodified outp and inp function to send/recieve data to the > parallel port the parallel.c redirect the data to the named pipe which is > read by the Parallel.java code and stimulate the

Re: gEDA-user: PC emulator and HDL

2008-03-17 Thread Ahmad Sayed
>> John Griessen >> [jg]That may a good way to do it. Sounds reasonable to me... >> I think maybe I understand your goal, but did not get a clear answer yet -- >> You want to run a HDL simulator on a qemu HDL Simulator and qemu will be 2 different unix processes. >> virtual machine to drive sim

Re: gEDA-user: PC emulator and HDL

2008-03-16 Thread John Griessen
Ahmad Sayed wrote: >>> For example, for a PCI device, the HDL writer will need the test >>> environment to create PCI cycles (including the clocks) at a *far* >>> lower level then qemu, for example, provides. Emulating at the BUS >>> cycle level would drastically slow down a PC emulator. > PCI dev

Re: gEDA-user: PC emulator and HDL

2008-03-16 Thread Ahmad Sayed
Hi John, >> John Wrote: >> Is your ultimate target HW/SW design a PC connected to the parallel port of another custom system board, >> and thus a fairly low speed, (parallel port speed), design? >> Is the convenient simulation done with actual software and a >> iverilog simulation without going th

Re: gEDA-user: PC emulator and HDL

2008-03-14 Thread Stephen Williams
Ahmad Sayed wrote: > Dear all, > > I have an idea of a project, but actually i'm software developer rather than > hardware designer, so i need you to help me to figure out the usability of > it, my idea in short focus on the circuit designed to work wih computer e.g. > computer prephierals. > I ne

Re: gEDA-user: PC emulator and HDL

2008-03-14 Thread John Griessen
Ahmad Sayed wrote: > Dear all, > > Hi John, > Larry got my idea, he interprets it correctly. I'm feeling dense today...a PC parallel port wire's fastest speed is ~2.7MHz with no wait state mode, so you couldn't operate at full speed talking to a SPI bus of a microcontroller... Larry Doolittle wr

Re: gEDA-user: PC emulator and HDL

2008-03-14 Thread Ahmad Sayed
Dear all, Hi John, Larry got my idea, he interprets it correctly. Hi Larry, Thank you very much for your answer, actually before starting the prototype, i have the idea of using drivers source code, but i think about the following scenario, if the hardware designer want to simulate his hardware

Re: gEDA-user: PC emulator and HDL

2008-03-13 Thread Larry Doolittle
John - On Thu, Mar 13, 2008 at 07:24:03PM -0500, John Griessen wrote: > Larry Doolittle wrote: > > On Fri, Mar 14, 2008 at 12:19:30AM +0200, Ahmad Sayed wrote: > >> The PC emulator will treat the HDL code as real hardware component. > > This style of simulation is of course useful. Steve W. and I

Re: gEDA-user: PC emulator and HDL

2008-03-13 Thread John Griessen
Larry Doolittle wrote: > On Fri, Mar 14, 2008 at 12:19:30AM +0200, Ahmad Sayed wrote: >> The PC emulator will treat the HDL code as real hardware component. > This style of simulation is of course useful. Steve W. and I have > both done similar work. I'm not sure what the parallel port does i

Re: gEDA-user: PC emulator and HDL

2008-03-13 Thread Larry Doolittle
Ahmad - On Fri, Mar 14, 2008 at 12:19:30AM +0200, Ahmad Sayed wrote: > The PC emulator will treat the HDL code as real hardware component. > > Actually i do a quick prototype using qemu, and jHDL, with parallel port but > not sure if this idea wll be useful to continue working on it or not so I >

gEDA-user: PC emulator and HDL

2008-03-13 Thread Ahmad Sayed
Dear all, I have an idea of a project, but actually i'm software developer rather than hardware designer, so i need you to help me to figure out the usability of it, my idea in short focus on the circuit designed to work wih computer e.g. computer prephierals. I need to provide a method to simulat