Presentation is loading. Please wait.

Presentation is loading. Please wait.

STATEFLOW AND SIMULINK TO VERILOG COSIMULATION OF SOME EXAMPLES

Similar presentations


Presentation on theme: "STATEFLOW AND SIMULINK TO VERILOG COSIMULATION OF SOME EXAMPLES"— Presentation transcript:

1 STATEFLOW AND SIMULINK TO VERILOG COSIMULATION OF SOME EXAMPLES
Student: Pham Van Dung Professor: Chi-Jo Wang

2 Overview Project Description HDL Simulink coder
Simulink Toolbox and Implementation Introduction PID Park Transform Stateflow Toolbox and Implementation Sum of Product Conclusion Limitations Future work References

3 Project Description In recently years, a new methodology for designing chips was in the middle stages of development at some Research Center all over the world. It was conceived to change many of the perceptions and experiences associated with building the digital portion of such a device. This research effort was to find a way to quickly and reliably build direct-mapped hardware. Such an approach would yield much shorter design cycles and benefit from the increased energy efficiency of dedicated hardware. It was this realization that spawned this research project. HDL Simulink coder, a Stateflow and Simulink to HDL translator, was designed to convert a description of a state machine or simulink model into a hardware description (HDL). The goal of this project was to provide a quick and easy path from state machine description or Simulink model to hardware with a reasonable amount of area and power inefficiency over hand-written VHDL.

4 HDL Simulink coder HDL Coder generates portable, synthesizable Verilog and VHDL code from MATLAB functions, Simulink models, and Stateflow charts. The generated HDL code can be used for FPGA programming or ASIC prototyping and design. HDL Coder provides a workflow advisor that automates the programming of Xilinx and Altera FPGAs. You can control HDL architecture and implementation, highlight critical paths, and generate hardware resource utilization estimates. HDL Coder provides traceability between your Simulink model and the generated Verilog and VHDL code, enabling code verification for high-integrity applications adhering to DO- 254 and other standards.

5 Simulink Toolbox and Implementation
Simulink, as shown in Fig 1, also developed by MathWorks, is a commercial tool for modeling, simulating and analyzing multi domain dynamic systems. Its primary interface is a graphical block diagramming tool and a customizable set of block libraries. It offers tight integration with the rest of the MATLAB environment and can either drive MATLAB or be scripted from it. Simulink is widely used in control theory and digital signal processing for multi-domain simulation and Model-Based Design.

6 Vehicle Electrical and Climate Control Systems using Simulink toolbox

7 PID and Implementation
A “proportional–integral–derivative controller” (PID controller) shown in Fig 2 is a generic control loop feedback mechanism (controller) widely used in industrial control systems. It is the most commonly used feedback controller. It calculates an "error" value as the difference between a measured process variable and a desired setpoint. The controller attempts to minimize the error by adjusting the process control inputs. PID controller

8 Where Kp is proportional gain
and Ki is integral gain.

9


Download ppt "STATEFLOW AND SIMULINK TO VERILOG COSIMULATION OF SOME EXAMPLES"

Similar presentations


Ads by Google