09-22-2011 06:37 AM
I want to ask about Matlab functions that are supported in Xilinx M-Code block in Simulink/System Generator, for example can I use directly qammod(), fft(), awgn(), cos(), sqrt(), gaussfir() and more other functions (for modulation, channels, mathematic operations, estimation, …) for communication and signal processing
What are the limits of Xilinx M-Code block in Simulink in communication and signal processing programming?
What difference between Xilinx M-Code block in Simulink/System Generator and AccelDSP tool?
What tool is most required for communication and signal processing programming?
09-25-2011 09:31 AM
09-22-2011 09:26 AM
See page 47 of the SysGen User's guide (UG640) for a section titled "Compiling MATLAB into an FPGA"
This should answer most of your questions and gives examples.
Also see page 234 of the SysGen Reference Guide UG638 for a section called "MCode" which states:
"The MCode block supports a limited subset of the MATLAB language that is useful for
implementing arithmetic functions, finite state machines and control logic."
Also, most of those functions already have a SysGen block, so you shouldn't have to build them yourself.
09-22-2011 03:16 PM
OK, it's clear
But what about AccelDSP tool ?
What difference between Xilinx M-Code block in Simulink/System Generator and AccelDSP tool ?
What tool is most required for communication and signal processing programming ?
Also can I use the above mentioned Matlab functions directly in AccelDSP ?
09-23-2011 05:10 AM
a little abridgement from Moty Pythons "Dead Parrot Sketch":
Mr. Praline: 'E's not pinin'! 'E's passed on! This parrot is no more! He has ceased to be! 'E's expired and gone to meet 'is maker! 'E's a stiff! Bereft of life, 'e rests in peace! If you hadn't nailed 'im to the perch 'e'd be pushing up the daisies! 'Is metabolic processes are now 'istory! 'E's off the twig! 'E's kicked the bucket, 'e's shuffled off 'is mortal coil, run down the curtain and joined the bleedin' choir invisibile!! THIS IS AN EX-PARROT!!
Feel free to exchange "E's" by "AccelDSP is" and "parrot" by "tool". ;-)
However for someone who has worked with AccelDSP it might be useful to know how to migrate to Sysgen.
If you are beginning with DSP design, just don't care about rotten parrot corpses.
09-25-2011 09:31 AM