From 59d758d9c6abc10824558b9a1bc9e0aa33900a93 Mon Sep 17 00:00:00 2001 From: Andreas Olofsson Date: Thu, 5 May 2016 23:35:13 -0400 Subject: [PATCH] Adding notes on generate blocksx --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index db6c232..22a1659 100644 --- a/README.md +++ b/README.md @@ -123,10 +123,12 @@ TBD * Use common names: nreset, clk, din, dout, en, rd, wr, addr, etc * Make names descriptive, avoid non-common abbreviations * Make names as short as possible, but not shorter +* Use short named generate blocks "g0, g1, etc" +* Inside generate blocks use short "i" for instance * Use _ in constants over 4 bits (eg: 8'h1100_1100) * One module per file * Use ".vh" suffix for header files, -* yse ".v" for verilog source files +* Use ".v" for verilog source files * Use `include files for constants * Use `ifndef _CONSTANTS_V to include file only once * No timescales in design files (only in testbench)