SlideShare a Scribd company logo
1 of 31
Download to read offline
Matlab to VHDL
Code Conversion
A Tutorial by:
http://appliedelectronicsengineering.blogspot.com
VHDL
Introduction
In this tutorial we show how a to write a
Matlab function code and covert it to a VHDL
code. We will write a simple multiplexer
code for the purpose of illustration.
Send Feedback to:
http://appliedelectronicsengineering.blogspot.com
• Create a new Project in Matlab
and create a Function File
named mux_func(a,b,sel)
• Save the function file with name
mux_func.m
Step1: Create a Function File
http://appliedelectronicsengineering.blogspot.com
• Create another script file enter
the code as shown
• Save the script file with some
name like test.m
• This script file is used to test the
function mux_func that was
created earlier
Step 2: Create a script file
http://appliedelectronicsengineering.blogspot.com
• Run the test file to ensure
that the function works as
intended
• To do this just click on the
Run button in the Editor tab
Step 3: Run the Test file
Run
Editor
Tab
http://appliedelectronicsengineering.blogspot.com
Select the APPS tab and click on the HDL Coder
Step 4: Select HDL Coder
Step 5: Specify Project Name to your
HDL Code Project
Once you click the HDL coder in step 4 a window will pop up just like the
one below where you can specify a project name for you HDL coder
project with the name of your choosing. In this case mux_hdl was given
as project name
Step 6: Select File to Convert
The HDL Coder screen will open as shown
http://appliedelectronicsengineering.blogspot.com
Browse for the Files
Click here to Add
MATLAB function
Add the function file
mux_func to convert
Browse and select the mux_func function file
Click on
WorkFlow
Advisor
Similarly add the test.m file
Step 7: Convert matlab function to HDL using
Workflow Advisor
Matlab to vhdl
Matlab to vhdl
Matlab to vhdl
Matlab to vhdl
Matlab to vhdl
Matlab to vhdl
Matlab to vhdl
Matlab to vhdl
Matlab to vhdl
Matlab to vhdl
Matlab to vhdl
Matlab to vhdl
Matlab to vhdl
Matlab to vhdl
Matlab to vhdl
Matlab to vhdl
Matlab to vhdl
Matlab to vhdl

More Related Content

What's hot

Verilog operators.pptx
Verilog  operators.pptxVerilog  operators.pptx
Verilog operators.pptxVandanaPagar1
 
Microphone and its characteristics.pdf
Microphone and its characteristics.pdfMicrophone and its characteristics.pdf
Microphone and its characteristics.pdfEngineering Funda
 
Module4: opamp as a V-I & I-V Converter
Module4:  opamp as a V-I & I-V ConverterModule4:  opamp as a V-I & I-V Converter
Module4: opamp as a V-I & I-V Converterchandrakant shinde
 
Analog modulation
Analog modulationAnalog modulation
Analog modulationvish0110
 
Eeg(electroencephalogram)
Eeg(electroencephalogram)Eeg(electroencephalogram)
Eeg(electroencephalogram)JAKIR MALLICK
 
DAC , Digital to analog Converter
DAC , Digital to analog ConverterDAC , Digital to analog Converter
DAC , Digital to analog ConverterHossam Zein
 
EEG guest lecture_iub_eee541
EEG guest lecture_iub_eee541EEG guest lecture_iub_eee541
EEG guest lecture_iub_eee541Md Kafiul Islam
 
Op amp applications filters cw final
Op amp applications filters cw finalOp amp applications filters cw final
Op amp applications filters cw finalJUNAID SK
 
The analog to digital conversion process
The analog to digital conversion processThe analog to digital conversion process
The analog to digital conversion processDJNila
 
Medical applications of dsp
Medical applications of dspMedical applications of dsp
Medical applications of dspkanusinghal3
 
Removal of artifacts in EEG by averaging and
Removal of artifacts in EEG by averaging andRemoval of artifacts in EEG by averaging and
Removal of artifacts in EEG by averaging andNamratha Dcruz
 
Dual Slope ADC.pptx
Dual Slope ADC.pptxDual Slope ADC.pptx
Dual Slope ADC.pptxhepzijustin
 
Data Communication & Computer network: Shanon fano coding
Data Communication & Computer network: Shanon fano codingData Communication & Computer network: Shanon fano coding
Data Communication & Computer network: Shanon fano codingDr Rajiv Srivastava
 

