Adopting Model-Based Design For FPGA, ASIC, And SoC - MathWorks

1y ago
9 Views
1 Downloads
1.63 MB
23 Pages
Last View : 1d ago
Last Download : 3m ago
Upload by : Josiah Pursley
Transcription

Adopting Model-Based Design for FPGA, ASIC, and SoC Development Robert Anderson Principal Application Engineer - MathWorks 2015 The MathWorks, Inc. 1

Agenda Why Model-Based Design for FPGA, ASIC, or SoC? How to get started – – – – – – General approach – collaborate to refine with implementation detail Re-use work to help RTL verification Hardware architecture Fixed-point quantization HDL code generation Chip-level architecture Customer results 2

FPGA, ASIC, and SoC Development Projects 67% of ASIC/FPGA projects are behind schedule Over 50% of project time is spent on verification 75% of ASIC projects require a silicon re-spin 84% of FPGA projects have non-trivial bugs escape into production Statistics from 2018 Mentor Graphics / Wilson Research survey, averaged over FPGA/ASIC 3

Many Different Skill Sets Need to Collaborate RESEARCH RESEARCH REQUIREMENTS SPECIFICATIONS System Architecture Poor communication across teams Key decisions made in silos System-level issues found in late stages Hard to adapt to changing requirements “Rapid innovation under a rapid timeline – that’s when this flow falls apart.” Jamie Haas Allegro Microsystems SPECIFICATIONS Algorithms SPECIFICATIONS Embedded Software Digital Hardware Analog Hardware Verification System Integration 4

Abstraction vs Design Space Exploration High Level Modeling Abstraction Level Model Elaboration/ Fixed-Point Conversion RTL Design and HDL Verification Place and Route and Floor-planning Effort required to move across design space 5

Cost of Finding a Bug vs Location in Design Cycle Requirements Location in Design Cycle High Level Modeling/Verification Model Elaboration/Fixed-Point Conversion RTL Design and HDL Verification Place and Route/Floor-planning Integration and Validation Test Post – Production/Product Launch 6

SoC Collaboration with Model-Based Design RESEARCH RESEARCH REQUIREMENTS DESIGN System Architecture Algorithms HOW am I making it? Implementation Architectures Implementation Knowledge MAKE IT! Embedded Software Export Models Generate Code Digital Hardware Analog Hardware Validation & Verification WHAT am I making? Am I making the right thing? Is it going to work? Have I made it right? System Integration 7

Agenda Why Model-Based Design for FPGA, ASIC, or SoC? How to get started – – – – – – General approach – collaborate to refine with implementation detail Re-use work to help RTL verification Hardware architecture Fixed-point quantization HDL code generation Chip-level architecture Customer results 8

General Approach: Use the Strengths of MATLAB and Simulink MATLAB DESIGN Simulink System Architecture Large data sets Explore mathematics Control logic Data visualization Algorithms Streaming Implementation Architectures Algorithms Streaming Hardware Architectures Fixed-Point Hardware Architectures Parallel architectures Timing Data type propagation Mixed-signal modeling Implementation Architectures Bit Accurate Cycle Accurate 9

Partition Hardware-Targeted Design, System Context, Testbench Algorithm Stimulus Hardware Algorithm Software Algorithm Analysis 10

Streaming Algorithms: MATLAB or Simulink or Both 11

Refine Algorithm and Verify Against Golden Reference Reference Algorithm Algorithm Stimulus Verification “Scoreboard” Design Under Test Streaming Algorithms Streaming Hardware Architectures Fixed-Point Hardware Architectures Self-checking 12

Generate SystemVerilog DPI Components for RTL Verification Reference Algorithm Algorithm Stimulus HDL Verifier DPI Verification “Scoreboard” HDL Verifier C DPI C Reuse MATLAB/Simulink models in verification – Scoreboard, stimulus, or models external to the RTL Generate from frame-based or streaming algorithm Floating-point or fixed-point Individual components or entire testbench – Runs natively in SystemVerilog simulator – Eliminate re-work and miscommunication – Save testbench development time – Easy to update when requirements change DPI Scoreboard Scoreboard DPI C C Seq. Items Driver Design Under Test (DUT) RTL Monitor SystemVerilog verification environment 13

What if there’s a mismatch? MATLAB / Simulink Reference Algorithm Algorithm Stimulus Verification “Scoreboard” HDL Verifier cosimulation HDL Simulator DUT RTL Co-simulate with 3rd-party HDL simulator – Reuse MATLAB/Simulink test environment – Run HDL design in a supported simulator* – Generate co-simulation infrastructure and handshaking – Analyze both the design and test environment * Mentor Graphics ModelSim or Questa Cadence Incisive or XceliumTM 14

Collaborate to Add Hardware Architecture Optimize architecture design for hardware goals Specify HDL implementation options 15

Fixed-Point Streaming Algorithms: Manual Approach 16

Fixed-Point Streaming Algorithms: Automated Approach Simulate with representative data to collect required ranges Fixed-Point Designer proposes data types Choose to apply proposed types or set your own Simulate and compare results 17

Generating Native Floating Point Hardware HDL Coder Native Floating Point Extensive math and trigonometric operator support Optimal implementations without sacrificing numerical accuracy Mix floating- and fixed-point operations Generate target-independent HDL 18

