[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[f-cpu] HDL coding rules
- To: f-cpu@seul.org
- Subject: [f-cpu] HDL coding rules
- From: Just an Illusion <illusion_to_net@yahoo.fr>
- Date: Mon, 29 Jul 2002 10:32:35 +0200
- Delivered-To: archiver@seul.org
- Delivered-To: f-cpu-outgoing@seul.org
- Delivered-To: f-cpu@seul.org
- Delivery-Date: Mon, 29 Jul 2002 04:42:30 -0400
- Reply-To: f-cpu@seul.org
- Sender: owner-f-cpu@seul.org
- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
Hello,
After a private disussion between different member of the f-cpu list, we
have arrive to conclude than no coding rules exist on the project.
This point seems not very important as long as the number of coder is
small, but to help newbies or modification of existing block, the coding
rule usage is better.
The existance of coding rule, can be help to understand the code of a
bloc and the hierarchical structure.
We made some proposal :
* hierarchical prefix on each signal (and interface pad) to give
hierarchical belonging
* postfix on each signal to give signal direction or polarity,
like _i (input), _o(output), _s(internal signal), _n(not signal)...
* file name rule
* don't use signal declaration into package declaration.
If you see other rules, propose them.
Cheers,
Just an Illusion
--
______________________________
"The matrix is my world, I am a shadow.
Shadow in world, shadow in life. Don't try to keep me,
I am a Corpo's Killer.
Don't follow me or die..."
The KingWalker - 1996
*************************************************************
To unsubscribe, send an e-mail to majordomo@seul.org with
unsubscribe f-cpu in the body. http://f-cpu.seul.org/