Commit ecf40f30 authored by Maciej Lipinski's avatar Maciej Lipinski Committed by Grzegorz Daniluk

pFilter: changed simulation driver so that the same mircocode can be nicely…

pFilter: changed simulation driver so that the same mircocode can be nicely loaded many times to many ports
parent e84fb4fb
......@@ -119,8 +119,10 @@ class PFilterMicrocode;
function u64_array assemble();
u64_array tmp;
code_buf[code_pos++] = (1<<35); // insert FIN instruction
tmp = new [code_pos](code_buf);
// code_buf[code_pos++] = (1<<35); // insert FIN instruction
// tmp = new [code_pos](code_buf);
code_buf[code_pos] = (1<<35); // insert FIN instruction
tmp = new [code_pos+1](code_buf);
return tmp;
endfunction // assemble
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment