• 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]...
about Start Group• Click to edit Master text styles  Mahmoud Abdellatif  – Second level  Alaa Salah Shehata     • Third Sa...
ModelSim Tutorial• Click to edit Master text styles and Toolbars                               Menus   – Second level     ...
ModelSim Tutorial                                               Create Project window• Click to edit Master text styles   ...
ModelSim Tutorial• Click to edit Master text styles    – Second level        • Third level             – Fourth level     ...
ModelSim Tutorial• Click to edit Master text styles                  WorkSpace now has new                  and_gate of ty...
ModelSim Tutorial• Click to edit Master text styles  – Second level     • Third level        – Fourth level            » F...
ModelSim Tutorial                 Press Compile (on the Left)• Click to edit Master text styles     – Second level        ...
ModelSim Tutorial            Instead of Compile Icon you can use menu• Click to edit Master text styles            File > ...
ModelSim Tutorial                To simulate                Simulation > Start Simulation• Click to edit Master text style...
ModelSim Tutorial                Now on workspace you have new window SIM                Right Click > Add > to wave > All...
ModelSim Tutorial                Wave window appears                Now you are ready to simulate your code and show resul...
ModelSim Tutorial        Press Run to show results• Click to edit Master text styles        Use cursor to run over results...
ModelSim Tutorial        Now try to use transcript only as shown write his to show how your• Click to edit Master text sty...
Take Your Notes                                       Print the slides and take your notes here---------------------------...
You are The Best• Click to edit Master text styles  – Second level     • Third level        – Fourth level            » Fi...
Upcoming SlideShare
Loading in …5
×

Tutorial 1

613 views

Published on

Published in: Business, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
613
On SlideShare
0
From Embeds
0
Number of Embeds
84
Actions
Shares
0
Downloads
49
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Tutorial 1

  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 byUsing ModelSim SE [1] Cairo-Egypt Version 03 – June 2012 1
  2. 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. 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. 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. 5. ModelSim Tutorial• Click to edit Master text styles – Second level • Third level – Fourth level » Fifth levelModelSim asks to add items to Write File name and_gateProject, now we will add a new Add File as Type VHDLfile Press OKClick on Create New File Press Close Tutorial [1] 5
  6. 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. 7. ModelSim Tutorial• Click to edit Master text styles – Second level • Third level – Fourth level » Fifth level Tutorial [1] 7
  8. 8. ModelSim Tutorial Press Compile (on the Left)• Click to edit Master text styles – Second level • Third level – Fourth levelIf file is compiled » Fifth level correct a green message willappear at the transcript of successful compileoperationAlso Status of Sile changed to be compiled Tutorial [1] 8
  9. 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. 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. 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. 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. 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. 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. 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. 16. You are The Best• Click to edit Master text styles – Second level • Third level – Fourth level » Fifth level Tutorial [1] 16

×