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

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Kürzlich hochgeladen (20)

Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
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
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
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​
 
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
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
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...
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
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
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
"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 ...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

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