Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

basic verilog questions??

Status
Not open for further replies.

mohi@608

Member level 4
Joined
Apr 4, 2012
Messages
69
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,719
A wish to design a module ...i have two methods one is writing the functionality of all sub components in same module(let the tool do all the work ) or making separate module for each sub component and calling it in the top module...
which approach is better ????

i have another doubt can we have multiple begin in a single always block ..could you please explain with an example ???
 

sujeethaa

Junior Member level 3
Joined
Nov 18, 2012
Messages
26
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
bangalore
Activity points
1,464
hi mohi

Its our wish to design the module !!!

up to me if u have separate module and u call in the main u feel easy to understand and also it s easy to find the bugs!!


ya u can have multiple begin in a single block
.
http://www.doulos.com/knowhow/verilog_designers_guide/if_statement/

this link will give u an idea about this i hope!!
---------
sujeethaa
 
Last edited by a moderator:

moottii

Full Member level 2
Joined
Feb 22, 2012
Messages
120
Helped
13
Reputation
26
Reaction score
13
Trophy points
1,298
Activity points
1,962
For simple designs there is no need to use multiple modules and then connect them together.
But when the design becomes more complicated, such as a processor, it is better to use this method called bottom-up mean you break the design into small
pieces, and then you connect them together.

- - - Updated - - -

For simple designs there is no need to use multiple modules and then connect them together.
But when the design becomes more complicated, such as a processor, it is better to use this method called bottom-up mean you break the design into small
pieces, and then you connect them together.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top