Tsai-Cheng-Hong / Verilog-ADPLL

ADPLL 完成階段:Synthesis
7 stars 1 forks source link

关于在ams仿真平台中verilog代码“include”语句的疑问。(Question about verilog code "include" statement in ams emulation platform.) #4

Open wxknxxzj opened 2 years ago

wxknxxzj commented 2 years ago

简体中文版: 嗨,我现在尝试把verilog代码嵌入到ams平台中,结果如下: 图片 但在*.v文件的“include”遇到了些许问题,也就是层次化结构貌似不支持,如下: 图片 所以想询问您这边是如何解决的呢?或者我这边的方法错了吗?谢谢!

第二个问题:dco_model.sp和pfd_model.sp文件如何导入呢?我尝试的导入方法是这样的,不知道是否正确呢? 图片 在导入的过程中也遇到了include的层次化问题,不知道如何解决,如下图 图片

期待您的解答,祝好!

======================================================================= English version: Hi, I am now trying to embed the verilog code into the ams platform and the result is as follows: image However, there are some problems with the "include" of the *.v file, that is, the hierarchical structure does not seem to be supported, as follows: image So I would like to ask you how to solve it here? Or is my approach wrong here? Thanks!

The second question: how to import the dco_model.sp and pfd_model.sp files? The import method I tried is like this, I don't know if it is correct? image In the process of importing, I also encountered the hierarchical problem of include, I don't know how to solve it, as shown below image Looking forward to your answer, good luck!

Tsai-Cheng-Hong commented 2 years ago

简体中文版: 嗨,我现在尝试把verilog代码嵌入到ams平台中,结果如下: 图片 但在*.v文件的“include”遇到了些许问题,也就是层次化结构貌似不支持,如下: 图片 所以想询问您这边是如何解决的呢?或者我这边的方法错了吗?谢谢!

第二个问题:dco_model.sp和pfd_model.sp文件如何导入呢?我尝试的导入方法是这样的,不知道是否正确呢? 图片 在导入的过程中也遇到了include的层次化问题,不知道如何解决,如下图 图片

期待您的解答,祝好!

======================================================================= English version: Hi, I am now trying to embed the verilog code into the ams platform and the result is as follows: image However, there are some problems with the "include" of the *.v file, that is, the hierarchical structure does not seem to be supported, as follows: image So I would like to ask you how to solve it here? Or is my approach wrong here? Thanks!

The second question: how to import the dco_model.sp and pfd_model.sp files? The import method I tried is like this, I don't know if it is correct? image In the process of importing, I also encountered the hierarchical problem of include, I don't know how to solve it, as shown below image Looking forward to your answer, good luck!

中文: 1. 第一個問題我沒有遇到過 所以我也不太清楚為什麼會這樣

2.我是在Cadence hirarchy editor的地方將.sp替換進去的 image

English: The first problem I have not encountered So I'm not quite sure why this happens

  1. I replaced .sp in the Cadence hirarchy editor image
wxknxxzj commented 2 years ago

好的!谢谢解答!

OK! Thanks for answering!

rezim018 commented 1 year ago

hi, its really appreciated if you can provide me with any publications or references you followed for this work. thanks.