Exporting tasks to 'C using DPI
- by Alphaneo
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.