Forum Discussion
Altera_Forum
Honored Contributor
9 years agoand here is my mif-file:
DEPTH = 64; % Memory depth and width are required %
WIDTH = 6; % Enter a decimal number %
ADDRESS_RADIX = HEX; % Address and value radixes are optional %
DATA_RADIX = HEX; % Enter BIN, DEC, HEX, or OCT; unless %
CONTENT
BEGIN
: 0000; % Range--Every address from 00 to 3F = 0000 %
00 : 0x22;
01 : 000011;
02 : 22;
03 : 0x22;
04 : 0x22;
05 : 0x22;
END ; I just want to change some of the memory blocks for testing reasons. Because I'm not sure how i write it correctly I tried different possibilities. The memory is a 64 x 6-bit memory. So do I have to write 000001 or "000001" or 1 or '1' or 0x1 or "0x1" for e.g. a value of 1?