Altera_Forum
Honored Contributor
13 years agoPLI Sine Function
Hi,
I would like to create a PLI sine function in C where the verilog testbench will call the sine function and return value in hex/decimal. My questions are: 1) when writing the C code, can i just use sin()? 2) is the sin() function part of the math library or i need to write it using the taylor series? thanks.