我正在尝试编写一个在遗传算法中使用的适应度函数,并且该函数包含指数部分。
如何实现此函数 (e^x),其中 e 是底数 = 2.7,x 是 Verilog HDL 语言中的指数作为可合成代码?
verilog xilinx
verilog ×1
xilinx ×1