Skip to the selected question
ASIC.FYI

ASIC Question Bank

1,000+ hardware interview questions
DescriptionQ404
Page ↗
Q404DVGoogleASIC interview problem

Use polymorphism through a base handle

TechniquesDVSystemVerilogOOPPolymorphism
DifficultyEasy
TopicSV
LanguageSystemVerilog
Format4 choices
01

Problem

A base transaction declares virtual method kind(). A derived error transaction overrides it, and a base-class handle refers to the derived object. Which implementation runs when base_handle.kind() is called?

02

Answer choices (4)