SlideShare uma empresa Scribd logo
1 de 25
Baixar para ler offline
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

Mais conteúdo relacionado

Último

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
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
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 

Destaque

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)
 

Destaque (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