Simulating ISE 14.7 in Modelsim - Page 1
Forum section: electronics / general

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: May 31, 2021, 12:32:02 pm
content: Hi,I have a very basic project in ISE, I'm using an IP core for generating a 96MHz clock from a 50MHz input, and use it to blink some LED's and generate a second CLOCK on another IO, the project works perfectly fine, Now I want to make simulation in Modelsim, the Modelsim lunches, But it would complain with these errorsCode:# ** Error: ipcore_dir/Clock96MHz.v(77): Module 'IBUFG' is not defined.# ** Error: ipcore_dir/Clock96MHz.v(109): Module 'PLL_BASE' is not defined.# ** Error: ipcore_dir/Clock96MHz.v(128): Module 'BUFG' is not defined.How should I solve the problem, the ISE project is attached for your reference.

author: emece67
author_rank: Frequent Contributor
timestamp: May 31, 2021, 12:44:46 pm
content: .

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: May 31, 2021, 12:58:25 pm
content: QuoteI have just compiled the project with this right click menuI do not know How to do compxlib!?

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: June 01, 2021, 06:05:18 am
content: emece67 is this the way to compile libs?

author: emece67
author_rank: Frequent Contributor
timestamp: June 01, 2021, 07:12:57 am
content: .

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: June 05, 2021, 12:04:44 pm
content: I can not resolve the issues in here, I will get these errors in modelsimQuoteI have attached all the possible project settings,Any Idea what should I do?

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: June 05, 2021, 01:54:58 pm
content: I have changed the VoptFlow to 0 like thisCode:VoptFlow = 0In modelsim.iniNow those errors would go away and a new error comes!QuoteBut there is novopt in modelsim.ini fileAny help in here?

author: BrianHG
author_rank: Super Contributor
timestamp: June 05, 2021, 09:44:53 pm
content: Are Xilins' IP library included in your VSIM command line in the transcript?Are the libraries properly located in Modelsim's available library list?EG: (Altera example..)My VSIM line:Code:vsim -t 1ps -L altera_ver -L lpm_ver -L sgate_ver -L altera_mf_ver -L altera_lnsim_ver -L cycloneive_ver -L work -voptargs="+acc" BrianHG_DDR3_PHY_SEQ_tbAll the -L except for '-L work (contains all my source codes)' contain the Altera IP Mega-functions my DDR3 core needs to simulate. IE, Cyclone PLL and DDRIO buffers, FIFO, CORE ram and SERDES which I use.See photo: (Xilinx could have set this up automatically like Altera. If not, it just introduces hassle...)

author: emece67
author_rank: Frequent Contributor
timestamp: June 05, 2021, 10:51:49 pm
content: .

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: June 06, 2021, 10:37:11 am
content: Thanks, I could do the simulation by downgrading Modelsim to 10.6d version, I think there should be something with the new version, maybe it's not compatible with ISE.

author: Bassman59
author_rank: Super Contributor
timestamp: June 07, 2021, 04:20:52 am
content: Quote from: ali_asadzadeh on June 06, 2021, 10:37:11 amOf course it's compatible with ISE. You just need to make sure you've compiled the ISE libraries with the version of ModelSim you're using, and that the library is visible to your design.

author: BrianHG
author_rank: Super Contributor
timestamp: June 07, 2021, 04:45:15 am
content: This might be better answered on Xilins' forum, or even try to google -> 'Modelsim Error: Module 'BUFG' is not defined.'

author: ali_asadzadeh
author_rank: Super Contributor
timestamp: June 07, 2021, 05:50:33 am
content: QuoteThat's what I have done exactly for a lower version number! the exact things I do for the new version, simply do not work.

author: mrflibble
author_rank: Super Contributor
timestamp: June 18, 2021, 08:21:20 pm
content: Search for a file called "compxlib.log" in your ISE install directory. That should contain a few hints on what went wrong. It also contains the command that was used for that particular compxlib run. If you want, you can use that to re-run compxlib.AFAIK there is a separate directory with compiled xilinx code for each simulatorversion.So if you have 2 different versions of Modelsim installed, you should have 2 compiled-xilinx-library sub-directories.In general ... reading the compxlib logs should give you enough information of why things are behaving the way they are.... Oh, and of course the ISE log messages you get when launching modelsim from ISE.