> Van: Tom Handley > Aan: PICLIST@MITVMA.MIT.EDU > Onderwerp: Re: Circular Buffer Help > Datum: maandag 27 april 1998 16:04 Hello Tom, > Rudy, thanks for the feedback. I agree that the ability to read the > absolute address is a plus. Note, the current design does this. That > particular CPLD contains the address counter and control circuitry to read > the counter as well as the SRAMs. By eliminating the need to read the > absolute address, I could move the counter to a single 74x393 and free up a > lot of CPLD resources for other functions, possibly reducing the design from > 3 CPLDs to 2. [Cut] Oh ... I was thinking you wanted to build a stand-alone device, but I understand now that you are designing a sort of PC-probe. O.k. Why not give the PC the data as-is ? At the next adres would be the first valid sample. Clock 32K times and your buffer is send to the host in the most usefull way there is. The first valid sample at offset 0 in the Host-buffer. Just send the event-delay value as special data to your host. The Trigger-Event would be at that offset in the Host-buffer. In this way you would not need an absolute adres into your sample-buffer. This would even mean that resetting the hardware adress-counter is not needed anymore ... Greetz, Rudy Wieser