SlideShare a Scribd company logo
• Click to editgMasterstext u s i n g V H D L
             D i i t a l D e i g n styles
    – Second level      Tutorial [1]
       • Third level
           – Fourth level
               » Fifth level



                                       Introduced by
Using ModelSim SE
       [1]
                                                                    Cairo-Egypt

                                                       Version 03 – June 2012 1
about Start Group


• Click to edit Master text styles
  Mahmoud Abdellatif
  – Second level
  Alaa Salah Shehata
     • Third Salah
  Mohamed level
  Mohamed Talaat
         – Fourth level
               » Fifth level
    start.courses@gmail.com               www.slideshare.net/StartGroup

    www.facebook.com/groups/start.group

    www.startgroup.weebly.com

   + 02 0122-4504158 M.A                  www.youtube.com/StartGroup2011
   + 02 0128-0090250 A.S

                                Tutorial [1]                               2
ModelSim Tutorial


• Click to edit Master text styles and Toolbars
                               Menus


   – Second level
      WorkSpace
      • Third level
      Projects, Files, Libraries
            – Fourth level
      used is shown here
                » Fifth level




                    Transcript Area
                    All ModelSim ordered is
                    written here in TCL script         Double Click on
                                                     ModelSim Icon on your
                                                           Desktop
                                      Tutorial [1]                       3
ModelSim Tutorial

                                               Create Project window
• Click to edit Master text styles             is opened
                                               Write Project name
   – Second level                              Press OK

        • Third level
            – Fourth level
                » Fifth level
 To create new Project
 File > New > Project




                                Tutorial [1]                           4
ModelSim Tutorial


• Click to edit Master text styles
    – Second level
        • Third level
             – Fourth level
                 » Fifth level


ModelSim asks to add items to       Write File name and_gate
Project, now we will add a new      Add File as Type VHDL
file                                Press OK
Click on Create New File            Press Close



                                 Tutorial [1]                  5
ModelSim Tutorial


• Click to edit Master text styles
                  WorkSpace now has new
                  and_gate of type VHDL
                                                     file

   – Second level      Note that status still unkonwn as
                       file not used
      • Third level
         – Fourth level
                                    Double Click on the File
             » Fifth level          Text editor appears on the right
                                    You are now ready to write your vhdl code




                               Tutorial [1]                                     6
ModelSim Tutorial


• Click to edit Master text styles
  – Second level
     • Third level
        – Fourth level
            » Fifth level




                            Tutorial [1]   7
ModelSim Tutorial


                 Press Compile (on the Left)
• Click to edit Master text styles
     – Second level
          • Third level
               – Fourth level
If file is compiled » Fifth level
                    correct a green message will
appear at the transcript of successful compile
operation

Also Status of Sile changed to be compiled




                                        Tutorial [1]   8
ModelSim Tutorial


            Instead of Compile Icon you can use menu
• Click to edit Master text styles
            File > Compile > Compile all
            Or simply write in Transcript
  –   Second level
            vcom and_gate.vhdl
       • Third level
            Where and_gate.vhd is the file name

            – Fourth level
                » Fifth level




                                  Tutorial [1]         9
ModelSim Tutorial

                To simulate
                Simulation > Start Simulation
• Click to edit Master text styles
                Then open WORK ? And_gate ? Behave ? OK
                Or simply write in transcript
  – Second levelvsim work.and_gate
                Where and_gate here is the name of yopur entity compiled
     • Third level
        – Fourth level
            » Fifth level




                                 Tutorial [1]                              10
ModelSim Tutorial

                Now on workspace you have new window SIM
                Right Click > Add > to wave > All Items In region and below
• Click to edit Master text styles
  – Second level
     • Third level
        – Fourth level
            » Fifth level




                                 Tutorial [1]                                 11
ModelSim Tutorial

                Wave window appears
                Now you are ready to simulate your code and show results
• Click to edit Master text styles
                Write click on signal a > Force > write value on a to test it
                Press Ok then repeat with b
  – Second level
     • Third level
        – Fourth level
            » Fifth level




                                  Tutorial [1]                                  12
ModelSim Tutorial

        Press Run to show results

• Click to edit Master text styles
        Use cursor to run over results


  – Second level
     • Third level
        – Fourth level
            » Fifth level




                                 To end simulation
                                 Simulate > End Simulation
                                     Tutorial [1]            13
ModelSim Tutorial

        Now try to use transcript only as shown write his to show how your

• Click to edit Master text styles
        orders are translated
        His
        You can rerun your code if its entity is the same by writing the same lines
  – Second level
        Try it now

     • Third level
        – Fourth level
            » Fifth level




                                     Tutorial [1]                                     14
Take Your Notes
                                       Print the slides and take your notes here
--------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------
   • Click to edit Master text styles
--------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------
          – Second level
--------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------
                 • Third level
--------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------
                        – Fourth level
--------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------
                            » Fifth level
--------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------

                                                             Tutorial [1]                                                      15
You are The Best


• Click to edit Master text styles
  – Second level
     • Third level
        – Fourth level
            » Fifth level




                            Tutorial [1]   16

More Related Content

