The Designer's Guide Community
Forum
Models in Minutes
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines. Jul 18th, 2018, 1:10pm
  HomeHelpSearchLoginRegisterPM to admin  
 
Pages: 1
Send Topic Print
Issue of unrecognized system task or function: $cdn_ahb_access (Read 497 times)
TDG_40
New Member
*
Offline



Posts: 1

Issue of unrecognized system task or function: $cdn_ahb_access
Nov 28th, 2017, 6:23am
 
Hi,
I'm trying to verify the simple AHB block by using VIPCAT, so I made simple test.v as the below

`timescale 1ps/1ps

module test2(
   HCLK,
   HRESET,
   HADDR,
   HTRANS,

...
  HLOCK,
   HGRANT
);
   parameter interface_soma = "test2.soma";
   parameter init_file   = "";
   parameter sim_control = "";
   input HCLK;
   input HRESET;
   output [31:0] HADDR;

...

     assign HBUSREQ = den_HBUSREQ;
   output HLOCK;
     reg den_HLOCK;
     assign HLOCK = den_HLOCK;
   input HGRANT;
initial
   $cdn_ahb_access(HCLK,HRESET,den_HADDR,den_HTRANS,den_HWRITE,den_HSIZE,den_HBURS
T,den_HPROT,den_HWDATA,HRDATA,HREADY,HRESP,den_HBUSREQ,den_HLOCK,HGRANT);
endmodule


And I want to use the VIPCAT to generate a BFM file for the AHB interfacing test.
But I'm stuck in the below process. How do I resolve this problem?

When I execute with the below command
$ncverilog +access+wrc test2.v


then I've got the below errors    $cdn_ahb_access(HCLK,HRESET,den_HADDR,den_HTRANS,den_HWRITE,den_HSIZE,den_HBURS
T,den_HPROT,den_HWDATA,HRDATA,HREADY,HRESP,den_HBUSREQ,den_HLOCK,HGRANT);
                 |
ncelab: *W,MISSYST (./test1.v,70|18): Unrecognized system task or function: $cdn_ahb_access (did not match built-in or user-defined names) [2.7.4(IEEE Std 1364-2001)]



Could you please help me how can I resolve this problem?.

I've attached with file (.v and executing file)
Would you help me how do I get the correct executing file?
Back to top
 
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1671
Bracknell, UK
Re: Issue of unrecognized system task or function: $cdn_ahb_access
Reply #1 - Dec 21st, 2017, 7:21am
 
Not really my field, but some records of this suggest that it's due to not having been set up or not including the VIP PLI on the command line.

I suggest you try doing (set the path to your installation with setenv if csh, or export if using bash/ksh):

setenv CDN_VIP_ROOT /path/to/VIPCAT_release
$CDN_VIP_ROOT/tools/denali/example/cdn_ahb/svExamples/simpleExample/example_setu
p_ncsim.csh

Do this in an empty directory and then inspect the various files in the directory.

If this doesn't help, best to go to support.cadence.com and ask for help...

Regards,

Andrew.
Back to top
 
 
View Profile WWW   IP Logged
Pages: 1
Send Topic Print
Trouble viewing this site? Copyright © 2002-2018 Designer's Guide Consulting. 'Designer's Guide' is a registered trademark of Designer's Guide LLC. All rights reserved.

Our colleges are not as safe as they seem. Sexual assault is pervasive and the treatment of the victim by the adminstration is often as damaging as the assault: Campus Survivors, Campus Survivors Forum.

Some of our other sites that you might find useful: Avendesora, Inform and QuantiPhy.