From b9e76d1bcd556da7b25d58ff9aa6134b4d81ab30 Mon Sep 17 00:00:00 2001 From: Maciej Dudek Date: Wed, 30 Mar 2022 14:59:47 +0200 Subject: Rename parse_lattice_param to parse_lattice_param_from_cell Add new definition for parse_lattice_param Now parse_lattice_param is design to parse Property rather than search for it in cell. This functionalty was move to parse_lattice_param_from_cell. Signed-off-by: Maciej Dudek --- nexus/arch.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nexus/arch.h') diff --git a/nexus/arch.h b/nexus/arch.h index ea4e9f5b..323dcacd 100644 --- a/nexus/arch.h +++ b/nexus/arch.h @@ -1408,7 +1408,8 @@ struct Arch : BaseArch // ------------------------------------------------- // Parse a possibly-Lattice-style (C literal in Verilog string) style parameter - Property parse_lattice_param(const CellInfo *ci, IdString prop, int width, int64_t defval) const; + Property parse_lattice_param_from_cell(const CellInfo *ci, IdString prop, int width, int64_t defval) const; + Property parse_lattice_param(const Property &val, IdString prop, int width, const char* ci="") const; // ------------------------------------------------- -- cgit v1.2.3