SlideShare ist ein Scribd-Unternehmen logo
1 von 25
Downloaden Sie, um offline zu lesen
Bringing the power of
  Eclipse to Digital
 Hardware designers
      Hendrik Eeckhaut
      Mark Christiaens
      Lieven Lemiengre
2
Eclipse

• Navigation
•   Autocomplete
•   Real-time errors
•   Quick-assist/fix
• Refactoring




                       3
• Navigation           • Text based
•   Autocomplete       • Syntax books
•   Real-time errors   •   Scroll through logs
•   Quick-assist/fix    •   Stare at code
• Refactoring          • Live with ugly code




                                                 5
hardware development toolkit




Bring power of Eclipse to Digital
      Hardware Designers
VHDL
 VHSIC (Very High Speed Integrated Circuit) Hardware Description Language


• Efficient and robust way to design HW
• 20 year old language (based on Ada)
• But all shortcomings of arcane languages
 •   lots of noise
 •   limited expressiveness
 •   irregular
 •   most designers use small subset
 •   ...

                                                                            7
Verbose




          8
Irregular syntax




                   9
Long feedback loops




                  10
Not everything is negative!
• Efficient and robust way to design HW
• You can build cool stuff
 • Custom cpu’s, Mars rovers, ...
• A good IDE can resolve most issues




                                         11
Sigasi 1.0

• ANTLR-based Eclipse plugin
• Proved business value
• But:
 •   Lots of prototype code
 •   Type time compilation
 •   Memory usage
 •   Better architecture required

                                             12
Perfect fit for                         ?


• Xtext looks like perfect fit:
 •   navigation        •   navigation
 •                     • type time syntax checking
     type time syntax checking
 Grammar
 •                    • linting and quick-fixes
   linting and quick-fixes
 • formatting         • formatting

• But: Powerful enough for VHDL?


                                                     13
Demo
Xtext experience
Results



          EMF Guice Eclipse
            Antlr Xtext




                                   Effort
                                            15
Overview
• Grammar

• Scoping

• UI

• Autocomplete

• Formatting

• Testing

• Performance
                 Lessons learnt ?
• Validation




                                     16
Grammar
• Grammar

• Scoping

• UI

• Autocomplete   • Lexer: No problems
• Formatting       (We had ANTLR grammar to start from)
• Testing
                 • Parser: No semantic predicates
• Performance

• Validation
                 • Keep track of the number/size of
                   objects that are created



                                                          17
Scoping
• Grammar

• Scoping

• UI

• Autocomplete   • A lot harder than expected
• Formatting
                 • Difficult to debug (declarative
• Testing
                   approach, lazy evaluation)
• Performance

• Validation
                 • Some corner cases continue to
                   pop up



                                                    18
User Interface
• Grammar

• Scoping        • Works as expected : outline,
• UI               preferences, templates, folding,
• Autocomplete     (syntax and semantic)
• Formatting       highlighting
• Testing
                 • Xtext team keeps adding nice
• Performance
                   improvements
• Validation
                 • Some scalability issues: Large
                   files are problematic in UI   (n 2

                   problems)
                                                       19
Autocomplete
• Grammar

• Scoping
                 • grammar/scope information is not
• UI
                   enough for VHDL autocomplete
• Autocomplete
                  •   too many suggestions because of
• Formatting
                      generic grammar (no type
• Testing             information, ... )
• Performance     •   strange behavior because of
• Validation          backtracking parser
                 • Most VHDL autocompletes are
                   manually designed

                                                        20
Formatting
• Grammar

• Scoping

• UI             • A lot cleaner to implement than
• Autocomplete     what e.g. Emacs does
• Formatting     • Priority of rules not always clear
• Testing
                 • Custom extension for vertical
• Performance
                   alignment
• Validation




                                                        21
Testing
• Grammar

• Scoping

• UI
                 • Xtext itself contains good
• Autocomplete
                   starting points
• Formatting

• Testing        • Dependency injection (Guice)
• Performance      makes it easy to test
• Validation
                 • Most tests can run as simple unit
                   tests (with Eclipse workbench)


                                                       22
Performance
• Grammar

• Scoping

• UI
                 • Xtext continuously improves
• Autocomplete
                 • Sigasi patches:
• Formatting

