User guide

25-15
Source Protection
You can substitute -Xman for -Xmangle. The argument number can
be 1 or 4:
-Xman=1
Randomly changes names and identifiers to provide a more
secure code.
-Xman=4
Preserves variable names but removes comments.
-Xman=12
Does the same as -Xman=4 but also adds comments about the
system tasks in the source and the source file and line numbers
of the module headers.
-Xman=28
Does the same as -Xman=12 but adds a statistical analysis of
the design.
The following is an example of Verilog source description before
mangling:
module demo (modulus1,cpuData);
input [7:0] modulus1;
output [255:0] cpuData;
integer cpuTmpCnt;
reg [0:34] iPb[0:10]; //incoming pbus data buffer
reg [255:0] cpuDatareg;
assign cpuData = cpuDatareg;
function [0:255] merge_word;
input [0:31] source_word;
input [0:2] word_index;
begin
end
endfunction
initial begin
cpuDatareg = 256'h0;
for(cpuTmpCnt = 0; cpuTmpCnt<8; cpuTmpCnt=cpuTmpCnt+1)
begin : assemble_incoming
reg [0:34] inData35;