aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/arch.h
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-07-18 12:21:02 +0200
committerDavid Shah <davey1576@gmail.com>2018-07-18 12:21:02 +0200
commit70cfa7a6a4bbc796f1ddf23f53a932538eb3b84d (patch)
tree901cae782b630b4852b9ffef548e1e170b969362 /ice40/arch.h
parentc75a924c3f9dba4fd7d5c4e9674b29f7869a4e52 (diff)
downloadnextpnr-70cfa7a6a4bbc796f1ddf23f53a932538eb3b84d.tar.gz
nextpnr-70cfa7a6a4bbc796f1ddf23f53a932538eb3b84d.tar.bz2
nextpnr-70cfa7a6a4bbc796f1ddf23f53a932538eb3b84d.zip
ice40: Make assignArchArgs a Arch method; call also after legaliser
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ice40/arch.h')
-rw-r--r--ice40/arch.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/ice40/arch.h b/ice40/arch.h
index 1c47e958..8821ded2 100644
--- a/ice40/arch.h
+++ b/ice40/arch.h
@@ -705,6 +705,11 @@ struct Arch : BaseCtx
// Helper function for above
bool logicCellsCompatible(const std::vector<const CellInfo *> &cells) const;
+ // -------------------------------------------------
+ // Assign architecure-specific arguments to nets and cells, which must be called between packing or further
+ // netlist modifications, and validity checks
+ void assignArchArgs();
+
IdString id_glb_buf_out;
IdString id_icestorm_lc, id_sb_io, id_sb_gb;
IdString id_cen, id_clk, id_sr;