DescriptionQ1046
Q1046DVASIC interview problem
Bounded mailboxes
TechniquesSystemVerilogSynchronization details
DifficultyEasy
TopicVerification Utilities
LanguageSystemVerilog
Format4 choices
01
Problem
What happens at the second put if no consumer has yet called get?
Starting declarationSystemVerilog
mailbox #(int) m = new(1);
initial begin
m.put(11);
m.put(22);
$display("both queued");
end02
