Exporting tasks to 'C using DPI

Posted by Alphaneo on Stack Overflow See other posts from Stack Overflow or by Alphaneo
Published on 2009-04-07T07:22:40Z Indexed on 2010/05/15 1:44 UTC
Read the original article Hit count: 455

I have an verilog based test-bench, interfaced to 'C source using DPI. Now using DPI I am planning to write my whole firmware. To do this I need 3 things

  • Register Read
  • Register Write
  • Interrupt handler As I understand, register reads and writes are tasks that I need to export from the RTL test-bench. And Interrupt handler (I implemented by importing a function from 'C).

I checked most the cadence documentation and found no useful hints. I have also registered with cadence users community but it seems that I cannot ask question till they approve my registration.

Just in case someone is aware of this, would appreciate their help.

© Stack Overflow or respective owner

Related posts about verilog

Related posts about system-verilog