加载文本文件im modelsim-VHDL

时间:2015-05-12 14:59:33

标签: vhdl

加载文本文件(图像像素)im modelsim:此代码抛出一个关于infile的错误。

我想读取文件,通过添加10对每个数据值求和,并将结果放在outputlink文件中:

if('Sheet1'!K:K="state1"; add(b1, 1); add(b2, 0))

1 个答案:

答案 0 :(得分:1)

Fixing the identifier mismatch with the input file declaration:

.avatar {
width: 140px;
height: 224px;
image-rendering: optimizeSpeed;             /* Older versions of FF          */
image-rendering: -moz-crisp-edges;          /* FF 6.0+                       */
image-rendering: -webkit-optimize-contrast; /* Safari                        */
image-rendering: -o-crisp-edges;            /* OS X & Windows Opera (12.02+) */
image-rendering: pixelated;                 /* Awesome future-browsers       */
-ms-interpolation-mode: nearest-neighbor;   /* IE                            */
}

and changing the input file path to something OS agnostic (a local file in this case) and your code analyzed, elaborated and after providing the input file ran.

Without knowing the contents of your file providing an input file with a single line containing "42", the output file contained "52".

And that says you made one little mistake which happened to show up during analysis.