Wednesday, February 08, 2012     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: vhdl & system verilog
Posting to forums is available to community members only.
Login or Register
Rate this topic:
   
Author Messages
indeb
Posts: 9
Online: User is Offline
3/21/2007 1:32 AM  
   Hi All,

I have a very basic qn - jus picking up system. verilog -> if the testbench is in system verilog
and the top level is in vhdl - will both the modules be able to talk to each other?

Many Thanks in advance,
indeb
ajeetha
Posts: 97
Online: User is Offline
3/21/2007 7:33 PM  
Hi Indeb,
Yes, this should work - though not defined by LRM per-se, many tools support this Mixed mode sim nicely. My experience with NC is few years old, even then it supported VHDL-Verilog cosim nicely. So at the worst case the following should work for you:

SV_Testbench --> Verilog Top --> VHDL DUT


Top Level in VHDL with say a SV Program instantiated also works in other simulators BTW.

HTH
Ajeetha, CVC
www.noveldv.com
indeb
Posts: 9
Online: User is Offline
3/21/2007 8:46 PM  
Hi Ajeetha

sorry jus a couple of qns -> what do you mean by LRM, NC, mixed mode sim - mixed mode simulator? co sim?
I am using modelsim - for simulation - but not too sure about the model building - when I buid the model - what is actually executing the code - I am on vnc server - I use modelsim to trace the signals - debbugging - but not too sure on how the
codes are being built into a model - any insight?

Thanks a mil!
indeb
ajeetha
Posts: 97
Online: User is Offline
3/23/2007 9:31 AM  
Posted By indeb on 3/21/2007 8:46 PM
Hi Ajeetha

sorry jus a couple of qns -> what do you mean by LRM, NC, mixed mode sim - mixed mode simulator? co sim?
I am using modelsim - for simulation - but not too sure about the model building - when I buid the model - what is actually executing the code - I am on vnc server - I use modelsim to trace the signals - debbugging - but not too sure on how the
codes are being built into a model - any insight?

Thanks a mil!
indeb
LRM - Language Reference Manual
NC - NCSIM (www.cadence.com)

Do google search to learn more on these.

Regards
Ajeetha, CVC
www.noveldv.com

indeb
Posts: 9
Online: User is Offline
3/24/2007 6:06 AM  
Hi Ajeetha -

one more qn - is this declaration in sv correct?

parameter Α:1] top_one3 = 3'b1;

I need bits 1-3 to be high -

Thanks in advance!
bryan
Posts: 25
Online: User is Offline
3/24/2007 10:57 AM  
Try = {3 {1'b1}} or 3'b111 or 3'd7

Regards,
Bryan
indeb
Posts: 9
Online: User is Offline
3/25/2007 3:27 AM  
sorry I meant

parameter Α:1] top_one3 =3'b1;

is this okay?

indeb
TAM
Posts: 56
Online: User is Offline
3/25/2007 10:16 AM  
Just to repeat what Bryan said... In SystemVerilog, if you don't specify enough bits in a constant, the leftmost bits will be set of zero. So 3'b1 will be the same as 3'b001. So you need to set all three bits high explicitly. 3'b111 or {3{1'b1}}.

If you are just starting with the language, I'd strongly recommend that you get an introductory Verilog book. It'll pay off.
indeb
Posts: 9
Online: User is Offline
3/25/2007 6:49 PM  
hi all:)
thanks - but my post seems to always mess up - what i meant was i need bits 1-3 to be high and bit 0 to be low -
so i think parameter Α:1 ]top_one3 =3'b1 .........would mean bits 1-3 high and bit 0 low?
if the numbers in the square brackets still appear as A and 1 - i meant, three : one
thanks
indeb
bryan
Posts: 25
Online: User is Offline
3/26/2007 10:23 AM  
Try 3:0 = 4'b1110 or 4'hE or 4'd14

Bottom line is this is basic Verilog. So getting a book a previously suggested would be a good idea. The qualifiers are working like you think. Please review the examples and you'll see important differences between what you keep typing and what other keep suggesting.

Regards,
Bryan
indeb
Posts: 9
Online: User is Offline
3/26/2007 11:15 PM  
yes i agree - i deserve that - i was under really tight schdule and kinda forgot some things - and when i did come back and look at my posts - seems like ramblings n wish could remove them - but i dont seem to be able to edit/remove once i have posted)n before someone posts a reply)-> currently using HDL Programmin fundamentals VHDL & verilog by Nazeih M Botros
thanks
indeb
Posting to forums is available to community members only.
Login or Register

Forums > Functional Verification > SystemVerilog > vhdl & system verilog


ActiveForums 3.6
     
Copyright 2006 Cadence Design Systems, Inc.