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.

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 ???
 

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
.
https://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:

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

Back
Top