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.

FPGA Nested Modules issues - help needed

Status
Not open for further replies.

dlh

Newbie level 1
Joined
Jan 15, 2010
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,287
FPGA Module issues

Hey,

I am pretty new to FPGA. I am confused about the program 'flow' in verilog.. What I want is to have a module with nested modules. Like:

Code:
module large( a, b, c, d, out)
    multiply (a,b, out1)
    multiply (c,d, out2)
    out = out1 - out2
    multiply(out, d, out);
end module

I am confused how I can do this. I don't want the multiply modules to be new instances - I want the one multipy module to do all 3 multiplications sequentially as I want to save room on the fpga. How do I go about doing this. In general I am confused about how to make things run in parallel vs sequentially... Any info would be much appreciated!

Thanks
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top