The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 7th, 2024, 9:21am
Pages: 1
Send Topic Print
A very basic Verilog-A question (Read 1929 times)
A_Programmer
Junior Member
**
Offline



Posts: 13

A very basic Verilog-A question
Jun 27th, 2006, 1:54am
 
What is the use of:

begin : something_something
.
.
.
end

Since there is no conditional statement preceding this block, do we use begin-end here simply for clarity? And, is something_something a comment again for clarity purpose too?

Thanks a lot.
Back to top
 
 
View Profile   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1998
Massachusetts, USA
Re: A very basic Verilog-A question
Reply #1 - Jun 27th, 2006, 7:05am
 
begin-end can be used just for clarity.  In this case, though, you have a "named block" (the "name" is something_something), and this allows you to declare items (parameters, variables) within the block.
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.