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.

How to call a verilog module from another source

Status
Not open for further replies.

kvinod423

Newbie level 3
Joined
Apr 17, 2015
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
26
Hi I am new to Verilog coding.

I have created a module in one source file and wants to call the created module in a new other source file.

source 1 - contains full adder module
want to use full adder module created in source 1 file in source 2.

How can i do that ?

Thanks in advance.
 

Hi I am new to Verilog coding.

I have created a module in one source file and wants to call the created module in a new other source file.

source 1 - contains full adder module
want to use full adder module created in source 1 file in source 2.

How can i do that ?

Thanks in advance.

Hi,

What software did you use? Basically you just can instatiate your new module (full adder) as top module.
 

There is no concept of "calling modules". You can instantiate the full adder module in source2 and access the ports of the full adder module in source2.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top