Thursday, January 08, 2009     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: interface for bidirectional pins
Posting to forums is available to community members only.
Login or Register
Rate this topic:
   
Author Messages
chaitu2k
Posts: 8
Online: User is Offline
3/17/2007 12:13 AM  
Hi

I trying to interface a bidirectional pin in sysytemverilog. in my interface declaration i have declared it as wire and in clocking block as inout...in my top module i'm using a reg to get values and then using the following syntax

assign my_if.biDir_pinname = reg_name;

in simulation i'm observing X. i also have to do a weak pullup. please guide on how to model and successfully interface bidirectional pins. i'm using cadence IUS5.83

Thanks 
kameade
Posts: 13
Online: User is Offline
3/17/2007 2:53 PM  
Hello,

You will have to treat the wire in the interface like you would treat any wire in Verilog. It can only have one driver at a time. I believe you will have to conditionally assign reg_name:

assign my_if.biDir_pinname = (enable_me) ? reg_name : 'bz;

Here is a mini example:

interface mod_if;
wire Ε:0] bidir_bus;
logic enable1;
endinterface : mod_if

module one (interface my_if);
assign my_if.bidir_bus = (enable1) ? 8'h11 : 8'hz;
endmodule : one

module two (interface my_if);
assign my_if.bidir_bus = (enable1) ? 8'hz : 8'h22;
endmodule : two

module top();
mod_if my_if();
one m1 (my_if);
two m2 (my_if);

initial begin
my_if.enable1 = 1;
repeat (4)
#1 my_if.enable1 = ~my_if.enable1;
end

initial $monitor(my_if.enable1,, my_if.bidir_bus);
endmodule : top

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

Forums > Functional Verification > SystemVerilog > interface for bidirectional pins


ActiveForums 3.6
     
Copyright 2006 Cadence Design Systems, Inc.