PDF
Start group tutorial [2]
PPTX
Session 03 v.3
PPTX
Tutorial 2
PPT
What to do when things go wrong with Drupal
PDF
Consultancy Techniques Overview
PDF
7 ways of reducing tpm cost
PDF
Winning Strategies for a Successful ERP Implementation
PPT
Documentation of surgical procedure
Start group tutorial [2]
Session 03 v.3
Tutorial 2
What to do when things go wrong with Drupal
Consultancy Techniques Overview
7 ways of reducing tpm cost
Winning Strategies for a Successful ERP Implementation
Documentation of surgical procedure

Similar to Tutorial 1 (15)

PPTX
Session 07 v.3
PPTX
Final Pre_Health Service Research .pptx
PPTX
Geek Sync | Database People and DevOps: The Fundamentals
PPS
ALOA conceptual model: Aligning Learning Outcomes and Assessment
PPTX
MongoDB and MongoMK Source Event
PPTX
Decorator Design Pattern
PPTX
Well Planned is Half Done: Planning Projects in the Digitization World
PPTX
DevSecOps Done Right - Strategies and Tools.pptx
PPTX
DiscoveringDH_ManagingDigitalProjects
PPTX
Session 01 v.3
PPTX
Course Tech 2013, Susie VanHuss & Vicki Robertson, A Productivity/Project App...
PDF
MongoDB - KNOWARTH
PDF
New Developments in the BREACH attack
PDF
UsingWebLaunch
PPT
Aging Pilot Discussion for 2012 Lighthawk Fly-In
Session 07 v.3
Final Pre_Health Service Research .pptx
Geek Sync | Database People and DevOps: The Fundamentals
ALOA conceptual model: Aligning Learning Outcomes and Assessment
MongoDB and MongoMK Source Event
Decorator Design Pattern
Well Planned is Half Done: Planning Projects in the Digitization World
DevSecOps Done Right - Strategies and Tools.pptx
DiscoveringDH_ManagingDigitalProjects
Session 01 v.3
Course Tech 2013, Susie VanHuss & Vicki Robertson, A Productivity/Project App...
MongoDB - KNOWARTH
New Developments in the BREACH attack
UsingWebLaunch
Aging Pilot Discussion for 2012 Lighthawk Fly-In
Ad

More from Start Group (8)

PDF
Errors
PPTX
Session 08 v.3
PDF
Session 04 v.3
PPTX
Session 06 v.3
PPTX
Session 05 v.3
PPTX
Refresh your memory 1
PPTX
Session 02 v.3
PPTX
Intrduction to the course v.3
Errors
Session 08 v.3
Session 04 v.3
Session 06 v.3
Session 05 v.3
Refresh your memory 1
Session 02 v.3
Intrduction to the course v.3
Ad

Recently uploaded (20)

