Guest
Hi all,
I'm building a quarter wave lookup table for sin/cos.
I know in VHDL, that it is possible in design rtl to write a behavioral function and then reference that function to set the values of a ROM.
Is that possible in verilog? If so, how might I go about doing it?
If it's not possible, are there any alternative ways I could use behavioral calculations to initialize my lookup table without pre-building with .hex files or scripts?
The idea is to make the whole thing parameterizable.
Thanks,
Stephen
I'm building a quarter wave lookup table for sin/cos.
I know in VHDL, that it is possible in design rtl to write a behavioral function and then reference that function to set the values of a ROM.
Is that possible in verilog? If so, how might I go about doing it?
If it's not possible, are there any alternative ways I could use behavioral calculations to initialize my lookup table without pre-building with .hex files or scripts?
The idea is to make the whole thing parameterizable.
Thanks,
Stephen