Ask Your Question
0

quartus 软件宏定义作用域不是全局,有什么办法解决吗?

asked 2020-08-10 23:47:30 -0600

Billy Jiang gravatar image

quartus 软件宏定义作用域是全局?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2020-08-10 23:51:35 -0600

Billy Jiang gravatar image

updated 2020-08-10 23:57:17 -0600

  1. Quartus Standard版本,如果需要用到define文件里的宏定义,把define文件加到工程的File List里就可以,软件会自动去找。
  2. Quartus Pro版本,对于这种define的文件,要求必须用include语句加入每个设计文件,光加到file list里还是会出错。具体信息可以参考文档(P102): https://www.intel.cn/content/dam/www/programmable/us/en/pdfs/literature/ug/ug-qpp-getting-started.pdf
  3. 如果希望Pro采用类似standard版本的综合方法,可以添加qsf约束。 image description
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2020-08-10 23:47:30 -0600

Seen: 394 times

Last updated: Aug 10 '20