quartus生成mif数据(二)
(2012-07-12 16:15:19)
标签:
杂谈 |
分类: verilog学习 |
quartus ii 中file->new->memory files->memory initialization file建立*.mif文件
另存为*.mif即可。
ADDRESS_RADIX=UNS;
DATA_RADIX=HEX;数据和地址类型修改方法:在地址栏点击鼠标右键就可以选择了ADDRESS_RADIX、DATA_RADIX
例子:
-- Copyright (C) 1991-2010 Altera Corporation
-- Your use of Altera Corporation's design tools, logic
functions
-- and other software and tools, and its AMPP partner logic
-- functions, and any output files from any of the foregoing
-- (including device programming or simulation files), and
any
-- associated documentation or information are expressly
subject
-- to the terms and conditions of the Altera Program License
-- Subscription Agreement, Altera MegaCore Function License
-- Agreement, or other applicable license agreement,
including,
-- without limitation, that your use is for the sole purpose
of
-- programming logic devices manufactured by Altera and sold
by
-- Altera or its authorized distributors.
-- applicable agreement for further details.
-- Quartus II generated Memory Initialization File (.mif)
WIDTH=64;
DEPTH=64;
ADDRESS_RADIX=UNS;
DATA_RADIX=HEX;
CONTENT BEGIN
END;