From 0865198a9e5d201cc436b90a9338c3c40048e2e0 Mon Sep 17 00:00:00 2001 From: "D. Shah" Date: Wed, 3 Feb 2021 10:42:46 +0000 Subject: Update coding.md Signed-off-by: D. Shah --- docs/coding.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docs') diff --git a/docs/coding.md b/docs/coding.md index 5cbaef01..355fe457 100644 --- a/docs/coding.md +++ b/docs/coding.md @@ -28,6 +28,8 @@ Additionally to this; architectures provide functions for checking the availabil - Pips that represent LUT permutation are not available when the LUT is in memory mode - only a certain total number of pips in a switchbox can be used at once due to power supply limitations +As well as implementing all of the standard [Arch API](archapi.md) functions; arches may include their own helper functions for various purposes. By convention these are in `snake_case`, to distinguish them from the `camelCase` Arch API functions. + ## `IdString`s To avoid the high cost of using strings as identifiers directly; almost all "string" identifiers in nextpnr (such as cell names and types) use an indexed string pool type named `IdString`. Unlike Yosys, which has a global garbage collected pool, nextpnr has a per-Context pool without any garbage collection. -- cgit v1.2.3