Monday, October 06, 2008     Register | Login | Search | Contact Us
     

Many of you already received communications about the move of the Cadence user community into cadence.com. And many of you have already joined, with over 4000 registrations in the first two weeks.

The new Cadence Community enhances the ability of Cadence users to connect and collaborate. In addition to moving the community into cadence.com -- enabling single sign-on for community, Sourcelink and Cadence events -- the new site is organized around nine technology segments, giving you easy access to product information, training, forums and blogs. Some of the new features include:
  • Ability to respond to posts via e-mail
  • Technology-specific blogs
  • Latest Web 2.0 social networking capabilities
  • Public profile options
  • Private messaging
  • Friends lists
Visit the new Cadence Community today at www.cadence.com/community and join the discussions!

Registration note: Due to the scope of the enhancements and the new SSO registration system, we were not able to migrate existing cdnusers.org member accounts. So new registrations are required, but this enables a broader set of functionality we think you'll enjoy.

Forum note: Under the guidance of forum moderators, we have taken the 20+ cdnusers.org forums and consolidated them into 11 forums on the new site. Posts have been brought over so you can leverage that posting history. CDNusers forums will be set to read only starting 7/30, and cdnusers.org will be redirected to the new community on 8/4.

Best regards,
Mike and Tom

Michael A. Catrambone - Steering Committee Chairman
Distinguished Engineer
PCB/Mechanical
UTStarcom, Inc.

Tom Diederich
Cadence Community Manager
Home
Forums
Subject: SPI3 Shareware eVC
Posting to forums is available to community members only.
Login or Register
Rate this topic:
   
Author Messages
Matt Graham
Posts: 3
Online: User is Offline
11/03/2006 6:05 AM  

Some notes about the eVC:

the scripts directory contains a build script, a run script, and a Makefile.  The build and run scripts are only used by vManager.  Use the Makefile.

The Makefile is linked into the sim directory.  In the sim directory, do a "make stubs comp_vlog run_gui" to run the demo.  You may have to fool around with your env a bit to get it running (i.e. it may not find your tools etc.)

 
The "regression" for the eVC is designed to be run from vManager.  The VSIF, and SVE files are in the vm directory.

 
In the examples directory there are examples of how to instantiate and configure the eVC, some sample tests, and an example scoreboard.

 
There isn't a lot of documentation (none, really), but I'll try to give an overview:

There are 3 main sequences:  the BFM sequence, which controls the cycle by cycle (clock by clock) activity on the SPI3 bus.  The subtype LAYERED_PAYLOAD of this sequence is designed to draw data from the upper layer, which is the 2nd sequence, the PORT sequence.

 
In it's default form the PORT sequence generates random SPI3 "packets" or "frames."  It can also be connected to a higher layer sequence (i.e ATM, HDLC, Etherenet, whatever you want).

 
The 3rd sequence is the arbiter sequence.  This is the sequence that determines the next SPI3 "Port" on which to drive data.  It is implemented as a simple round robin "Arbiter" at this point, but could be extended to do whatever the user wants.

 
The AGENT has 4 subtypes: RX PHY, TX PHY, RX LINK, TX LINK which correspond to the 4 different "views" of the SPI3 bus.  If you know SPI3 at all, this will be clear.

The agents can work in either ACTIVE or PASSIVE mode.

This is also a protocol monitor that will perform SPI3 protocol checking.

 
There is some very low level simple coverage implemented.  This is where the eVC is most deficient at this time.

 
There are some sample BFM sequences in the shr_bfm_sequence_lib.e file that give good examples on how to create bus level errors and corner cases.

 
As I said above, the documentation is pretty well non-existant. 

My email is magraham@cadence.com if you have any questions.

 
I consider the eVC a GREAT starting piont, and can be used with less than 1/2 a day effort to do very thorough sanity checking on a SPI3 block.  Other Cadence customers have used it, almost unchanged in the form I'm postin, to do VERY thorough, VERY indepth complete regressions (over 450 coverage points in their coverage plan).


-Matt

Attachment: shr_spi3.tar.gz

mblake
Posts: 0
Online: User is Offline
12/07/2006 10:31 AM  
Thanks for the Shareware.
I tried opening it but after unzipping about 30 files received this error message.

. . . .
shr_spi3/misc/
shr_spi3/misc/shr_spi3_dcf.txt