What's hot (20)

Verilog operators.pptx
Verilog  operators.pptxVerilog  operators.pptx
Verilog operators.pptx
 
EEG artefacts
EEG artefactsEEG artefacts
EEG artefacts
 
Butterworth filter
Butterworth filterButterworth filter
Butterworth filter
 
Oscillator
OscillatorOscillator
Oscillator
 
Microphone and its characteristics.pdf
Microphone and its characteristics.pdfMicrophone and its characteristics.pdf
Microphone and its characteristics.pdf
 
Module4: opamp as a V-I & I-V Converter
Module4:  opamp as a V-I & I-V ConverterModule4:  opamp as a V-I & I-V Converter
Module4: opamp as a V-I & I-V Converter
 
Analog modulation
Analog modulationAnalog modulation
Analog modulation
 
Measuring Jitter Using Phase Noise Techniques
Measuring Jitter Using Phase Noise TechniquesMeasuring Jitter Using Phase Noise Techniques
Measuring Jitter Using Phase Noise Techniques
 
Eeg(electroencephalogram)
Eeg(electroencephalogram)Eeg(electroencephalogram)
Eeg(electroencephalogram)
 
DAC , Digital to analog Converter
DAC , Digital to analog ConverterDAC , Digital to analog Converter
DAC , Digital to analog Converter
 
EEG guest lecture_iub_eee541
EEG guest lecture_iub_eee541EEG guest lecture_iub_eee541
EEG guest lecture_iub_eee541
 
Op amp applications filters cw final
Op amp applications filters cw finalOp amp applications filters cw final
Op amp applications filters cw final
 
The analog to digital conversion process
The analog to digital conversion processThe analog to digital conversion process
The analog to digital conversion process
 
EEG Amplifiers
EEG AmplifiersEEG Amplifiers
EEG Amplifiers
 
Eeg
EegEeg
Eeg
 
Medical applications of dsp
Medical applications of dspMedical applications of dsp
Medical applications of dsp
 
Removal of artifacts in EEG by averaging and
Removal of artifacts in EEG by averaging andRemoval of artifacts in EEG by averaging and
Removal of artifacts in EEG by averaging and
 
Channel coding
Channel coding  Channel coding
Channel coding
 
Dual Slope ADC.pptx
Dual Slope ADC.pptxDual Slope ADC.pptx
Dual Slope ADC.pptx
 
Data Communication & Computer network: Shanon fano coding
Data Communication & Computer network: Shanon fano codingData Communication & Computer network: Shanon fano coding
Data Communication & Computer network: Shanon fano coding
 

Viewers also liked

TRAFFIC CODE MATLAB Function varargouttraffic code
TRAFFIC CODE MATLAB Function varargouttraffic codeTRAFFIC CODE MATLAB Function varargouttraffic code
TRAFFIC CODE MATLAB Function varargouttraffic codeYograj Ghodekar
 
Dba matlab code
Dba matlab codeDba matlab code
Dba matlab codebooterboot
 
Sistema cardiovascular by Danusa Menegaz
Sistema cardiovascular by Danusa MenegazSistema cardiovascular by Danusa Menegaz
Sistema cardiovascular by Danusa MenegazDanusa Menegaz
 
QPatch By Sophion
QPatch By SophionQPatch By Sophion
QPatch By Sophionchrismathes
 
Putting Learners First (Revised and Updated 10/22/15)
Putting Learners First (Revised and Updated 10/22/15)Putting Learners First (Revised and Updated 10/22/15)
Putting Learners First (Revised and Updated 10/22/15)David Blake
 
Pca matlab code_matlab_central
Pca matlab code_matlab_centralPca matlab code_matlab_central
Pca matlab code_matlab_centraldkkamat
 
Matlab code of chapter 4
Matlab code of chapter 4Matlab code of chapter 4
Matlab code of chapter 4Mohamed El Kiki
 
Matlab code of chapter 4
Matlab code of chapter 4Matlab code of chapter 4
Matlab code of chapter 4Abdo Khalaf
 
