On 6/15/2011 1:05 PM, Alireza wrote:> Sorry, I am still not sure I should do this. > 1. Is it possible to input different clock signals to a single FPGA and have different RAMs use different clocks? > 2. Even if I interleave a few low speed RAMs I still need a switch at the end that runs at the full speed and loops through the RAMs. Do you know how I can implement that switch? > > AlirezaAfter I wrote this, I realized that you haven't said a lot about what you're trying to do? - do you have to write into the table often or only to initialize it? - I don't see why you'd want different clocks. Are you trying to generate signals? Do they have different clock rates or just different signal frequencies. Is this a sine table? or what? It seems to me that you might have a few architectural approaches here: Implement a single table that has as much resolution as you'll ever need. Then get data out of that table using appropriate address counters. If you're simulating a high frequency then the counter increment will be large. If you're simulating a low frequency then the counter increment will be small. All at the same sample rate. If you need more speed (less delay between lookups), then you might set up similar tables in parallel so that the lookups might be interleaved or ... however that's done. If you divide the frequencies into two ranges then you might make the table used for lower frequencies smaller as the number of samples needed might be less. But I'd have to wonder if just having tables all the same size might not be easier. Brute force with memory vs. some addressing sophistication I guess.
Online · Live + on demand
February 9-11, 2027
Price goes up Jan 1: register now to lock in today's rate
Register Now →
implementation of a very fast lookup table
Started by ●June 10, 2011
Reply by ●June 15, 20112011-06-15
Reply by ●June 15, 20112011-06-15
On Jun 15, 2:08�pm, Fred Marshall <fmarshallxremove_th...@acm.org> wrote:> On 6/15/2011 1:05 PM, Alireza wrote: > > > Sorry, I am still not sure I should do this. > > 1. Is it possible to input different clock signals to a single FPGA and have different RAMs use different clocks? > > 2. Even if I interleave a few low speed RAMs I still need a switch at the end that runs at the full speed and loops through the RAMs. Do you know how I can implement that switch? > > > Alireza > > After I wrote this, I realized that you haven't said a lot about what > you're trying to do? > > - do you have to write into the table often or only to initialize it? > > - I don't see why you'd want different clocks. �Are you trying to > generate signals? �Do they have different clock rates or just different > signal frequencies. �Is this a sine table? �or what? > > It seems to me that you might have a few architectural approaches here: > > Implement a single table that has as much resolution as you'll ever > need. �Then get data out of that table using appropriate address counters. > If you're simulating a high frequency then the counter increment will be > large. > If you're simulating a low frequency then the counter increment will be > small. > All at the same sample rate. > > If you need more speed (less delay between lookups), then you might set > up similar tables in parallel so that the lookups might be interleaved > or ... however that's done. > > If you divide the frequencies into two ranges then you might make the > table used for lower frequencies smaller as the number of samples needed > might be less. �But I'd have to wonder if just having tables all the > same size might not be easier. �Brute force with memory vs. some > addressing sophistication I guess.Hi Fred, I want to build a predistorter to linearize a data converter that runs at 800MS/s. The predistorter is formed iteratively according to some cost function until the whole system is linearized. So the requirements are the following: 1. The predistorter must run at the full speed of 800MS/s because the signal stream is passing through it. This is faster than the clock speed of current FPGAs. 2. The predistorter is adaptive and it should be updated at a lower rate of 1MHz. My question is about physical implementation. What is it that I can use as a predistorter/LUT/memory that has the above conditions? Note that interleaving relaxes the speed requirement of lookup function but it transfers the speed requirement to somewhere else and I still need to switch between different memories at the full speed. Thanks, Alireza
Reply by ●June 16, 20112011-06-16
On Jun 16, 12:21�am, Alireza <dastgh...@gmail.com> wrote:> I want to build a predistorter to linearize a data converterWhat on earth does that mean? If you want to linearize something in the ADC/DAC chain, why do it at the digital end? Wouldn't it make a lot more sense after the DAC stage, before or after the nonlinear component in the analog part of the chain?> that runs > at 800MS/s. The predistorter is formed iteratively according to some > cost function until the whole system is linearized.Is this an adaptive filter? If so, do you really need it to work on-line? Could you make do with a recorded training sequence to tune the filter? Rune
Reply by ●June 16, 20112011-06-16
Rune Allnor wrote:> On Jun 16, 12:21 am, Alireza <dastgh...@gmail.com> wrote: > > >>I want to build a predistorter to linearize a data converter > > > What on earth does that mean? If you want to linearize > something in the ADC/DAC chain, why do it at the digital > end? Wouldn't it make a lot more sense after the DAC stage, > before or after the nonlinear component in the analog > part of the chain?This is probably has to do with RF power amplifier linearization. This is quite popular area of research. The stupident is trying to solve the problem by brute force; with a naive hope that the static nonlinearity with adaptation could help the case. Vladimir Vassilevsky DSP and Mixed Signal Design Consultant http://www.abvolt.com
Reply by ●June 16, 20112011-06-16
On Jun 16, 6:33�am, Vladimir Vassilevsky <nos...@nowhere.com> wrote:> Rune Allnor wrote: > > On Jun 16, 12:21 am, Alireza <dastgh...@gmail.com> wrote: > > >>I want to build a predistorter to linearize a data converter > > > What on earth does that mean? If you want to linearize > > something in the ADC/DAC chain, why do it at the digital > > end? Wouldn't it make a lot more sense after the DAC stage, > > before or after the nonlinear component in the analog > > part of the chain? > > This is probably has to do with RF power amplifier linearization. This > is quite popular area of research. The stupident is trying to solve the > problem by brute force; with a naive hope that the static nonlinearity > with adaptation could help the case. > > Vladimir Vassilevsky > DSP and Mixed Signal Design Consultanthttp://www.abvolt.comWow ... do you think some of you (and I don't mean all of you) so called professionals can step off the belittle train for a moment to provide some guidance? We all started somewhere and rather than destroying this person's ego right out the gate ... maybe you could provide them the tools to approach this implementation in a constructive manner so that in the future he/she can grow from this and learn the proper steps to system designing. Any jack___ can insult someone for lack of experience and knowledge but it takes someone special to step out and extend a hand to someone who obviously needs it. Students don't need to be reminded of how "intelligent" you are ... they get it ... you know what you are doing ... and one day ... they'll be there one day too. I came on this thread because it looked like an interesting read ... NO I don't have any quality input into this subject because this isn't my area of research ... and if I know my average forum trolls ... this is where this entire post will get lost in the noise because the door has been opened to criticize me on my lack of knowledge in this area. I'm complentent in this arena but not fluent and if you feel that gives you reason to cut me down and COMPLETELY miss the point of helping out a person who needs it ... feel free ... I don't really care. One of many things I do understand is leading/mentoring ... so do us all a favor and I apologize for throwing out a classic here but stop being part of the problem with our youth and start being part of the solution ... And to all those who come on the site wanting someone else to solve their problems for them ... explain what you are doing and why (ex. student studies) and ask for direction ... not solutions ... it goes both ways ... you need to be humble in your approach but want to learn the correct way to tackle your particular design. I'm sorry I went on a bit of a rant there but I get bothered by how easily people want to tear someone apart rather than just give a bit of help to someone who usually needs it the most. I mean seriously ... are we all a bunch of know-it-all Trekkies on here or what (nerds with attitudes)? We sit here and use 5th grade playground tactics to cut down a "stupident" so that we can show our superiority and then expect to be taken seriously as a professional? If you want proof that most people who comment on forums are just wanting to criticize people and that you may be one of them ... think of this ... how many of you read this and were able to ignore the fact that I misspelled 'competent' earlier and just read the message for its content and not critique it? And how many of you were simply reading the words till the end so that you could quickly reply to it and point out how much of an idiot I must be since I didn't know how to spell it? I wonder ... S
Reply by ●June 16, 20112011-06-16
rickman <gnuarm@gmail.com> wrote:> I need to say this and please don't take offense, if you are > making such a fundamental error as this, it is pretty clear > that you don't know enough about FPGAs to complete any > practical project, much less one that will require the design > to work at 800 MSPS. I don't mean to be rude, but have you > considered hiring a consultant? Even if it is just someone > to show you how to do the project which you then do yourself, > it might be wise to keep someone knowledgeable in the loop to > sanity check your design until it is done.It might be that the OP is part of a group, or even the leader of a group, where others will complete the project. It seems to me that many group leaders don't understand the details enough to actually build the device. I was surprised how fast my multiple RAM suggestion went to multiple FPGAs. -- glen
Reply by ●June 16, 20112011-06-16
> > >Rune Allnor wrote: > >> On Jun 16, 12:21 am, Alireza <dastgh...@gmail.com> wrote: >> >> >>>I want to build a predistorter to linearize a data converter >> >> >> What on earth does that mean? If you want to linearize >> something in the ADC/DAC chain, why do it at the digital >> end? Wouldn't it make a lot more sense after the DAC stage, >> before or after the nonlinear component in the analog >> part of the chain? > >This is probably has to do with RF power amplifier linearization. This >is quite popular area of research. The stupident is trying to solve the >problem by brute force; with a naive hope that the static nonlinearity >with adaptation could help the case.He actually said he's trying to linearise an 800M sample/second data converter. Linearising power amps by lookup in a simplistic way brings benefits, although something more clever is needed to get big benefits. Linearity isn't really the problem with data converters, though. I bet his converter looks a lot more linear at DC than it does dynamically. :-) I wonder if close tone testing means anything to the original poster? Steve
Reply by ●June 16, 20112011-06-16
steveu <steveu@n_o_s_p_a_m.coppice.org> wrote: (snip, someone wrote)>>This is probably has to do with RF power amplifier linearization. This >>is quite popular area of research. The stupident is trying to solve the >>problem by brute force; with a naive hope that the static nonlinearity >>with adaptation could help the case.> He actually said he's trying to linearise an 800M sample/second data > converter. Linearising power amps by lookup in a simplistic way brings > benefits, although something more clever is needed to get big benefits. > Linearity isn't really the problem with data converters, though. I bet his > converter looks a lot more linear at DC than it does dynamically. :-) I > wonder if close tone testing means anything to the original poster?Hmmm. Can you directly generate a digitized FM radio waveform? Starting with sampled digitial audio, do the FM modulation (including the stereo subcarrier) all digitally, DAC directly into the RF amplifier(s). Would you correct for non-linearities in the RF amplifier in the digital signal before DAC? Even more, do you use the favorite CD player oversampling trick to simplify the filter after the DAC? 800MHz might be about right for broadcast FM. How fast are DACs now? You could correct for DAC non-linearities in the digital signal, too. Otherwise, this reminds me that digital cameras, as I understand it, have a ROM describing the different sensitivities of the CCD array cells so that can be corrected. Doing other corrections digitally, before DAC, seems to make some sense. Otherwise, with the usual FPGA dual-port RAM you could update at the full sample rate if needed. -- glen
Reply by ●June 17, 20112011-06-17
On Jun 16, 8:55�pm, "steveu" <steveu@n_o_s_p_a_m.coppice.org> wrote:> >Rune Allnor wrote: > > >> On Jun 16, 12:21 am, Alireza <dastgh...@gmail.com> wrote: > > >>>I want to build a predistorter to linearize a data converter > > >> What on earth does that mean? If you want to linearize > >> something in the ADC/DAC chain, why do it at the digital > >> end? Wouldn't it make a lot more sense after the DAC stage, > >> before or after the nonlinear component in the analog > >> part of the chain? > > >This is probably has to do with RF power amplifier linearization. This > >is quite popular area of research. The stupident is trying to solve the > >problem by brute force; with a naive hope that the static nonlinearity > >with adaptation could help the case. > > He actually said he's trying to linearise an 800M sample/second data > converter.That's the statement I don't understand: If this is all digital, then I can't see what the problem is: Exchange one codeword for another. Possibly throigh a LUT. If this *is* digital, and there *is* a problem, I can't see where the problem comes from: If the problem originates in the digital domain, then use some other LUT. But if you do that, the first LUT was off, pointing towards a flawed design of that first LUT. But then I ask why one would need adaption: If one gets it right once, in digital domain, there will be no need to introduce adaptions. So why does one need adaptive methods at all? That is usually associated with stuff that varies in the analog domain. And if *that* is the case, why do the correction in digital domain?> Linearising power amps by lookup in a simplistic way brings > benefits, although something more clever is needed to get big benefits. > Linearity isn't really the problem with data converters, though.Rune
Reply by ●June 17, 20112011-06-17
On Jun 16, 8:02�pm, vbplaya <shansen....@gmail.com> wrote:> On Jun 16, 6:33�am, Vladimir Vassilevsky <nos...@nowhere.com> wrote: > > > > > > > Rune Allnor wrote: > > > On Jun 16, 12:21 am, Alireza <dastgh...@gmail.com> wrote: > > > >>I want to build a predistorter to linearize a data converter > > > > What on earth does that mean? If you want to linearize > > > something in the ADC/DAC chain, why do it at the digital > > > end? Wouldn't it make a lot more sense after the DAC stage, > > > before or after the nonlinear component in the analog > > > part of the chain? > > > This is probably has to do with RF power amplifier linearization. This > > is quite popular area of research. The stupident is trying to solve the > > problem by brute force; with a naive hope that the static nonlinearity > > with adaptation could help the case. > > > Vladimir Vassilevsky > > DSP and Mixed Signal Design Consultanthttp://www.abvolt.com > > Wow ... do you think some of you (and I don't mean all of you) so > called professionals can step off the belittle train for a moment to > provide some guidance? �We all started somewhere and rather than > destroying this person's ego right out the gate ... maybe you could > provide them the tools to approach this implementation in a > constructive manner so that in the future he/she can grow from this > and learn the proper steps to system designing. �The OP needs some learning: 1) To state a comprehensable question 2) To research present state of the art 3) To contemplate the problem in search of incoherencies There are plenty of people around who wasted their efforts on problems that obvioulsy had no chance of succeeding. It's sad, but these days, staying away from the bad projects easily accounts for >> 90% of a half successful carreer. Rune







