|
|
楼主 |
发表于 2014-5-21 15:39:06
|
显示全部楼层
回复 2# A1985
vcs仿真报错,貌似`del(i)被 解释称ai,而不是期望的a1,a2,a3。
Identifier 'ai' has not been declared yet. If this error is not expected,
please check if you have set `default_nettype to none.
根据sv lrm中的例子,define中的参数在宏展开后保持字面意思,应该不会被当成变量,解释成变量值。
`define append(f) f``_master
An example of using this `append macro is:
`append(clock)
This example expands to:
clock_master |
|