Automatically Generate Production RTL DESIGN – Algorithms Implementation Knowledge Streaming Algorithms Streaming Hardware Architectures Fixed-Point Hardware Architectures Implementation Architectures HDL Coder Choose from over 250 supported blocks Including MATLAB functions and Stateflow charts Quickly explore implementation options – Micro-architectures – Pipelining – Resource sharing – Fixed-point or native floating point Generate readable, traceable Verilog/VHDL – Optionally generate AXI interfaces with IP core Quickly adapt to changes and re-generate Production-proven across a variety of applications and FPGA, ASIC, and SoC targets Synthesizable RTL AXI Interfaces Synthesis scripts 19

Agenda Why Model-Based Design for FPGA, ASIC, or SoC? How to get started – – – – – – General approach – collaborate to refine with implementation detail Re-use work to help RTL verification Hardware architecture Fixed-point quantization HDL code generation Chip-level architecture Customer results 20

Results at Allegro Microsystems Link to MATLAB Expo video 21

Getting Started Collaborating with Model-Based Design RESEARCH RESEARCH REQUIREMENTS Refine algorithm toward implementation DESIGN Algorithms Implementation Architectures Implementation Knowledge Embedded Software Export Models Generate Code Digital Hardware System Integration Analog Hardware Validation & Verification System Architecture Verify refinements versus previous versions Generate verification models Add hardware implementation detail and generate optimized RTL Simulate System-on-Chip architecture Eliminate communication gaps Key decisions made via cross-skill collaboration Identify and address system-level issues before implementing subsystems Adapt to changing requirements with agility 22

Learn More Next steps to get started: – – – – Verification: Improve RTL Verification by Connecting to MATLAB webinar Fixed-point quantization: Fixed-Point Made Easy webinar Incremental refinement, HDL code generation: HDL self-guided tutorial development/asic.html Technology showcase here at MATLAB EXPO MathWorks Advisory Board (MAB) Pilots and Consulting services to help you get on-board Contact your local sales representative for hands-on workshops 23

3 FPGA, ASIC, and SoC Development Projects 67% of ASIC/FPGA projects are behind schedule 75% of ASIC projects require a silicon re-spin Over 50% of project time is spent on verification Statistics from 2018 Mentor Graphics / Wilson Research survey, averaged over FPGA/ASIC 84% of FPGA projects have non-trivial bugs escape into production

Related Documents:

Bruksanvisning för bilstereo . Bruksanvisning for bilstereo . Instrukcja obsługi samochodowego odtwarzacza stereo . Operating Instructions for Car Stereo . 610-104 . SV . Bruksanvisning i original

10 tips och tricks för att lyckas med ert sap-projekt 20 SAPSANYTT 2/2015 De flesta projektledare känner säkert till Cobb’s paradox. Martin Cobb verkade som CIO för sekretariatet för Treasury Board of Canada 1995 då han ställde frågan

service i Norge och Finland drivs inom ramen för ett enskilt företag (NRK. 1 och Yleisradio), fin ns det i Sverige tre: Ett för tv (Sveriges Television , SVT ), ett för radio (Sveriges Radio , SR ) och ett för utbildnings program (Sveriges Utbildningsradio, UR, vilket till följd av sin begränsade storlek inte återfinns bland de 25 största

Hotell För hotell anges de tre klasserna A/B, C och D. Det betyder att den "normala" standarden C är acceptabel men att motiven för en högre standard är starka. Ljudklass C motsvarar de tidigare normkraven för hotell, ljudklass A/B motsvarar kraven för moderna hotell med hög standard och ljudklass D kan användas vid

LÄS NOGGRANT FÖLJANDE VILLKOR FÖR APPLE DEVELOPER PROGRAM LICENCE . Apple Developer Program License Agreement Syfte Du vill använda Apple-mjukvara (enligt definitionen nedan) för att utveckla en eller flera Applikationer (enligt definitionen nedan) för Apple-märkta produkter. . Applikationer som utvecklas för iOS-produkter, Apple .

och krav. Maskinerna skriver ut upp till fyra tum breda etiketter med direkt termoteknik och termotransferteknik och är lämpliga för en lång rad användningsområden på vertikala marknader. TD-seriens professionella etikettskrivare för . skrivbordet. Brothers nya avancerade 4-tums etikettskrivare för skrivbordet är effektiva och enkla att

Den kanadensiska språkvetaren Jim Cummins har visat i sin forskning från år 1979 att det kan ta 1 till 3 år för att lära sig ett vardagsspråk och mellan 5 till 7 år för att behärska ett akademiskt språk.4 Han införde två begrepp för att beskriva elevernas språkliga kompetens: BI

**Godkänd av MAN för upp till 120 000 km och Mercedes Benz, Volvo och Renault för upp till 100 000 km i enlighet med deras specifikationer. Faktiskt oljebyte beror på motortyp, körförhållanden, servicehistorik, OBD och bränslekvalitet. Se alltid tillverkarens instruktionsbok. Art.Nr. 159CAC Art.Nr. 159CAA Art.Nr. 159CAB Art.Nr. 217B1B