Please help me show what is syntax error in here. The text file can't be used in VCS ?
The input data is from text file which contains the binary values. In Modelsim, it work without error but it got problem in VCS.
'readmemb' command is used to read binary values in text file. Some value in text file are:
1000000000011010
0000000000011010
1000000000011010
1000000000011010
1000000000011010
0000000000011010
I do the function simulation in VCS, and try to perform these values in some ways then run simulation but result shows following:
1. Parsing design file './01cfo_im.txt'
Warning-[DCTL] Decimal constant too large
./01cfo_im.txt, 1
Decimal constant is too large to be handled in compilation.
Absolute value 1000000000011010 should be smaller than 2147483648.
Error-[sE] Syntax error
Following verilog source has syntax error :
"./01cfo_im.txt", 2: token is ''
0000000000011010
1 warning
1 error
2.Parsing design file './01cfo_im.txt'
Error-[sE] Syntax error
Following verilog source has syntax error :
"./01cfo_im.txt", 1: token is '1000000000011010'
16 'b1000000000011010
^
3. Parsing design file './01cfo_im.txt'
Error-[sE] Syntax error
Following verilog source has syntax error :
"./01cfo_im.txt", 1: token is '1000000000011010'
16'b1000000000011010
^