From 13182ef89abf8174598f654c7b9bebcb8111c778 Mon Sep 17 00:00:00 2001 From: Adam Taylor Date: Tue, 24 May 2022 12:59:54 -0600 Subject: [PATCH 1/2] Don't wrap JSON Symbicache hashes in string This fixes a bug where the hashes were being read in from the file as a string, which throws a runtime error because the Symbicache stores the hashes as a dictionary as opposed to a single string --- f4pga/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/f4pga/cache.py b/f4pga/cache.py index 08d0ec5..78e4a7b 100755 --- a/f4pga/cache.py +++ b/f4pga/cache.py @@ -100,4 +100,4 @@ This will cause flow to re-execute from the beggining.""") def save(self): """Saves cache's state to the persistent storage.""" with Path(self.cachefile_path).open('w') as wfptr: - json_dump(str(self.hashes), wfptr, indent=4) + json_dump(self.hashes, wfptr, indent=4) From 8f135382005f8a989ab117296ab31a2c6f8b913a Mon Sep 17 00:00:00 2001 From: Adam Taylor Date: Tue, 24 May 2022 13:03:40 -0600 Subject: [PATCH 2/2] Fixed two minor documentation typos --- docs/f4pga/modules/index.md | 2 +- docs/flows/pnr.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/f4pga/modules/index.md b/docs/f4pga/modules/index.md index 7083e9a..23248ea 100644 --- a/docs/f4pga/modules/index.md +++ b/docs/f4pga/modules/index.md @@ -232,7 +232,7 @@ described in `outputs` should be present. ### Module initialization/instantiation -In the the `__init__` method of module's class, the following fields should be +In the `__init__` method of module's class, the following fields should be set: * `takes` - a list of symbolic dependency names for dependencies used by the module diff --git a/docs/flows/pnr.rst b/docs/flows/pnr.rst index 6c865e7..5e26ca1 100644 --- a/docs/flows/pnr.rst +++ b/docs/flows/pnr.rst @@ -34,7 +34,7 @@ step to find more optimal solutions. Routing ======= -Routing is one of the most demanding tasks of the the whole process. +Routing is one of the most demanding tasks of the whole process. All possible connections between the placed blocks and the information on the signals propagation timings, form a complex graph. The tool tries to find the optimal path connecting all the placed