• Testing
                  •   Parallel loading (#358714)
• Performance     •   Model Caching (#359824)
• Validation
                 • Memory usage OK




                                                   23
Validation
• Grammar

• Scoping

• UI
                 • Good framework to add
• Autocomplete
                   validation checks
• Formatting     • Watch out for resource loading
• Testing
                 • Custom configurable severities
• Performance

• Validation




                                                    24
Conclusions


• Xtext is really powerful technology
• Gives great architecture/structure
• Getting started is easy
• But... still a lot of work
• Devil is in the details


                                         25

Weitere ähnliche Inhalte

Kürzlich hochgeladen

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Kürzlich hochgeladen (20)

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

Empfohlen

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Empfohlen (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Bringing the power of Eclipse to Digital Hardware designers (EclipseCon 2012)

  • 1. Bringing the power of Eclipse to Digital Hardware designers Hendrik Eeckhaut Mark Christiaens Lieven Lemiengre
  • 2. 2
  • 3. Eclipse • Navigation • Autocomplete • Real-time errors • Quick-assist/fix • Refactoring 3
  • 4.
  • 5. • Navigation • Text based • Autocomplete • Syntax books • Real-time errors • Scroll through logs • Quick-assist/fix • Stare at code • Refactoring • Live with ugly code 5
  • 6. hardware development toolkit Bring power of Eclipse to Digital Hardware Designers
  • 7. VHDL VHSIC (Very High Speed Integrated Circuit) Hardware Description Language • Efficient and robust way to design HW • 20 year old language (based on Ada) • But all shortcomings of arcane languages • lots of noise • limited expressiveness • irregular • most designers use small subset • ... 7
  • 11. Not everything is negative! • Efficient and robust way to design HW • You can build cool stuff • Custom cpu’s, Mars rovers, ... • A good IDE can resolve most issues 11
  • 12. Sigasi 1.0 • ANTLR-based Eclipse plugin • Proved business value • But: • Lots of prototype code • Type time compilation • Memory usage • Better architecture required 12
  • 13. Perfect fit for ? • Xtext looks like perfect fit: • navigation • navigation • • type time syntax checking type time syntax checking Grammar • • linting and quick-fixes linting and quick-fixes • formatting • formatting • But: Powerful enough for VHDL? 13
  • 14. Demo
  • 15. Xtext experience Results EMF Guice Eclipse Antlr Xtext Effort 15
  • 16. Overview • Grammar • Scoping • UI • Autocomplete • Formatting • Testing • Performance Lessons learnt ? • Validation 16
  • 17. Grammar • Grammar • Scoping • UI • Autocomplete • Lexer: No problems • Formatting (We had ANTLR grammar to start from) • Testing • Parser: No semantic predicates • Performance • Validation • Keep track of the number/size of objects that are created 17
  • 18. Scoping • Grammar • Scoping • UI • Autocomplete • A lot harder than expected • Formatting • Difficult to debug (declarative • Testing approach, lazy evaluation) • Performance • Validation • Some corner cases continue to pop up 18
  • 19. User Interface • Grammar • Scoping • Works as expected : outline, • UI preferences, templates, folding, • Autocomplete (syntax and semantic) • Formatting highlighting • Testing • Xtext team keeps adding nice • Performance improvements • Validation • Some scalability issues: Large files are problematic in UI (n 2 problems) 19
  • 20. Autocomplete • Grammar • Scoping • grammar/scope information is not • UI enough for VHDL autocomplete • Autocomplete • too many suggestions because of • Formatting generic grammar (no type • Testing information, ... ) • Performance • strange behavior because of • Validation backtracking parser • Most VHDL autocompletes are manually designed 20
  • 21. Formatting • Grammar • Scoping • UI • A lot cleaner to implement than • Autocomplete what e.g. Emacs does • Formatting • Priority of rules not always clear • Testing • Custom extension for vertical • Performance alignment • Validation 21
  • 22. Testing • Grammar • Scoping • UI • Xtext itself contains good • Autocomplete starting points • Formatting • Testing • Dependency injection (Guice) • Performance makes it easy to test • Validation • Most tests can run as simple unit tests (with Eclipse workbench) 22
  • 23. Performance • Grammar • Scoping • UI • Xtext continuously improves • Autocomplete • Sigasi patches: • Formatting • Testing • Parallel loading (#358714) • Performance • Model Caching (#359824) • Validation • Memory usage OK 23
  • 24. Validation • Grammar • Scoping • UI • Good framework to add • Autocomplete validation checks • Formatting • Watch out for resource loading • Testing • Custom configurable severities • Performance • Validation 24
  • 25. Conclusions • Xtext is really powerful technology • Gives great architecture/structure • Getting started is easy • But... still a lot of work • Devil is in the details 25