Code matlab mô phỏng dung lượng kênh truy ền reyleght trong kĩ thuật mimo
Code matlab mô phỏng dung lượng kênh truy ền reyleght trong kĩ thuật mimoCode matlab mô phỏng dung lượng kênh truy ền reyleght trong kĩ thuật mimo
Code matlab mô phỏng dung lượng kênh truy ền reyleght trong kĩ thuật mimoPTIT HCM
 
Bioelectric Communication Between Neurons
Bioelectric Communication Between NeuronsBioelectric Communication Between Neurons
Bioelectric Communication Between NeuronsLuís Rita
 
Understanding and Developing Web Services - For DBAs and Developers (whitepaper)
Understanding and Developing Web Services - For DBAs and Developers (whitepaper)Understanding and Developing Web Services - For DBAs and Developers (whitepaper)
Understanding and Developing Web Services - For DBAs and Developers (whitepaper)Revelation Technologies
 
Patch-Clamp by Menegaz Danusa Ph.D
Patch-Clamp by Menegaz Danusa Ph.DPatch-Clamp by Menegaz Danusa Ph.D
Patch-Clamp by Menegaz Danusa Ph.DDanusa Menegaz
 
Satellite link-budget-analysis-matlab-code
Satellite link-budget-analysis-matlab-codeSatellite link-budget-analysis-matlab-code
Satellite link-budget-analysis-matlab-codevijaya selvan sundaram
 
IGARSS2011_SWOT_mesoscale_morrow.ppt
IGARSS2011_SWOT_mesoscale_morrow.pptIGARSS2011_SWOT_mesoscale_morrow.ppt
IGARSS2011_SWOT_mesoscale_morrow.pptgrssieee
 
Matlab code for comparing two microphone files
Matlab code for comparing two microphone filesMatlab code for comparing two microphone files
Matlab code for comparing two microphone filesMinh Anh Nguyen
 
Basics of edge detection and forier transform
Basics of edge detection and forier transformBasics of edge detection and forier transform
Basics of edge detection and forier transformSimranjit Singh
 

Viewers also liked (20)

TRAFFIC CODE MATLAB Function varargouttraffic code
TRAFFIC CODE MATLAB Function varargouttraffic codeTRAFFIC CODE MATLAB Function varargouttraffic code
TRAFFIC CODE MATLAB Function varargouttraffic code
 
Dba matlab code
Dba matlab codeDba matlab code
Dba matlab code
 
Sistema cardiovascular by Danusa Menegaz
Sistema cardiovascular by Danusa MenegazSistema cardiovascular by Danusa Menegaz
Sistema cardiovascular by Danusa Menegaz
 
QPatch By Sophion
QPatch By SophionQPatch By Sophion
QPatch By Sophion
 
Putting Learners First (Revised and Updated 10/22/15)
Putting Learners First (Revised and Updated 10/22/15)Putting Learners First (Revised and Updated 10/22/15)
Putting Learners First (Revised and Updated 10/22/15)
 
Matlab code for secant method
Matlab code for secant methodMatlab code for secant method
Matlab code for secant method
 
Pca matlab code_matlab_central
Pca matlab code_matlab_centralPca matlab code_matlab_central
Pca matlab code_matlab_central
 
Matlab code of chapter 4
Matlab code of chapter 4Matlab code of chapter 4
Matlab code of chapter 4
 
Matlab code of chapter 4
Matlab code of chapter 4Matlab code of chapter 4
Matlab code of chapter 4
 
Code matlab mô phỏng dung lượng kênh truy ền reyleght trong kĩ thuật mimo
Code matlab mô phỏng dung lượng kênh truy ền reyleght trong kĩ thuật mimoCode matlab mô phỏng dung lượng kênh truy ền reyleght trong kĩ thuật mimo
Code matlab mô phỏng dung lượng kênh truy ền reyleght trong kĩ thuật mimo
 
Bioelectric Communication Between Neurons
Bioelectric Communication Between NeuronsBioelectric Communication Between Neurons
Bioelectric Communication Between Neurons
 
Matlab code for crout method
Matlab code for crout methodMatlab code for crout method
Matlab code for crout method
 
DFT and IDFT Matlab Code
DFT and IDFT Matlab CodeDFT and IDFT Matlab Code
DFT and IDFT Matlab Code
 
