Need Help Determining Schematic Size

Hello,

I'm an EXTREME newbie and trying to compile my FIRST schematic with Sigma Studio, so please be patient with me... Slight smile

I'm using an ADAU1701 evaluation board with the following schematic.

I'm fairly certain that I've exceeded the program memory of the ADAU1701 and will ultimately need different hardware to run this schematic, however my problem lies here. I can't seem to locate inside Sigma Studio how large my schematic is. How can I determine the size of the schematic and then use that to evaluate the correct hardware I'd need to run this schematic?

Thanks for your help!

Parents
  • +1
    •  Super User 
    on Jul 28, 2021 9:33 AM

         Hello,

         As you have discovered, the compiler for Sigma100 parts like the ADAU1701 doesn't report instruction usage within the program.  Likely when you compiled your schematic you received an error message like this:

    Sometimes the error box discloses the extent of the overage -- but it appears that in this case, the compiler choked when attempting to fit the first FIR filter so it never got to that point.  Thus if your application has a specific need for long FIR filters, you'll definitely need a larger DSP to run it.  And in turn, you're asking the right question -- how much larger?  ADI's more powerful DSPs not only can fit more instructions than the -1701, they also perform some operations more efficiently.  Thus, although it's possible to infer how many -1701 instructions your project uses, it's not particularly helpful to apply it to other DSPs.  Instead, we can simply try some other devices till we find one that works.

         When an application outgrows the -1701, often the go-to part is a Sigma300 DSP like the ADAU1452.  It runs at nearly 300 MIPS, allowing many more instructions between samples compared to the 1701's 50 MIPS.  Also, its four cores and something called SIMD (same instructions, multiple data) allow similar operations to run in parallel.  Its main downsides are what you might expect -- it uses more power and doesn't have built-in converters, so you need to add codec chips like the AD1938 to complete the design.  I love the -1701, yet sometimes we need to go large.

         And last but not least, the Sigma300 compiler does report resource usage in SigmaStudio's Output window.  I tried a quick test compile and the filters fit with plenty of room to spare.  Just to make sure, go ahead and rebuild your project with this chip and see.

         Finally, those who are staying with the -1701 and need to quantify instruction usage may find this post helpful (although it won't work if the compiler gets blown away):

    https://ez.analog.com/dsp/sigmadsp/f/q-a/112432/adau1701-size-program-trouble/335882#335882

         Best regards,

         Bob

  • Bob,

    Thanks so much for your detailed reply! This definitely helps me get down the right path.

Reply Children
No Data