felix965
Newbie level 4
implementation of PSO on fpga
anyone can suggest me for how to convert this code to verilog code
with regards
R.FELIX ANAND
anyone can suggest me for how to convert this code to verilog code
Code:
for iter = 1:maxIter
swarm(:, 1, 1) = swarm(:, 1, 1) + swarm(:, 2, 1)/1.3;
swarm(:, 1, 2) = swarm(:, 1, 2) + swarm(:, 2, 2)/1.3;
x = swarm(:, 1, 1);
y = swarm(:, 1, 2);
fval = objfcn([x y]);
with regards
R.FELIX ANAND