aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/lpf.cc
Commit message (Collapse)AuthorAgeFilesLines
* ecp5: LOCATE in LPF works on singleton vectorrowanG0772023-01-311-1/+8
|
* ecp5: Improve error handling for missing end-"gatecat2023-01-021-9/+10
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* refactor: Use constids instead of id("..")gatecat2022-02-161-1/+1
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Fixing old emails and names in copyrightsgatecat2021-06-121-1/+1
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Using hashlib in archesgatecat2021-06-021-3/+2
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* Split nextpnr.h to allow for linear inclusion.Keith Rothman2021-03-151-0/+4
| | | | | | | | | | | | | | | | | | | "nextpnr.h" is no longer the god header. Important improvements: - Functions in log.h can be used without including BaseCtx/Arch/Context. This means that log_X functions can be called without included "nextpnr.h" - NPNR_ASSERT can be used without including "nextpnr.h" by including "nextpnr_assertions.h". This allows NPNR_ASSERT to be used safely in any header file. - Types defined in "archdefs.h" are now available without including BaseCtx/Arch/Context. This means that utility classes that will be used inside of BaseCtx/Arch/Context can be defined safely in a self-contained header. Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
* Fix compiler warnings introduced by -Wextragatecat2021-02-251-1/+1
| | | | Signed-off-by: gatecat <gatecat@ds0.me>
* ecp5: Use snake case for arch-specific functionsD. Shah2021-02-031-1/+1
| | | | | | | This makes the difference clearer between the general arch API that everyone must implement; and helper functions specific to one arch. Signed-off-by: D. Shah <dave@ds0.me>
* ecp5: Add a warning for unknown LPF IOBUF attrsDavid Shah2020-07-131-0/+8
| | | | Signed-off-by: David Shah <dave@ds0.me>
* ecp5: Add parsing of SYSCONFIG line in LPFDavid Shah2020-07-121-1/+20
| | | | Signed-off-by: David Shah <dave@ds0.me>
* lpf: Support // commentsDavid Shah2020-05-141-0/+3
| | | | Signed-off-by: David Shah <dave@ds0.me>
* Fix assertion failure on invalid LOCATE input.Gary Wong2020-04-051-0/+2
| | | | | | | | | | | | | | Trying to parse this invalid LPF syntax: LOCATE COMP "a" SITE "A1" IOBUF PORT "a" IO_TYPE=LVCMOS33; (note missing semicolon on first line) gives an assertion failure in strip_quotes, because the fifth token is scanned as "A1"IOBUF (without a trailing quote). Avoid the problem by detecting extraneous input and issuing a more specific error.
* Use properties for settings and save in jsonMiodrag Milanovic2019-06-121-1/+1
|
* ecp5: Fix handling of CRLFs and uppercase frequency units in LPFDavid Shah2019-02-271-4/+6
| | | | Signed-off-by: David Shah <dave@ds0.me>
* ecp5: Improve error handling and warning generation in LPF parserDavid Shah2019-02-251-19/+31
| | | | Signed-off-by: David Shah <dave@ds0.me>
* ecp5: Add support for 'FREQUENCY NET' and 'FREQUENCY PORT' in lpfDavid Shah2019-02-241-1/+24
| | | | Signed-off-by: David Shah <davey1576@gmail.com>
* ecp5: Add IO buffer insertionDavid Shah2018-10-311-13/+16
| | | | Signed-off-by: David Shah <dave@ds0.me>
* ecp5: Adding LPF parserDavid Shah2018-10-311-0/+103
Signed-off-by: David Shah <dave@ds0.me>