Understanding and Developing Web Services - For DBAs and Developers (whitepaper)
Understanding and Developing Web Services - For DBAs and Developers (whitepaper)Understanding and Developing Web Services - For DBAs and Developers (whitepaper)
Understanding and Developing Web Services - For DBAs and Developers (whitepaper)
 
Patch-Clamp by Menegaz Danusa Ph.D
Patch-Clamp by Menegaz Danusa Ph.DPatch-Clamp by Menegaz Danusa Ph.D
Patch-Clamp by Menegaz Danusa Ph.D
 
Satellite link-budget-analysis-matlab-code
Satellite link-budget-analysis-matlab-codeSatellite link-budget-analysis-matlab-code
Satellite link-budget-analysis-matlab-code
 
IGARSS2011_SWOT_mesoscale_morrow.ppt
IGARSS2011_SWOT_mesoscale_morrow.pptIGARSS2011_SWOT_mesoscale_morrow.ppt
IGARSS2011_SWOT_mesoscale_morrow.ppt
 
Modulation techniques matlab_code
Modulation techniques matlab_codeModulation techniques matlab_code
Modulation techniques matlab_code
 
Matlab code for comparing two microphone files
Matlab code for comparing two microphone filesMatlab code for comparing two microphone files
Matlab code for comparing two microphone files
 
Basics of edge detection and forier transform
Basics of edge detection and forier transformBasics of edge detection and forier transform
Basics of edge detection and forier transform
 

Similar to Matlab to vhdl

Selenium Training in Chennai Demo Part-2
Selenium Training in Chennai Demo Part-2 Selenium Training in Chennai Demo Part-2
Selenium Training in Chennai Demo Part-2 Thecreating Experts
 
Integrate matlab application into python
Integrate matlab application into pythonIntegrate matlab application into python
Integrate matlab application into pythonMahammad Haneef
 
PVS-Studio in the Clouds: Azure DevOps
PVS-Studio in the Clouds: Azure DevOpsPVS-Studio in the Clouds: Azure DevOps
PVS-Studio in the Clouds: Azure DevOpsAndrey Karpov
 
.NET Portfolio
.NET Portfolio.NET Portfolio
.NET Portfoliomwillmer
 
Writing your own WordPress themes and plugins
Writing your own WordPress themes and pluginsWriting your own WordPress themes and plugins
Writing your own WordPress themes and pluginsStephanie Wells
 
Web technology practical list
Web technology practical listWeb technology practical list
Web technology practical listdesaipratu10
 
Workshop: Creating your first WordPress plugin
Workshop: Creating your first WordPress pluginWorkshop: Creating your first WordPress plugin
Workshop: Creating your first WordPress pluginylefebvre
 
Tutorial_Python1.pdf
Tutorial_Python1.pdfTutorial_Python1.pdf
Tutorial_Python1.pdfMuzamilFaiz
 
Model View Presenter (MVP) In Aspnet
Model View Presenter (MVP) In AspnetModel View Presenter (MVP) In Aspnet
Model View Presenter (MVP) In Aspnetrainynovember12
 
2-Vb.net Basic Concepts and structure of .net code.pptx
2-Vb.net Basic Concepts and structure of .net code.pptx2-Vb.net Basic Concepts and structure of .net code.pptx
2-Vb.net Basic Concepts and structure of .net code.pptxUsama182938
 
Introduction to Behavior Driven Development
Introduction to Behavior Driven Development Introduction to Behavior Driven Development
Introduction to Behavior Driven Development Robin O'Brien
 
Angular - Chapter 3 - Components
Angular - Chapter 3 - ComponentsAngular - Chapter 3 - Components
Angular - Chapter 3 - ComponentsWebStackAcademy
 
PT1420 File Access and Visual Basic .docx
PT1420 File Access and Visual Basic                      .docxPT1420 File Access and Visual Basic                      .docx
PT1420 File Access and Visual Basic .docxamrit47
 

Similar to Matlab to vhdl (20)

Selenium Training in Chennai Demo Part-2
Selenium Training in Chennai Demo Part-2 Selenium Training in Chennai Demo Part-2
Selenium Training in Chennai Demo Part-2
 
Integrate matlab application into python
Integrate matlab application into pythonIntegrate matlab application into python
Integrate matlab application into python
 
