OpenCores
URL https://opencores.org/ocsvn/oms8051mini/oms8051mini/trunk

Subversion Repositories oms8051mini

[/] [oms8051mini/] [trunk/] [example/] [systemverilog/] [dpi/] [test3/] [dpi.c] - Rev 13

Compare with Previous | Blame | View Log

#include "svdpi.h"
#include <stdio.h>
 
extern void stepit(int, int);    // Imported from SystemVerilog
void increment(const int I1, int *I2)
{  
  *I2 = I1+1;
  printf("At C: Input: %d Output : %d\n", I1,*I2);
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.