diff options
author | David Shah <dave@ds0.me> | 2020-11-20 10:27:04 +0000 |
---|---|---|
committer | David Shah <dave@ds0.me> | 2020-11-30 08:45:28 +0000 |
commit | df3c6dfe3ec3740007d4dbd8ae6347e2af345c79 (patch) | |
tree | f4844a5c61ba9ba662c38d7f89f1e12eac12e62c /nexus/arch.h | |
parent | 76543d05e7ef9b7bd87b7641ace08360d81dc023 (diff) | |
download | nextpnr-df3c6dfe3ec3740007d4dbd8ae6347e2af345c79.tar.gz nextpnr-df3c6dfe3ec3740007d4dbd8ae6347e2af345c79.tar.bz2 nextpnr-df3c6dfe3ec3740007d4dbd8ae6347e2af345c79.zip |
nexus: Preliminary integration of DSP timing data
Signed-off-by: David Shah <dave@ds0.me>
Diffstat (limited to 'nexus/arch.h')
-rw-r--r-- | nexus/arch.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nexus/arch.h b/nexus/arch.h index debf66b0..1367161c 100644 --- a/nexus/arch.h +++ b/nexus/arch.h @@ -1559,6 +1559,8 @@ struct Arch : BaseCtx // ------------------------------------------------- // Cell timing lookup helpers + bool is_dsp_cell(const CellInfo *cell) const; + // Given cell type and variant, get the index inside the speed grade timing data int get_cell_timing_idx(IdString cell_type, IdString cell_variant = IdString()) const; // Return true and set delay if a comb path exists in a given cell timing index @@ -1571,6 +1573,8 @@ struct Arch : BaseCtx DelayInfo &hold) const; // Similar to lookup_cell_delay but only needs the 'to' signal, intended for clk->out delays void lookup_cell_clock_out(int type_idx, IdString to_port, IdString &clock, DelayInfo &delay) const; + // Attempt to look up port type based on database + TimingPortClass lookup_port_type(int type_idx, IdString port, PortType dir, IdString clock) const; // ------------------------------------------------- // List of IO constraints, used by PDC parser |