gzip: stdin: unexpected end of file
shr_spi3/demo.sh
tar: Child returned status 1
tar: Error exit delayed from previous errors

Matt Graham
Posts: 3
Online: User is Offline
12/07/2006 10:38 AM  
Ugh. That's no good. I'll try re-tarring it and I'll repost again later today.

Matt Graham
Posts: 3
Online: User is Offline
12/12/2006 3:36 PM  
Sorry for the delay in reposting.

Here is another tar file.  Hopefully this one works better.

-Matt

Attachment: shr_spi3.tar.gz

mblake
Posts: 0
Online: User is Offline
12/13/2006 5:57 AM  
Hi,
It extracts many files but still getting an error. Maybe I'm doing something wrong.
On my RedHat Linux, I use tar xvzf shr_spi3.tar.gz.
Tar version is:

>tar --version
tar (GNU tar) 1.13.25

> tar xvzf shr_spi3.tar.gz
shr_spi3/
shr_spi3/e/
shr_spi3/e/shr_spi3_agent_h.e
shr_spi3/e/shr_spi3_arbiter.e
shr_spi3/e/shr_spi3_arbiter_h.e
shr_spi3/e/shr_spi3_bfm.e
shr_spi3/e/shr_spi3_bfm_h.e
shr_spi3/e/shr_spi3_bfm_sequence.e
shr_spi3/e/shr_spi3_bfm_sequence_lib.e
shr_spi3/e/shr_spi3_env.e
shr_spi3/e/shr_spi3_fn_cov.e
shr_spi3/e/shr_spi3_monitor_h.e
shr_spi3/e/shr_spi3_port_h.e
shr_spi3/e/shr_spi3_port_in.e
shr_spi3/e/shr_spi3_port_out.e
shr_spi3/e/shr_spi3_protocol_monitor.e
shr_spi3/e/shr_spi3_signal_map.e
shr_spi3/e/shr_spi3_struct.e
shr_spi3/e/shr_spi3_top.e
shr_spi3/e/shr_spi3_types.e
shr_spi3/e/shr_spi3_monitor.e
shr_spi3/e/shr_spi3_port_sequence.e
shr_spi3/e/shr_spi3_agent_config.e
shr_spi3/e/shr_spi3_arbiter_sequence.e
shr_spi3/examples/
shr_spi3/examples/shr_spi3_README.txt
shr_spi3/examples/spi3_top.e
shr_spi3/examples/HDL.cmd
shr_spi3/examples/spi3_test.e
shr_spi3/examples/vm_build_HDL.cmd
shr_spi3/examples/spi3_xsx_disabled_test.e
shr_spi3/examples/shr_spi3_config.e
shr_spi3/examples/shr_spi3_config_template.e
shr_spi3/examples/shr_spi3_example_scoreboard.e
shr_spi3/scripts/
shr_spi3/scripts/Makefile
shr_spi3/scripts/vm_build.sh
shr_spi3/scripts/env.csh
shr_spi3/scripts/jspecview.log
shr_spi3/scripts/vmanager.elog
shr_spi3/scripts/specview_vmanager.elog
shr_spi3/scripts/axis.log
shr_spi3/scripts/env.sh
shr_spi3/scripts/vm_run.sh
shr_spi3/scripts/irun.log
shr_spi3/scripts/run.sh
shr_spi3/verilog/
shr_spi3/verilog/no_dut_tb.v
shr_spi3/vm/
shr_spi3/vm/specman.elog
shr_spi3/vm/shr_spi3_regression.vsif
shr_spi3/vm/shr_spi3_single_test.vsif
shr_spi3/vm/jspecview.log
shr_spi3/vm/specview_specman.elog
shr_spi3/vm/foo.ecom
shr_spi3/PACKAGE_README.txt
shr_spi3/docs/
shr_spi3/vlog/
shr_spi3/vlog/no_dut_tb.v
shr_spi3/misc/
shr_spi3/misc/shr_spi3_dcf.txt

gzip: stdin: unexpected end of file
shr_spi3/demo.sh
tar: Child returned status 1
tar: Error exit delayed from previous errors


Mike
Posting to forums is available to community members only.
Login or Register



ActiveForums 3.6
     
Copyright 2006 Cadence Design Systems, Inc.