diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-06-13 14:53:44 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-06-13 14:53:44 +0200 |
commit | d80e60cce210b58c036003f6812eb876c632d19e (patch) | |
tree | ccfbeec160bfe639bd206e41147d291fd887e2fb /ice40/chip.h | |
parent | 9374ef29bf24c6a9223e7b6742e3debd66a66bf9 (diff) | |
download | nextpnr-d80e60cce210b58c036003f6812eb876c632d19e.tar.gz nextpnr-d80e60cce210b58c036003f6812eb876c632d19e.tar.bz2 nextpnr-d80e60cce210b58c036003f6812eb876c632d19e.zip |
Add hierarchy to bel/wire/pip names
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'ice40/chip.h')
-rw-r--r-- | ice40/chip.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/ice40/chip.h b/ice40/chip.h index ac077b73..6700666f 100644 --- a/ice40/chip.h +++ b/ice40/chip.h @@ -591,16 +591,7 @@ struct Chip // ------------------------------------------------- PipId getPipByName(IdString name) const; - - IdString getPipName(PipId pip) const - { - assert(pip != PipId()); - std::string src_name = - chip_info.wire_data[chip_info.pip_data[pip.index].src].name; - std::string dst_name = - chip_info.wire_data[chip_info.pip_data[pip.index].dst].name; - return src_name + "->" + dst_name; - } + IdString getPipName(PipId pip) const; void bindPip(PipId pip, IdString net) { |