P
pini
Guest
On a test bench (simualtion only) icarus (s20040606) fails to simulate
assign lenght_bits =
(signal == `SIG_MOD_BPSK ) ? ( length * 8 ) :
(signal == `SIG_MOD_QPSK ) ? ( length * 4 ) :
(signal == `SIG_MOD_CCK5_5) ? ((length * 80)/55) : //x8 :5.5
( ((length * 8 )/11)+(((length * 8 )%11) != 0) ); //upper x8 :11
TB_data_checker.v:260: internal error: cannot synthesize division:
((length[11:0
])*('sd8))%('sd11)
assertion "lsig" failed: file "elab_net.cc", line 429
Signal 6
Others simulators (includng icarus s20031202) simulate okay this code.
Can someone tell me how to fix it. Why is it tring to synthesize a vvp
(simulation) only target.
assign lenght_bits =
(signal == `SIG_MOD_BPSK ) ? ( length * 8 ) :
(signal == `SIG_MOD_QPSK ) ? ( length * 4 ) :
(signal == `SIG_MOD_CCK5_5) ? ((length * 80)/55) : //x8 :5.5
( ((length * 8 )/11)+(((length * 8 )%11) != 0) ); //upper x8 :11
TB_data_checker.v:260: internal error: cannot synthesize division:
((length[11:0
])*('sd8))%('sd11)
assertion "lsig" failed: file "elab_net.cc", line 429
Signal 6
Others simulators (includng icarus s20031202) simulate okay this code.
Can someone tell me how to fix it. Why is it tring to synthesize a vvp
(simulation) only target.