PVS-Studio in the Clouds: Azure DevOps
PVS-Studio in the Clouds: Azure DevOpsPVS-Studio in the Clouds: Azure DevOps
PVS-Studio in the Clouds: Azure DevOps
 
.NET Portfolio
.NET Portfolio.NET Portfolio
.NET Portfolio
 
Web works hol
Web works holWeb works hol
Web works hol
 
Writing your own WordPress themes and plugins
Writing your own WordPress themes and pluginsWriting your own WordPress themes and plugins
Writing your own WordPress themes and plugins
 
Web technology practical list
Web technology practical listWeb technology practical list
Web technology practical list
 
008.module
008.module008.module
008.module
 
Les24
Les24Les24
Les24
 
It 237 it237
It 237 it237It 237 it237
It 237 it237
 
Workshop: Creating your first WordPress plugin
Workshop: Creating your first WordPress pluginWorkshop: Creating your first WordPress plugin
Workshop: Creating your first WordPress plugin
 
Tutorial_Python1.pdf
Tutorial_Python1.pdfTutorial_Python1.pdf
Tutorial_Python1.pdf
 
Model View Presenter (MVP) In Aspnet
Model View Presenter (MVP) In AspnetModel View Presenter (MVP) In Aspnet
Model View Presenter (MVP) In Aspnet
 
os-php-wiki5-a4
os-php-wiki5-a4os-php-wiki5-a4
os-php-wiki5-a4
 
os-php-wiki5-a4
os-php-wiki5-a4os-php-wiki5-a4
os-php-wiki5-a4
 
2-Vb.net Basic Concepts and structure of .net code.pptx
2-Vb.net Basic Concepts and structure of .net code.pptx2-Vb.net Basic Concepts and structure of .net code.pptx
2-Vb.net Basic Concepts and structure of .net code.pptx
 
Introduction to Behavior Driven Development
Introduction to Behavior Driven Development Introduction to Behavior Driven Development
Introduction to Behavior Driven Development
 
ASP DOT NET
ASP DOT NETASP DOT NET
ASP DOT NET
 
Angular - Chapter 3 - Components
Angular - Chapter 3 - ComponentsAngular - Chapter 3 - Components
Angular - Chapter 3 - Components
 
PT1420 File Access and Visual Basic .docx
PT1420 File Access and Visual Basic                      .docxPT1420 File Access and Visual Basic                      .docx
PT1420 File Access and Visual Basic .docx
 

Recently uploaded

KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringmulugeta48
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdfKamal Acharya
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfRagavanV2
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Christo Ananth
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 

Recently uploaded (20)

KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bangalore ☎ 7737669865 🥵 Book Your One night Stand
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 

Matlab to vhdl

  • 1. Matlab to VHDL Code Conversion A Tutorial by: http://appliedelectronicsengineering.blogspot.com VHDL
  • 2. Introduction In this tutorial we show how a to write a Matlab function code and covert it to a VHDL code. We will write a simple multiplexer code for the purpose of illustration. Send Feedback to: http://appliedelectronicsengineering.blogspot.com
  • 3. • Create a new Project in Matlab and create a Function File named mux_func(a,b,sel) • Save the function file with name mux_func.m Step1: Create a Function File http://appliedelectronicsengineering.blogspot.com
  • 4. • Create another script file enter the code as shown • Save the script file with some name like test.m • This script file is used to test the function mux_func that was created earlier Step 2: Create a script file http://appliedelectronicsengineering.blogspot.com
  • 5. • Run the test file to ensure that the function works as intended • To do this just click on the Run button in the Editor tab Step 3: Run the Test file Run Editor Tab http://appliedelectronicsengineering.blogspot.com
  • 6. Select the APPS tab and click on the HDL Coder Step 4: Select HDL Coder
  • 7. Step 5: Specify Project Name to your HDL Code Project Once you click the HDL coder in step 4 a window will pop up just like the one below where you can specify a project name for you HDL coder project with the name of your choosing. In this case mux_hdl was given as project name
  • 8. Step 6: Select File to Convert The HDL Coder screen will open as shown http://appliedelectronicsengineering.blogspot.com
  • 9. Browse for the Files Click here to Add MATLAB function Add the function file mux_func to convert
  • 10. Browse and select the mux_func function file
  • 12. Similarly add the test.m file
  • 13. Step 7: Convert matlab function to HDL using Workflow Advisor