Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

help in system verilog

Status
Not open for further replies.

deepu_s_s

Full Member level 5
Joined
Mar 24, 2007
Messages
305
Helped
15
Reputation
30
Reaction score
5
Trophy points
1,298
Activity points
3,021
hi !
i am having a doubt in sv.
consider a micro processor architceture..all the bus elated signals are defined in an interface.. all these signals are shared by different blocks like alu,cu,memory, instruction decoder etc... some of these blocks dont utilize all of the signals defined in the interface. but the unused signals cant be left open like in MODULE.

then wont be there any error. how to resolve problem?

thanks and regards
Deepak
 

Hi
If there are unused signals in the blocks which are declared in the interface, declare this signals as bit. These signals will be in the X state.
Hope this helps

Regards,
Naveen
 

Deepu_s_s,

In total, the signals in the interface are connected to one or the other module & no signal is kept unconnected. Then how do you say that they left unconnected? We will be using different instances of the same interface and use the signals whichever are required for that particular module. If a signal is used nowhere, it will be deleted obviously!

The "modport" construct here will help to identify the directions even.

-mkrishnap
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top