cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sofiene
Contributor
Contributor
6,322 Views
Registered: ‎06-03-2011

M-Code block in Simulink/System Generator VS AccelDSP tool

Jump to solution

Hello

 

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?

___

Regards

Sofiene

0 Kudos
1 Solution

Accepted Solutions
sofiene
Contributor
Contributor
7,136 Views
Registered: ‎06-03-2011

@sofiene wrote:
 

Also can I use the above mentioned Matlab functions directly in AccelDSP ?


http://www.xilinx.com/support/documentation/white_papers/wp240.pdf

View solution in original post

0 Kudos
4 Replies
bwiec
Xilinx Employee
Xilinx Employee
6,317 Views
Registered: ‎08-02-2011

Hello,

 

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.

www.xilinx.com
0 Kudos
sofiene
Contributor
Contributor
6,313 Views
Registered: ‎06-03-2011

 

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 ?

___

Regards

Sofiene

0 Kudos
eilert
Teacher
Teacher
6,308 Views
Registered: ‎08-14-2007

Hi Sofiene.

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.

 

Cheers

  Eilert

0 Kudos
sofiene
Contributor
Contributor
7,137 Views
Registered: ‎06-03-2011

@sofiene wrote:
 

Also can I use the above mentioned Matlab functions directly in AccelDSP ?


http://www.xilinx.com/support/documentation/white_papers/wp240.pdf

View solution in original post

0 Kudos