Course Uvm-Framework Session17 Code-Generation-Guidelines Boden
Course Uvm-Framework Session17 Code-Generation-Guidelines Boden
Course Uvm-Framework Session17 Code-Generation-Guidelines Boden
Objectives
Overview of Code Generation Flow
— Interface, environment, bench
Provide best practices guidelines
Provide overview of ALU tutorial
Results
Increased understanding of generation flow
Avoid common mistakes
Faster generation of verification code
Bench Module
test
alu_environment
alu_predictor alu_scoreboard
alu_in_agent alu_out_agent
ALU
alu_in_agent
alu_in_agent
Look for UVMF_CHANGE_ME
in genrated source
alu_in_agent
Look for UVMF_CHANGE_ME
in genrated source
alu_environment
alu_predictor alu_scoreboard
alu_in_agent alu_out_agent
alu_environment
alu_predictor alu_scoreboard
alu_environment
alu_predictor alu_scoreboard
alu_in_agent alu_out_agent
alu_environment
alu_predictor alu_scoreboard
alu_in_agent alu_out_agent
Look for UVMF_CHANGE_ME
in genrated source
test
alu_environment
alu_predictor alu_scoreboard
alu_in_agent alu_out_agent
test
alu_environment
alu_predictor alu_scoreboard
alu_in_agent alu_out_agent
Bench Module
test
alu_environment
alu_predictor alu_scoreboard
test ALU
alu_environment
alu_predictor alu_scoreboard
alu_in_agent alu_out_agent
Look for UVMF_CHANGE_ME
in genrated source
Bench Module
test ALU
alu_environment
alu_predictor alu_scoreboard
alu_in_agent alu_out_agent
Look for UVMF_CHANGE_ME
in genrated source
1. Design
The verification block to be generated
2. Translate
The design into YAML
3. Generate
The verification block
4. Simulate
The generated code
5. Add
Custom code to generated code
Restricted © 2019 Mentor Graphics Corporation
www.mentor.com
Restricted © 2019 Mentor Graphics Corporation