Sithija Hewavitharana
Newbie level 1
- Joined
- May 15, 2014
- Messages
- 1
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 12
Hi all, i have designed a low pass FIR filter in verilog in which co-efficients are in 0.0XXX range.. i tried $realtobits (is it synthesizable?) and i get the following warning..
"System function call realtobits not supported"
how do i implement synthesizable floating point values in my verilog code..please explain with an example..
below is my sample code...
parameter b0 = 8'd7;
b0 is a co-efficient of the FIR filter, and i want b0 to be a value like 0.0015990642151178748
please help...
"System function call realtobits not supported"
how do i implement synthesizable floating point values in my verilog code..please explain with an example..
below is my sample code...
parameter b0 = 8'd7;
b0 is a co-efficient of the FIR filter, and i want b0 to be a value like 0.0015990642151178748
please help...