From 925563245f88d82def836cf5a736137e7df683c0 Mon Sep 17 00:00:00 2001 From: whatmough <pwhatmough@seas.harvard.edu> Date: Mon, 20 Jan 2020 15:37:08 -0500 Subject: [PATCH] Update RTL-Coding-Guidelines.md --- tools/rtl-coding/RTL-Coding-Guidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/rtl-coding/RTL-Coding-Guidelines.md b/tools/rtl-coding/RTL-Coding-Guidelines.md index a396b55..9de6c01 100644 --- a/tools/rtl-coding/RTL-Coding-Guidelines.md +++ b/tools/rtl-coding/RTL-Coding-Guidelines.md @@ -77,7 +77,7 @@ endmodule // my_counter In addition to these guidelines, we also recommend the strict use of a pre-processor macro for register inference. This has a number of advantages, including: 1) significant reduction in lines of code, 2) removes the risk of poor inference style, e.g. embedded logic, 3) enforces use of a rising-edge, async active-low reset, 4) allows the register inference template to be changed to suit ASIC or FPGA. A macro is used instead of a module to reduce simulation overhead. -The CHIPKIT RTL header file (`RTL.svh`) includes a macro definition `\`FF()` for this purpose, which replaces the traditional inference template, as shown in the snippet below. +The CHIPKIT RTL header file (`RTL.svh`) includes a macro definition `` `FF()`` for this purpose, which replaces the traditional inference template, as shown in the snippet below. When using FPGAs with an RTL codebase, this macro can be easily redefined to infer a synchronous reset, which is more common. ```systemverilog -- GitLab