steveicarus / iverilog

Icarus Verilog
https://steveicarus.github.io/iverilog/
GNU General Public License v2.0
2.87k stars 531 forks source link

SystemVerilog: Mailbox Interprocess Communication Support #314

Open AlexZoe opened 4 years ago

AlexZoe commented 4 years ago

I was trying to use a "mailbox" within my SystemVerilog testbench but got the following error:

../hdl/generator.sv:3: syntax error ../hdl/generator.sv:3: error: mailbox doesn't name a type.

Code snippet:

class driver;

  mailbox gen2driv;
  ...

A quick grep for "mailbox" on the code base did not return any hits. The relevant version information are the following:

Branch: master Commit: 7bbafe610996206be1c3f8cab42f3fc6315836c3

Are there any plans to support SystemVerilog mailboxes or queues in the (near) future?
Otherwise, do you have an estimate on the required effort for adding this feature?

Considering this feature request would be appreciated.

martinwhitaker commented 4 years ago

I can't speak for the other developers, but I have no plans to support mailboxes. queues are supported, but not inside classes - see issue #192.