{"id":27183,"date":"2019-09-09T15:42:38","date_gmt":"2019-09-09T22:42:38","guid":{"rendered":"https:\/\/blog.digilentinc.com\/?p=27183"},"modified":"2020-12-21T11:22:46","modified_gmt":"2020-12-21T19:22:46","slug":"algorithm-development-with-matlab-simulink-and-zynq","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/algorithm-development-with-matlab-simulink-and-zynq\/","title":{"rendered":"Algorithm Development with Matlab\/Simulink and Zynq"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"600\" height=\"513\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2019\/06\/zedboardmathworks.jpg\" alt=\"\" class=\"wp-image-27191\"\/><\/figure>\n\n\n\n<p>One of the strengths of using FPGA and SoC based products is the ability to develop custom solutions through innovating new algorithms. A developer, for example,  may want to spin a motor more efficiently, be able to process camera images more efficiently or filter radio signals faster than what current silicon solutions exist on the market. Unliked fixed solutions, such as DSP or application specific processors; FPGA hardware offers a flexible hardware platform that enables the prototyping of a new algorithm and allows continual updating of that algorithm as the development process continues. <\/p>\n\n\n\n<p><strong>MATLAB<\/strong> (Matrix Laboratory) has been the programming language of choice for algorithm development and implementation.  Not only is it a programming language, but it is also a programming environment and includes a tool called, <strong><a href=\"https:\/\/www.mathworks.com\/products\/simulink.html\">Simulink<\/a><\/strong>. Simulink was initially designed as a simulation engine, and allows algorithm developers to evaluate the models which they designed with a variety of factors influencing the design. Beyond simulation, Simulink also has the capability to deploy algorithms to hardware with the help of tools such as HDL Coder to products , such as Xilinx FPGAs and SoCs.<\/p>\n\n\n\n<p><strong>Simulink&nbsp;Capabilities<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Integrated Hardware \/ Software workflow for Zynq and FPGA designs<\/li><li>Automatic HDL Code generation<\/li><li>Automatic C Code generation<\/li><li>Automatic interface logic and code generation<\/li><\/ul>\n\n\n\n<p>Simulink is used to help address issues such as converting floating point to fixed point designs, timing issues, integration of control logic, analog component considerations and combining existing algorithmic IP. <\/p>\n\n\n\n<p>Mathworks is offering a worldwide workshop on using MATLAB\/Simulink with Xilinx Zynq designs. The workshop is two days, hands-on-instruction where all attendees receive (and get to keep) a Zedboard and a copy of the Matlab license. Participants will go through an entire workflow using Matlab, Simulink (Embedded and HDL Coders) and be able to interact with an instructor along the way.  Topics covered are the following: <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Zynq platform overview and environment setup<\/li><li>Introduction to Embedded Coder and HDL Coder<\/li><li>IP core generation and deployment<\/li><li>Using AXI4 interface<\/li><li>Processor-in-the-loop verification<\/li><li>Data interface with real-time application<\/li><li>Integrating device drivers<\/li><li>Custom reference design<\/li><\/ul>\n\n\n\n<p>To learn more, preview the course and the register, please visit <a href=\"https:\/\/www.mathworks.com\/training-schedule\/programming-xilinx-zynq-socs-with-matlab-and-simulink.html\">Mathworks!<\/a><\/p>\n\n\n\n<figure class=\"wp-block-video aligncenter\"><video controls src=\"https:\/\/www.mathworks.com\/videos\/course-preview-programming-xilinx-zynq-socs-with-matlab-and-simulink-117006.html\"><\/video><figcaption>preview course at mathworks.com\/zynq-training<\/figcaption><\/figure>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-27183 jlk' data-task='like' data-post_id='27183' data-nonce='ac068a413b' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-27183 lc'>+4<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-27183 jlk' data-task='unlike' data-post_id='27183' data-nonce='ac068a413b' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-27183 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-27183 status align-left'><\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Check out this great workshop opportunity!<\/p>\n","protected":false},"author":2,"featured_media":27191,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4323,1563],"tags":[],"ppma_author":[4470],"class_list":["post-27183","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","category-guide"],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2019\/06\/zedboardmathworks.jpg","jetpack_sharing_enabled":true,"authors":[{"term_id":4470,"user_id":2,"is_guest":0,"slug":"larissa","display_name":"Larissa Swanland","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/5f61b3eec23600758fbff3f5d93b1747629d804ba07aa739844b484018ff6786?s=96&d=mm&r=g","1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":"","9":"","10":""}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/27183","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=27183"}],"version-history":[{"count":0,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/27183\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/27191"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=27183"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=27183"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=27183"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=27183"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}