10

如何将Quartus II编译结果放在一个目录下?

使用环境:Quartus II 8.0

在中,我曾经提出一种project管理方式,将Verilog code统一放在hardware目录下,将根目录净空,以方便日后好管理SOPC Builder所产生的code,Quartus II原来还可指定目录放置编译结果,如此可让project的根目录更加干净。

回想我们使用Visual Studio的经验,一个典型的project,除了自己的code外,Visual Studio还会另开Debug与Release目录,专职放置编译的结果,如下图所示:

release00

我将模仿Visual Studio的方式,新增一个release目录,专门放Quartus II编译的结果。

Step 1:
建立一个release目录

release01

经过如此设定,Quartus II就会将sof、pof等编译结果放到release目录下,原来在project根目录下编译结果的档案还会留着,你可视需要自行删除之。

Step 2:
设定编译结果路径

Assignments -> Settings:Category -> Compilation Process Settings:将Save project output files in specified directory打勾,并设定路径到release下

release02

经过如此设定,Quartus II就会将sof、pof等编译结果放到release目录下,原来在project根目录下编译结果的档案还会留着,你可视需要自行删除之。

转自:http://www.fpgastudy.com/a/tool/2010/0202/529.html

posted on 2012-05-25 18:22  believe  阅读(444)  评论(0)    收藏  举报

导航

/* * Name: SyntaxHighlighter.brushes.Verilog * Author: Yuphone Chang * Email: yuphone@qq.com/ * Create Date: 5.18, 2010 */ SyntaxHighlighter.brushes.Verilog = function() { var datatypes = 'reg integar unsigned ' + 'wire tri wand triand tri0 tri1 supply0 supply1 trireg ' + 'parameter specparam defparam event '; var primitives = 'and nand or nor xor xnor ' + 'buf not ' + 'bufif0 bufif1 notif0 notif1 ' 'pullup pulldown ' + 'pmos rpmos nmos rnmos '; var keywords = 'module endmodule ' + 'input output inout ' + 'begin end ' + 'assign deassign always initial genvar ' + 'forever repeat disable wait ' + 'function endfunction' + 'task ' + 'endtask ' + 'generate endgenerate ' + 'specify endspecify ' + 'posedge negedge ' + 'if else for while ' + 'case casex casez endcase default ' + 'include timescale ' + 'ifdef endif ' + 'celldefine endcelldefine ' + 'attribute ' 'fork join '; var functions = 'display displayb displayo displayh ' + 'write writeb writeo writeh ' + 'strobe strobeb strobeh strobeo ' + 'monitor monitorb monitoro monitorh ' + 'fopen fclose ' + 'readmemb readmemh ' + 'finish stop ' + 'time stime realtime timeformat ' + 'printtimescale ' + 'setup hold setuphold skew recovery period width '; this.regexList = [ // one line comments { regex: SyntaxHighlighter.regexLib.singleLineCComments,css: 'comments' }, // multiline comments { regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // double quoted strings { regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // single quoted strings { regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // constants { regex: new RegExp("[0-9]+['][bBoOdDhHeEfFtT][0-9a-fA-FzZxX_]+", 'g'), css: 'constants' }, // datatypes { regex: new RegExp(this.getKeywords(datatypes), 'gm'), css: 'color1 bold' }, // primitives { regex: new RegExp(this.getKeywords(primitives), 'gm'), css: 'color2 bold' }, // keywords { regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword bold' }, // functions { regex: new RegExp(this.getKeywords(functions), 'gm'), css: 'functions bold' } ]; }; SyntaxHighlighter.brushes.Verilog.prototype = new SyntaxHighlighter.Highlighter(); SyntaxHighlighter.brushes.Verilog.aliases = ['verilog', 'v'];