PDF
Digital Marketing & E-commerce Certificate Glossary.pdf.................
PPTX
svnfcksanfskjcsnvvjknsnvsdscnsncxasxa saccacxsax
PDF
TyAnn Osborn: A Visionary Leader Shaping Corporate Workforce Dynamics
PDF
Deliverable file - Regulatory guideline analysis.pdf
PDF
NISM Series V-A MFD Workbook v December 2024.khhhjtgvwevoypdnew one must use ...
PDF
Charisse Litchman: A Maverick Making Neurological Care More Accessible
PDF
How to Get Approval for Business Funding
PDF
THE COMPLETE GUIDE TO BUILDING PASSIVE INCOME ONLINE
PDF
Introduction to Generative Engine Optimization (GEO)
PPTX
Board-Reporting-Package-by-Umbrex-5-23-23.pptx
PDF
Building a Smart Pet Ecosystem: A Full Introduction to Zhejiang Beijing Techn...
PPT
Lecture 3344;;,,(,(((((((((((((((((((((((
PPTX
sales presentation، Training Overview.pptx
PDF
Module 2 - Modern Supervison Challenges - Student Resource.pdf
PDF
ANALYZING THE OPPORTUNITIES OF DIGITAL MARKETING IN BANGLADESH TO PROVIDE AN ...
PPTX
2025 Product Deck V1.0.pptxCATALOGTCLCIA
PPTX
Slide gioi thieu VietinBank Quy 2 - 2025
PDF
NewBase 12 August 2025 Energy News issue - 1812 by Khaled Al Awadi_compresse...
PDF
Module 3 - Functions of the Supervisor - Part 1 - Student Resource (1).pdf
PDF
IFRS Notes in your pocket for study all the time
Digital Marketing & E-commerce Certificate Glossary.pdf.................
svnfcksanfskjcsnvvjknsnvsdscnsncxasxa saccacxsax
TyAnn Osborn: A Visionary Leader Shaping Corporate Workforce Dynamics
Deliverable file - Regulatory guideline analysis.pdf
NISM Series V-A MFD Workbook v December 2024.khhhjtgvwevoypdnew one must use ...
Charisse Litchman: A Maverick Making Neurological Care More Accessible
How to Get Approval for Business Funding
THE COMPLETE GUIDE TO BUILDING PASSIVE INCOME ONLINE
Introduction to Generative Engine Optimization (GEO)
Board-Reporting-Package-by-Umbrex-5-23-23.pptx
Building a Smart Pet Ecosystem: A Full Introduction to Zhejiang Beijing Techn...
Lecture 3344;;,,(,(((((((((((((((((((((((
sales presentation، Training Overview.pptx
Module 2 - Modern Supervison Challenges - Student Resource.pdf
ANALYZING THE OPPORTUNITIES OF DIGITAL MARKETING IN BANGLADESH TO PROVIDE AN ...
2025 Product Deck V1.0.pptxCATALOGTCLCIA
Slide gioi thieu VietinBank Quy 2 - 2025
NewBase 12 August 2025 Energy News issue - 1812 by Khaled Al Awadi_compresse...
Module 3 - Functions of the Supervisor - Part 1 - Student Resource (1).pdf
IFRS Notes in your pocket for study all the time

Tutorial 1

  • 1. • Click to editgMasterstext u s i n g V H D L D i i t a l D e i g n styles – Second level Tutorial [1] • Third level – Fourth level » Fifth level Introduced by Using ModelSim SE [1] Cairo-Egypt Version 03 – June 2012 1
  • 2. about Start Group • Click to edit Master text styles Mahmoud Abdellatif – Second level Alaa Salah Shehata • Third Salah Mohamed level Mohamed Talaat – Fourth level » Fifth level start.courses@gmail.com www.slideshare.net/StartGroup www.facebook.com/groups/start.group www.startgroup.weebly.com + 02 0122-4504158 M.A www.youtube.com/StartGroup2011 + 02 0128-0090250 A.S Tutorial [1] 2
  • 3. ModelSim Tutorial • Click to edit Master text styles and Toolbars Menus – Second level WorkSpace • Third level Projects, Files, Libraries – Fourth level used is shown here » Fifth level Transcript Area All ModelSim ordered is written here in TCL script Double Click on ModelSim Icon on your Desktop Tutorial [1] 3
  • 4. ModelSim Tutorial Create Project window • Click to edit Master text styles is opened Write Project name – Second level Press OK • Third level – Fourth level » Fifth level To create new Project File > New > Project Tutorial [1] 4
  • 5. ModelSim Tutorial • Click to edit Master text styles – Second level • Third level – Fourth level » Fifth level ModelSim asks to add items to Write File name and_gate Project, now we will add a new Add File as Type VHDL file Press OK Click on Create New File Press Close Tutorial [1] 5
  • 6. ModelSim Tutorial • Click to edit Master text styles WorkSpace now has new and_gate of type VHDL file – Second level Note that status still unkonwn as file not used • Third level – Fourth level Double Click on the File » Fifth level Text editor appears on the right You are now ready to write your vhdl code Tutorial [1] 6
  • 7. ModelSim Tutorial • Click to edit Master text styles – Second level • Third level – Fourth level » Fifth level Tutorial [1] 7
  • 8. ModelSim Tutorial Press Compile (on the Left) • Click to edit Master text styles – Second level • Third level – Fourth level If file is compiled » Fifth level correct a green message will appear at the transcript of successful compile operation Also Status of Sile changed to be compiled Tutorial [1] 8
  • 9. ModelSim Tutorial Instead of Compile Icon you can use menu • Click to edit Master text styles File > Compile > Compile all Or simply write in Transcript – Second level vcom and_gate.vhdl • Third level Where and_gate.vhd is the file name – Fourth level » Fifth level Tutorial [1] 9
  • 10. ModelSim Tutorial To simulate Simulation > Start Simulation • Click to edit Master text styles Then open WORK ? And_gate ? Behave ? OK Or simply write in transcript – Second levelvsim work.and_gate Where and_gate here is the name of yopur entity compiled • Third level – Fourth level » Fifth level Tutorial [1] 10
  • 11. ModelSim Tutorial Now on workspace you have new window SIM Right Click > Add > to wave > All Items In region and below • Click to edit Master text styles – Second level • Third level – Fourth level » Fifth level Tutorial [1] 11
  • 12. ModelSim Tutorial Wave window appears Now you are ready to simulate your code and show results • Click to edit Master text styles Write click on signal a > Force > write value on a to test it Press Ok then repeat with b – Second level • Third level – Fourth level » Fifth level Tutorial [1] 12
  • 13. ModelSim Tutorial Press Run to show results • Click to edit Master text styles Use cursor to run over results – Second level • Third level – Fourth level » Fifth level To end simulation Simulate > End Simulation Tutorial [1] 13
  • 14. ModelSim Tutorial Now try to use transcript only as shown write his to show how your • Click to edit Master text styles orders are translated His You can rerun your code if its entity is the same by writing the same lines – Second level Try it now • Third level – Fourth level » Fifth level Tutorial [1] 14
  • 15. Take Your Notes Print the slides and take your notes here -------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------- • Click to edit Master text styles -------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------- – Second level -------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------- • Third level -------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------- – Fourth level -------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------- » Fifth level -------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------- Tutorial [1] 15
  • 16. You are The Best • Click to edit Master text styles – Second level • Third level – Fourth level » Fifth level Tutorial [1] 16