OpenSTA/sdf/SdfReader.cc

1108 lines
30 KiB
C++
Raw Normal View History

2018-09-28 17:54:21 +02:00
// OpenSTA, Static Timing Analyzer
// Copyright (c) 2025, Parallax Software, Inc.
2018-09-28 17:54:21 +02:00
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2018-09-28 17:54:21 +02:00
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
//
// The origin of this software must not be misrepresented; you must not
// claim that you wrote the original software.
//
// Altered source versions must be plainly marked as such, and must not be
// misrepresented as being the original software.
//
// This notice may not be removed or altered from any source distribution.
2018-09-28 17:54:21 +02:00
2020-04-05 20:35:51 +02:00
#include "sdf/SdfReader.hh"
#include <cstdarg>
#include <cctype>
2020-04-05 20:35:51 +02:00
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
#include "Zlib.hh"
2020-04-05 23:53:44 +02:00
#include "Error.hh"
#include "Debug.hh"
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
#include "Stats.hh"
2020-04-05 23:53:44 +02:00
#include "Report.hh"
#include "MinMax.hh"
#include "TimingArc.hh"
#include "Network.hh"
#include "SdcNetwork.hh"
#include "Graph.hh"
#include "Corner.hh"
#include "DcalcAnalysisPt.hh"
#include "Sdc.hh"
#include "sdf/SdfReaderPvt.hh"
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
#include "sdf/SdfScanner.hh"
2018-09-28 17:54:21 +02:00
namespace sta {
using std::string;
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
using std::to_string;
2018-09-28 17:54:21 +02:00
class SdfTriple
{
public:
SdfTriple(float *min,
float *typ,
float *max);
~SdfTriple();
float **values() { return values_; }
bool hasValue() const;
private:
float *values_[3];
};
class SdfPortSpec
{
public:
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
SdfPortSpec(const Transition *tr,
const std::string *port,
const std::string *cond);
~SdfPortSpec();
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
const string *port() const { return port_; }
const Transition *transition() const { return tr_; }
const string *cond() const { return cond_; }
2018-09-28 17:54:21 +02:00
private:
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
const Transition *tr_;
const string *port_;
const string *cond_; // timing checks only
2018-09-28 17:54:21 +02:00
};
bool
readSdf(const char *filename,
const char *path,
Corner *corner,
bool unescaped_dividers,
bool incremental_only,
MinMaxAll *cond_use,
StaState *sta)
2018-09-28 17:54:21 +02:00
{
int arc_min_index = corner->findDcalcAnalysisPt(MinMax::min())->index();
int arc_max_index = corner->findDcalcAnalysisPt(MinMax::max())->index();
SdfReader reader(filename, path,
arc_min_index, arc_max_index,
sta->sdc()->analysisType(),
unescaped_dividers, incremental_only,
2018-09-28 17:54:21 +02:00
cond_use, sta);
bool success = reader.read();
return success;
2018-09-28 17:54:21 +02:00
}
SdfReader::SdfReader(const char *filename,
const char *path,
int arc_min_index,
int arc_max_index,
AnalysisType analysis_type,
bool unescaped_dividers,
bool is_incremental_only,
MinMaxAll *cond_use,
StaState *sta) :
StaState(sta),
filename_(filename),
path_(path),
triple_min_index_(0),
triple_max_index_(2),
2018-09-28 17:54:21 +02:00
arc_delay_min_index_(arc_min_index),
arc_delay_max_index_(arc_max_index),
analysis_type_(analysis_type),
unescaped_dividers_(unescaped_dividers),
is_incremental_only_(is_incremental_only),
cond_use_(cond_use),
divider_('/'),
2018-09-28 17:54:21 +02:00
escape_('\\'),
2019-03-13 01:25:53 +01:00
instance_(nullptr),
cell_name_(nullptr),
2018-09-28 17:54:21 +02:00
in_timing_check_(false),
in_incremental_(false),
timescale_(1.0E-9F) // default units of ns
{
if (unescaped_dividers)
network_ = makeSdcNetwork(network_);
}
SdfReader::~SdfReader()
{
if (unescaped_dividers_)
delete network_;
}
bool
SdfReader::read()
{
liberty parser c++ commit 1abf72bc3430d34a51d82992f1c753f0274a662a Author: James Cherry <cherry@parallaxsw.com> Date: Mon Jan 27 08:01:04 2025 -0700 rm unused lib visitors Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 1e76acfc7829a8ba82f96d369fae6225a7361844 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 21:15:46 2025 -0700 verilog/sdf stream->is_open Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c4a57c0354ffb6c4edfc3269d56a937c11ad9609 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 19:54:41 2025 -0700 leak Signed-off-by: James Cherry <cherry@parallaxsw.com> commit b992ed1124a862cb04f0c7617a4575f916c3fe01 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 16:39:16 2025 -0700 liberty mv string_buf to scanner Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 894cbfa5d5b731738dcc60d492689fad9d13bd40 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 16:29:42 2025 -0700 liberty use regex to parse include file Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 176225849d3fcac0b2be1a5b623270c386daed3d Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 15:48:09 2025 -0700 liberty include filename Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 516e12721d7185015d8c29e8b16fa185f0f46983 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 15:31:18 2025 -0700 liberty include Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 32098a2159798dfbb80140927949bb36f480093d Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 15:01:47 2025 -0700 liberty include Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 880214e632d756c3199b000fee88fd4fdffac371 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 13:55:02 2025 -0700 liberty include Signed-off-by: James Cherry <cherry@parallaxsw.com> commit ad1efca842a6d7ee608ffd5a19a69885786b77fa Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 10:11:07 2025 -0700 liberty passes all but include Signed-off-by: James Cherry <cherry@parallaxsw.com> commit e71cf1f39dd09e81cf2b0e5a12dcf51675f2a6fd Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 10:01:08 2025 -0700 liberty parser use class compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 02dea0ff753b0fa12f280661a46e2c0ef2432357 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 19:08:06 2025 -0700 liberty parser compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-27 16:33:35 +01:00
gzstream::igzstream stream(filename_.c_str());
if (stream.is_open()) {
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
Stats stats(debug_, report_);
SdfScanner scanner(&stream, filename_, this, report_);
scanner_ = &scanner;
SdfParse parser(&scanner, this);
bool success = (parser.parse() == 0);
stats.report("Read sdf");
2018-09-28 17:54:21 +02:00
return success;
}
else
liberty parser c++ commit 1abf72bc3430d34a51d82992f1c753f0274a662a Author: James Cherry <cherry@parallaxsw.com> Date: Mon Jan 27 08:01:04 2025 -0700 rm unused lib visitors Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 1e76acfc7829a8ba82f96d369fae6225a7361844 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 21:15:46 2025 -0700 verilog/sdf stream->is_open Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c4a57c0354ffb6c4edfc3269d56a937c11ad9609 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 19:54:41 2025 -0700 leak Signed-off-by: James Cherry <cherry@parallaxsw.com> commit b992ed1124a862cb04f0c7617a4575f916c3fe01 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 16:39:16 2025 -0700 liberty mv string_buf to scanner Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 894cbfa5d5b731738dcc60d492689fad9d13bd40 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 16:29:42 2025 -0700 liberty use regex to parse include file Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 176225849d3fcac0b2be1a5b623270c386daed3d Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 15:48:09 2025 -0700 liberty include filename Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 516e12721d7185015d8c29e8b16fa185f0f46983 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 15:31:18 2025 -0700 liberty include Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 32098a2159798dfbb80140927949bb36f480093d Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 15:01:47 2025 -0700 liberty include Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 880214e632d756c3199b000fee88fd4fdffac371 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 13:55:02 2025 -0700 liberty include Signed-off-by: James Cherry <cherry@parallaxsw.com> commit ad1efca842a6d7ee608ffd5a19a69885786b77fa Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 10:11:07 2025 -0700 liberty passes all but include Signed-off-by: James Cherry <cherry@parallaxsw.com> commit e71cf1f39dd09e81cf2b0e5a12dcf51675f2a6fd Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 10:01:08 2025 -0700 liberty parser use class compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 02dea0ff753b0fa12f280661a46e2c0ef2432357 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 19:08:06 2025 -0700 liberty parser compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-27 16:33:35 +01:00
throw FileNotReadable(filename_.c_str());
2018-09-28 17:54:21 +02:00
}
void
SdfReader::setDivider(char divider)
{
divider_ = divider;
}
void
SdfReader::setTimescale(float multiplier,
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
const string *units)
2018-09-28 17:54:21 +02:00
{
if (multiplier == 1.0
|| multiplier == 10.0
|| multiplier == 100.0) {
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
if (*units == "us")
2018-09-28 17:54:21 +02:00
timescale_ = multiplier * 1E-6F;
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
else if (*units == "ns")
2018-09-28 17:54:21 +02:00
timescale_ = multiplier * 1E-9F;
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
else if (*units == "ps")
2018-09-28 17:54:21 +02:00
timescale_ = multiplier * 1E-12F;
else
2020-12-14 02:21:35 +01:00
sdfError(180, "TIMESCALE units not us, ns, or ps.");
2018-09-28 17:54:21 +02:00
}
else
2020-12-14 02:21:35 +01:00
sdfError(181, "TIMESCALE multiplier not 1, 10, or 100.");
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
delete units;
2018-09-28 17:54:21 +02:00
}
void
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
SdfReader::interconnect(const string *from_pin_name,
const string *to_pin_name,
2018-09-28 17:54:21 +02:00
SdfTripleSeq *triples)
{
// Ignore non-incremental annotations in incremental only mode.
if (!(is_incremental_only_ && !in_incremental_)) {
Pin *from_pin = findPin(from_pin_name);
Pin *to_pin = findPin(to_pin_name);
if (from_pin && to_pin) {
// Assume the pins are non-hierarchical and on the same net.
Edge *edge = findWireEdge(from_pin, to_pin);
if (edge)
setEdgeDelays(edge, triples, "INTERCONNECT");
else {
bool from_is_hier = network_->isHierarchical(from_pin);
bool to_is_hier = network_->isHierarchical(to_pin);
if (from_is_hier || to_is_hier) {
if (from_is_hier)
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
sdfError(182, "pin %s is a hierarchical pin.",
from_pin_name->c_str());
2018-09-28 17:54:21 +02:00
if (to_is_hier)
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
sdfError(183, "pin %s is a hierarchical pin.",
to_pin_name->c_str());
2018-09-28 17:54:21 +02:00
}
else
2020-12-25 00:53:25 +01:00
sdfWarn(184, "INTERCONNECT from %s to %s not found.",
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
from_pin_name->c_str(),
to_pin_name->c_str());
2018-09-28 17:54:21 +02:00
}
}
else {
2019-03-13 01:25:53 +01:00
if (from_pin == nullptr)
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
sdfWarn(185, "pin %s not found.", from_pin_name->c_str());
2019-03-13 01:25:53 +01:00
if (to_pin == nullptr)
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
sdfWarn(186, "pin %s not found.", to_pin_name->c_str());
2018-09-28 17:54:21 +02:00
}
}
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
delete from_pin_name;
delete to_pin_name;
2018-09-28 17:54:21 +02:00
deleteTripleSeq(triples);
}
void
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
SdfReader::port(const string *to_pin_name,
2018-09-28 17:54:21 +02:00
SdfTripleSeq *triples)
{
// Ignore non-incremental annotations in incremental only mode.
if (!(is_incremental_only_ && !in_incremental_)) {
Pin *to_pin = (instance_)
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
? network_->findPinRelative(instance_, to_pin_name->c_str())
: network_->findPin(to_pin_name->c_str());
2019-03-13 01:25:53 +01:00
if (to_pin == nullptr)
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
sdfWarn(187, "pin %s not found.", to_pin_name->c_str());
2018-09-28 17:54:21 +02:00
else {
Vertex *vertex = graph_->pinLoadVertex(to_pin);
VertexInEdgeIterator edge_iter(vertex, graph_);
while (edge_iter.hasNext()) {
Edge *edge = edge_iter.next();
if (edge->role()->sdfRole()->isWire())
setEdgeDelays(edge, triples, "PORT");
}
}
}
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
delete to_pin_name;
2018-09-28 17:54:21 +02:00
deleteTripleSeq(triples);
}
Edge *
SdfReader::findWireEdge(Pin *from_pin,
Pin *to_pin)
{
Vertex *to_vertex, *to_vertex_bidirect_drvr;
graph_->pinVertices(to_pin, to_vertex, to_vertex_bidirect_drvr);
if (to_vertex) {
// Fanin < fanout, so search for driver from load.
VertexInEdgeIterator edge_iter(to_vertex, graph_);
while (edge_iter.hasNext()) {
Edge *edge = edge_iter.next();
const TimingRole *edge_role = edge->role();
if (edge->from(graph_)->pin() == from_pin
&& edge_role->sdfRole()->isWire())
return edge;
}
2018-09-28 17:54:21 +02:00
}
2019-03-13 01:25:53 +01:00
return nullptr;
2018-09-28 17:54:21 +02:00
}
void
SdfReader::setEdgeDelays(Edge *edge,
SdfTripleSeq *triples,
const char *sdf_cmd)
{
// Rise/fall triples.
size_t triple_count = triples->size();
if (triple_count == 1
|| triple_count == 2) {
TimingArcSet *arc_set = edge->timingArcSet();
for (TimingArc *arc : arc_set->arcs()) {
2018-09-28 17:54:21 +02:00
size_t triple_index;
if (triple_count == 1)
triple_index = 0;
else
triple_index = arc->toEdge()->sdfTripleIndex();
2018-09-28 17:54:21 +02:00
SdfTriple *triple = (*triples)[triple_index];
setEdgeArcDelays(edge, arc, triple);
}
}
else if (triple_count == 0)
2020-12-14 02:21:35 +01:00
sdfError(188, "%s with no triples.", sdf_cmd);
2018-09-28 17:54:21 +02:00
else
2020-12-14 02:21:35 +01:00
sdfError(189, "%s with more than 2 triples.", sdf_cmd);
2018-09-28 17:54:21 +02:00
}
void
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
SdfReader::setCell(const string *cell_name)
2018-09-28 17:54:21 +02:00
{
cell_name_ = cell_name;
}
void
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
SdfReader::setInstance(const string *instance_name)
2018-09-28 17:54:21 +02:00
{
if (instance_name) {
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
if (*instance_name == "*") {
2018-09-28 17:54:21 +02:00
notSupported("INSTANCE wildcards");
2019-03-13 01:25:53 +01:00
instance_ = nullptr;
2018-09-28 17:54:21 +02:00
}
else {
instance_ = findInstance(instance_name);
if (instance_) {
Cell *inst_cell = network_->cell(instance_);
const char *inst_cell_name = network_->name(inst_cell);
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
if (cell_name_ && !stringEq(inst_cell_name, cell_name_->c_str()))
2020-12-25 00:53:25 +01:00
sdfWarn(190, "instance %s cell %s does not match enclosing cell %s.",
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
instance_name->c_str(),
2020-12-25 00:53:25 +01:00
inst_cell_name,
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
cell_name_->c_str());
2018-09-28 17:54:21 +02:00
}
}
}
else
2019-03-13 01:25:53 +01:00
instance_ = nullptr;
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
delete instance_name;
2018-09-28 17:54:21 +02:00
}
void
SdfReader::setInstanceWildcard()
{
notSupported("INSTANCE wildcards");
2019-03-13 01:25:53 +01:00
instance_ = nullptr;
2018-09-28 17:54:21 +02:00
}
void
SdfReader::cellFinish()
{
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
delete cell_name_;
2019-03-13 01:25:53 +01:00
cell_name_ = nullptr;
instance_ = nullptr;
2018-09-28 17:54:21 +02:00
}
void
SdfReader::iopath(SdfPortSpec *from_edge,
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
const string *to_port_name,
2018-09-28 17:54:21 +02:00
SdfTripleSeq *triples,
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
const string *cond,
2018-09-28 17:54:21 +02:00
bool condelse)
{
if (instance_) {
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
const string *from_port_name = from_edge->port();
2018-09-28 17:54:21 +02:00
Cell *cell = network_->cell(instance_);
Port *from_port = findPort(cell, from_port_name);
Port *to_port = findPort(cell, to_port_name);
2018-09-28 17:54:21 +02:00
if (from_port && to_port) {
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
Pin *from_pin = network_->findPin(instance_, from_port);
Pin *to_pin = network_->findPin(instance_, to_port);
2018-09-28 17:54:21 +02:00
// Do not report an error if the pin is not found because the
// instance may not have the pin.
if (from_pin && to_pin) {
Vertex *to_vertex = graph_->pinDrvrVertex(to_pin);
if (to_vertex) {
size_t triple_count = triples->size();
bool matched = false;
// Fanin < fanout, so search for driver from load.
// Search for multiple matching edges because of
// tristate enable/disable.
VertexInEdgeIterator edge_iter(to_vertex, graph_);
while (edge_iter.hasNext()) {
Edge *edge = edge_iter.next();
TimingArcSet *arc_set = edge->timingArcSet();
const char *lib_cond = arc_set->sdfCond();
const TimingRole *edge_role = arc_set->role();
bool cond_use_flag = cond_use_ && cond && lib_cond == nullptr
&& !(!is_incremental_only_ && in_incremental_);
if (edge->from(graph_)->pin() == from_pin
&& edge_role->sdfRole() == TimingRole::sdfIopath()
&& (cond_use_flag
|| (!condelse && condMatch(cond, lib_cond))
// condelse matches the default (unconditional) arc.
|| (condelse && lib_cond == nullptr))) {
matched = true;
for (TimingArc *arc : arc_set->arcs()) {
if ((from_edge->transition() == Transition::riseFall())
|| (arc->fromEdge() == from_edge->transition())) {
size_t triple_index = arc->toEdge()->sdfTripleIndex();
SdfTriple *triple = nullptr;
if (triple_index < triple_count)
triple = (*triples)[triple_index];
if (triple_count == 1)
triple = (*triples)[0];
// Rules for matching when triple is missing not implemented.
// See SDF pg 3-17.
if (triple) {
if (cond_use_flag)
setEdgeArcDelaysCondUse(edge, arc, triple);
else
setEdgeArcDelays(edge, arc, triple);
}
}
}
}
}
if (!matched)
sdfWarn(191, "cell %s IOPATH %s -> %s not found.",
network_->cellName(instance_),
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
from_port_name->c_str(),
to_port_name->c_str());
}
2018-09-28 17:54:21 +02:00
}
}
}
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
delete to_port_name;
delete from_edge;
2018-09-28 17:54:21 +02:00
deleteTripleSeq(triples);
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
delete cond;
}
Port *
SdfReader::findPort(const Cell *cell,
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
const string *port_name)
{
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
Port *port = network_->findPort(cell, port_name->c_str());
if (port == nullptr)
sdfWarn(194, "instance %s port %s not found.",
network_->pathName(instance_),
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
port_name->c_str());
return port;
2018-09-28 17:54:21 +02:00
}
void
name, asString -> to_string, const commit d122d05822e02dcc08c665ac6ec7513791dd7209 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Mar 27 08:58:22 2025 -0700 rebase Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 9c7ae9a7ddd885ebdab102d48b3f39dc5dacf948 Author: James Cherry <cherry@parallaxsw.com> Date: Tue Mar 25 16:21:52 2025 -0700 write_spice8 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 2bd088f03bb2e414305232d9ebd76c9d1958ec81 Author: James Cherry <cherry@parallaxsw.com> Date: Tue Mar 25 10:08:00 2025 -0700 liberty reader stringify Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 86974caf063433b37ed1378e7103db4b2e55a04c Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 20:25:39 2025 -0700 ConcreteLiberary/Cell/Port use string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 334476e185149a90b35cdd859e0a760ec9aa242a Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 20:16:08 2025 -0700 leak Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 5130e8d44804f483d9099d48bb413a7f3362b4e1 Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 15:57:14 2025 -0700 liberty parser stringify Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d48eba88cbde9093e3eb12bcee8eb48ccd444434 Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 11:16:04 2025 -0700 stringify Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6913fb198d642f6b05a94fb1852064706a748b81 Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 11:06:17 2025 -0700 stringify Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 371bca08ecf9bf816b7adcbb7ae1458c4073f5f8 Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 10:44:31 2025 -0700 TableTemplate use string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 326465920a1f4a33dbe6be35cff5ca2245b6677e Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 09:04:55 2025 -0700 use string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit b93a542ddfbcb5c793c9b533cbe64ea20ec08f4a Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 08:59:01 2025 -0700 timingSenseString -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6c121a0ff4231b37df076a62e83832897be62ff4 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Mar 23 16:09:47 2025 -0700 Corner use string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 07b989a5a43bf5d341aa6ba2880be663997577d5 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Mar 23 16:05:43 2025 -0700 Tag::to_string() Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 0b9480cc5a3fa9ef0cb1c6e8ba0d4a29de2df816 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Mar 23 15:53:29 2025 -0700 PathAnalysisPt::to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a028659091e99270f7501615285730681ed59523 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Mar 23 12:19:03 2025 -0700 TimingRole stati alloc Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 495be6a57bda23d82e511282f5db7c188b32971b Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 21:36:52 2025 -0700 RiseFall/RiseFallBoth/Transition const Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 4c4b28adb383321b1172f4b774c7c4d9a1aee69f Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 20:38:26 2025 -0700 TimingRole const Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 54ab58ec7200d420bf3b5e709e74b652af88d508 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 14:15:07 2025 -0700 const MinMax Signed-off-by: James Cherry <cherry@parallaxsw.com> commit f70bb38df17b2ed758c7b6ba5647b7355366c0c0 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 13:14:31 2025 -0700 Transition::to_string(() Signed-off-by: James Cherry <cherry@parallaxsw.com> commit b3f3d67328194351fb8efac2219bcfbcec331552 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 12:33:25 2025 -0700 RiseFall::to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 4046f8a376926dfde980860c51d2c5c70cf4a867 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Mar 20 09:04:10 2025 -0700 TimingRole::name -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit cf4dd918eccb05d459f1804ced8365c81a5c6a50 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 20:14:42 2025 -0700 MinMax::asString -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d80118117dda25be7b2b4896f19e955645c27f73 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 17:43:08 2025 -0700 TimingRole::name -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 284fa25c28aca998e8ce92e7b7bb927697494a13 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 17:02:27 2025 -0700 comment Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 646f19749b997e03dc4cbdf165cd7637010276d3 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 14:47:40 2025 -0700 FuncExpr::asString -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 4f73d8e7ad21feac6f41130b7b070f3e345b6fb5 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 14:04:13 2025 -0700 Vertex::name -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 7c7ec486aaea86f6607a1ef72bb1a74dca603831 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 13:39:24 2025 -0700 Vertex::name -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-03-31 00:27:53 +02:00
SdfReader::timingCheck(const TimingRole *role,
SdfPortSpec *data_edge,
SdfPortSpec *clk_edge,
SdfTriple *triple)
2018-09-28 17:54:21 +02:00
{
if (instance_) {
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
const string *data_port_name = data_edge->port();
const string *clk_port_name = clk_edge->port();
Cell *cell = network_->cell(instance_);
Port *data_port = findPort(cell, data_port_name);
Port *clk_port = findPort(cell, clk_port_name);
if (data_port && clk_port)
timingCheck1(role, data_port, data_edge, clk_port, clk_edge, triple);
}
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
delete data_edge;
delete clk_edge;
2018-09-28 17:54:21 +02:00
deleteTriple(triple);
}
void
name, asString -> to_string, const commit d122d05822e02dcc08c665ac6ec7513791dd7209 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Mar 27 08:58:22 2025 -0700 rebase Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 9c7ae9a7ddd885ebdab102d48b3f39dc5dacf948 Author: James Cherry <cherry@parallaxsw.com> Date: Tue Mar 25 16:21:52 2025 -0700 write_spice8 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 2bd088f03bb2e414305232d9ebd76c9d1958ec81 Author: James Cherry <cherry@parallaxsw.com> Date: Tue Mar 25 10:08:00 2025 -0700 liberty reader stringify Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 86974caf063433b37ed1378e7103db4b2e55a04c Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 20:25:39 2025 -0700 ConcreteLiberary/Cell/Port use string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 334476e185149a90b35cdd859e0a760ec9aa242a Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 20:16:08 2025 -0700 leak Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 5130e8d44804f483d9099d48bb413a7f3362b4e1 Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 15:57:14 2025 -0700 liberty parser stringify Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d48eba88cbde9093e3eb12bcee8eb48ccd444434 Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 11:16:04 2025 -0700 stringify Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6913fb198d642f6b05a94fb1852064706a748b81 Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 11:06:17 2025 -0700 stringify Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 371bca08ecf9bf816b7adcbb7ae1458c4073f5f8 Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 10:44:31 2025 -0700 TableTemplate use string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 326465920a1f4a33dbe6be35cff5ca2245b6677e Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 09:04:55 2025 -0700 use string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit b93a542ddfbcb5c793c9b533cbe64ea20ec08f4a Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 08:59:01 2025 -0700 timingSenseString -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6c121a0ff4231b37df076a62e83832897be62ff4 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Mar 23 16:09:47 2025 -0700 Corner use string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 07b989a5a43bf5d341aa6ba2880be663997577d5 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Mar 23 16:05:43 2025 -0700 Tag::to_string() Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 0b9480cc5a3fa9ef0cb1c6e8ba0d4a29de2df816 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Mar 23 15:53:29 2025 -0700 PathAnalysisPt::to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a028659091e99270f7501615285730681ed59523 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Mar 23 12:19:03 2025 -0700 TimingRole stati alloc Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 495be6a57bda23d82e511282f5db7c188b32971b Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 21:36:52 2025 -0700 RiseFall/RiseFallBoth/Transition const Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 4c4b28adb383321b1172f4b774c7c4d9a1aee69f Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 20:38:26 2025 -0700 TimingRole const Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 54ab58ec7200d420bf3b5e709e74b652af88d508 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 14:15:07 2025 -0700 const MinMax Signed-off-by: James Cherry <cherry@parallaxsw.com> commit f70bb38df17b2ed758c7b6ba5647b7355366c0c0 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 13:14:31 2025 -0700 Transition::to_string(() Signed-off-by: James Cherry <cherry@parallaxsw.com> commit b3f3d67328194351fb8efac2219bcfbcec331552 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 12:33:25 2025 -0700 RiseFall::to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 4046f8a376926dfde980860c51d2c5c70cf4a867 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Mar 20 09:04:10 2025 -0700 TimingRole::name -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit cf4dd918eccb05d459f1804ced8365c81a5c6a50 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 20:14:42 2025 -0700 MinMax::asString -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d80118117dda25be7b2b4896f19e955645c27f73 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 17:43:08 2025 -0700 TimingRole::name -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 284fa25c28aca998e8ce92e7b7bb927697494a13 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 17:02:27 2025 -0700 comment Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 646f19749b997e03dc4cbdf165cd7637010276d3 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 14:47:40 2025 -0700 FuncExpr::asString -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 4f73d8e7ad21feac6f41130b7b070f3e345b6fb5 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 14:04:13 2025 -0700 Vertex::name -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 7c7ec486aaea86f6607a1ef72bb1a74dca603831 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 13:39:24 2025 -0700 Vertex::name -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-03-31 00:27:53 +02:00
SdfReader::timingCheck1(const TimingRole *role,
Port *data_port,
2018-09-28 17:54:21 +02:00
SdfPortSpec *data_edge,
Port *clk_port,
2018-09-28 17:54:21 +02:00
SdfPortSpec *clk_edge,
SdfTriple *triple)
2018-09-28 17:54:21 +02:00
{
// Ignore non-incremental annotations in incremental only mode.
if (!(is_incremental_only_ && !in_incremental_)
&& instance_) {
Pin *data_pin = network_->findPin(instance_, data_port);
Pin *clk_pin = network_->findPin(instance_, clk_port);
if (data_pin && clk_pin) {
// Hack: always use triple max value for check.
float **values = triple->values();
float *value_min = values[triple_min_index_];
float *value_max = values[triple_max_index_];
if (value_min && value_max) {
switch (analysis_type_) {
case AnalysisType::single:
break;
case AnalysisType::bc_wc:
if (role->genericRole() == TimingRole::setup())
*value_min = *value_max;
else
*value_max = *value_min;
break;
case AnalysisType::ocv:
*value_min = *value_max;
break;
}
2018-09-28 17:54:21 +02:00
}
bool matched = annotateCheckEdges(data_pin, data_edge,
clk_pin, clk_edge, role,
triple, false);
// Liberty setup/hold checks on preset/clear pins can be translated
// into recovery/removal checks, so be flexible about matching.
if (!matched)
matched = annotateCheckEdges(data_pin, data_edge,
clk_pin, clk_edge, role,
triple, true);
if (!matched
// Only warn when non-null values are present.
&& triple->hasValue())
sdfWarn(192, "cell %s %s -> %s %s check not found.",
network_->cellName(instance_),
network_->name(data_port),
network_->name(clk_port),
name, asString -> to_string, const commit d122d05822e02dcc08c665ac6ec7513791dd7209 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Mar 27 08:58:22 2025 -0700 rebase Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 9c7ae9a7ddd885ebdab102d48b3f39dc5dacf948 Author: James Cherry <cherry@parallaxsw.com> Date: Tue Mar 25 16:21:52 2025 -0700 write_spice8 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 2bd088f03bb2e414305232d9ebd76c9d1958ec81 Author: James Cherry <cherry@parallaxsw.com> Date: Tue Mar 25 10:08:00 2025 -0700 liberty reader stringify Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 86974caf063433b37ed1378e7103db4b2e55a04c Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 20:25:39 2025 -0700 ConcreteLiberary/Cell/Port use string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 334476e185149a90b35cdd859e0a760ec9aa242a Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 20:16:08 2025 -0700 leak Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 5130e8d44804f483d9099d48bb413a7f3362b4e1 Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 15:57:14 2025 -0700 liberty parser stringify Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d48eba88cbde9093e3eb12bcee8eb48ccd444434 Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 11:16:04 2025 -0700 stringify Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6913fb198d642f6b05a94fb1852064706a748b81 Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 11:06:17 2025 -0700 stringify Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 371bca08ecf9bf816b7adcbb7ae1458c4073f5f8 Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 10:44:31 2025 -0700 TableTemplate use string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 326465920a1f4a33dbe6be35cff5ca2245b6677e Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 09:04:55 2025 -0700 use string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit b93a542ddfbcb5c793c9b533cbe64ea20ec08f4a Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 08:59:01 2025 -0700 timingSenseString -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6c121a0ff4231b37df076a62e83832897be62ff4 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Mar 23 16:09:47 2025 -0700 Corner use string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 07b989a5a43bf5d341aa6ba2880be663997577d5 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Mar 23 16:05:43 2025 -0700 Tag::to_string() Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 0b9480cc5a3fa9ef0cb1c6e8ba0d4a29de2df816 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Mar 23 15:53:29 2025 -0700 PathAnalysisPt::to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a028659091e99270f7501615285730681ed59523 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Mar 23 12:19:03 2025 -0700 TimingRole stati alloc Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 495be6a57bda23d82e511282f5db7c188b32971b Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 21:36:52 2025 -0700 RiseFall/RiseFallBoth/Transition const Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 4c4b28adb383321b1172f4b774c7c4d9a1aee69f Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 20:38:26 2025 -0700 TimingRole const Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 54ab58ec7200d420bf3b5e709e74b652af88d508 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 14:15:07 2025 -0700 const MinMax Signed-off-by: James Cherry <cherry@parallaxsw.com> commit f70bb38df17b2ed758c7b6ba5647b7355366c0c0 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 13:14:31 2025 -0700 Transition::to_string(() Signed-off-by: James Cherry <cherry@parallaxsw.com> commit b3f3d67328194351fb8efac2219bcfbcec331552 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 12:33:25 2025 -0700 RiseFall::to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 4046f8a376926dfde980860c51d2c5c70cf4a867 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Mar 20 09:04:10 2025 -0700 TimingRole::name -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit cf4dd918eccb05d459f1804ced8365c81a5c6a50 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 20:14:42 2025 -0700 MinMax::asString -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d80118117dda25be7b2b4896f19e955645c27f73 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 17:43:08 2025 -0700 TimingRole::name -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 284fa25c28aca998e8ce92e7b7bb927697494a13 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 17:02:27 2025 -0700 comment Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 646f19749b997e03dc4cbdf165cd7637010276d3 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 14:47:40 2025 -0700 FuncExpr::asString -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 4f73d8e7ad21feac6f41130b7b070f3e345b6fb5 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 14:04:13 2025 -0700 Vertex::name -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 7c7ec486aaea86f6607a1ef72bb1a74dca603831 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 13:39:24 2025 -0700 Vertex::name -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-03-31 00:27:53 +02:00
role->to_string().c_str());
2018-09-28 17:54:21 +02:00
}
}
}
// Return true if matched.
bool
SdfReader::annotateCheckEdges(Pin *data_pin,
SdfPortSpec *data_edge,
Pin *clk_pin,
SdfPortSpec *clk_edge,
name, asString -> to_string, const commit d122d05822e02dcc08c665ac6ec7513791dd7209 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Mar 27 08:58:22 2025 -0700 rebase Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 9c7ae9a7ddd885ebdab102d48b3f39dc5dacf948 Author: James Cherry <cherry@parallaxsw.com> Date: Tue Mar 25 16:21:52 2025 -0700 write_spice8 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 2bd088f03bb2e414305232d9ebd76c9d1958ec81 Author: James Cherry <cherry@parallaxsw.com> Date: Tue Mar 25 10:08:00 2025 -0700 liberty reader stringify Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 86974caf063433b37ed1378e7103db4b2e55a04c Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 20:25:39 2025 -0700 ConcreteLiberary/Cell/Port use string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 334476e185149a90b35cdd859e0a760ec9aa242a Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 20:16:08 2025 -0700 leak Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 5130e8d44804f483d9099d48bb413a7f3362b4e1 Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 15:57:14 2025 -0700 liberty parser stringify Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d48eba88cbde9093e3eb12bcee8eb48ccd444434 Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 11:16:04 2025 -0700 stringify Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6913fb198d642f6b05a94fb1852064706a748b81 Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 11:06:17 2025 -0700 stringify Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 371bca08ecf9bf816b7adcbb7ae1458c4073f5f8 Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 10:44:31 2025 -0700 TableTemplate use string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 326465920a1f4a33dbe6be35cff5ca2245b6677e Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 09:04:55 2025 -0700 use string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit b93a542ddfbcb5c793c9b533cbe64ea20ec08f4a Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 08:59:01 2025 -0700 timingSenseString -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6c121a0ff4231b37df076a62e83832897be62ff4 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Mar 23 16:09:47 2025 -0700 Corner use string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 07b989a5a43bf5d341aa6ba2880be663997577d5 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Mar 23 16:05:43 2025 -0700 Tag::to_string() Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 0b9480cc5a3fa9ef0cb1c6e8ba0d4a29de2df816 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Mar 23 15:53:29 2025 -0700 PathAnalysisPt::to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a028659091e99270f7501615285730681ed59523 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Mar 23 12:19:03 2025 -0700 TimingRole stati alloc Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 495be6a57bda23d82e511282f5db7c188b32971b Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 21:36:52 2025 -0700 RiseFall/RiseFallBoth/Transition const Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 4c4b28adb383321b1172f4b774c7c4d9a1aee69f Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 20:38:26 2025 -0700 TimingRole const Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 54ab58ec7200d420bf3b5e709e74b652af88d508 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 14:15:07 2025 -0700 const MinMax Signed-off-by: James Cherry <cherry@parallaxsw.com> commit f70bb38df17b2ed758c7b6ba5647b7355366c0c0 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 13:14:31 2025 -0700 Transition::to_string(() Signed-off-by: James Cherry <cherry@parallaxsw.com> commit b3f3d67328194351fb8efac2219bcfbcec331552 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 12:33:25 2025 -0700 RiseFall::to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 4046f8a376926dfde980860c51d2c5c70cf4a867 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Mar 20 09:04:10 2025 -0700 TimingRole::name -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit cf4dd918eccb05d459f1804ced8365c81a5c6a50 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 20:14:42 2025 -0700 MinMax::asString -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d80118117dda25be7b2b4896f19e955645c27f73 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 17:43:08 2025 -0700 TimingRole::name -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 284fa25c28aca998e8ce92e7b7bb927697494a13 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 17:02:27 2025 -0700 comment Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 646f19749b997e03dc4cbdf165cd7637010276d3 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 14:47:40 2025 -0700 FuncExpr::asString -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 4f73d8e7ad21feac6f41130b7b070f3e345b6fb5 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 14:04:13 2025 -0700 Vertex::name -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 7c7ec486aaea86f6607a1ef72bb1a74dca603831 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 13:39:24 2025 -0700 Vertex::name -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-03-31 00:27:53 +02:00
const TimingRole *sdf_role,
2018-09-28 17:54:21 +02:00
SdfTriple *triple,
bool match_generic)
{
bool matched = false;
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
const string *cond_start = data_edge->cond();
const string *cond_end = clk_edge->cond();
2018-09-28 17:54:21 +02:00
// Timing check graph edges from clk to data.
Vertex *to_vertex = graph_->pinLoadVertex(data_pin);
// Fanin < fanout, so search for driver from load.
VertexInEdgeIterator edge_iter(to_vertex, graph_);
while (edge_iter.hasNext()) {
Edge *edge = edge_iter.next();
if (edge->from(graph_)->pin() == clk_pin) {
TimingArcSet *arc_set = edge->timingArcSet();
const TimingRole *edge_role = arc_set->role();
const char *lib_cond_start = arc_set->sdfCondStart();
const char *lib_cond_end = arc_set->sdfCondEnd();
bool cond_matches = condMatch(cond_start, lib_cond_start)
&& condMatch(cond_end, lib_cond_end);
if (((!match_generic && edge_role->sdfRole() == sdf_role)
|| (match_generic
&& edge_role->genericRole() == sdf_role->genericRole()))
&& cond_matches) {
TimingArcSet *arc_set = edge->timingArcSet();
for (TimingArc *arc : arc_set->arcs()) {
2018-09-28 17:54:21 +02:00
if (((data_edge->transition() == Transition::riseFall())
|| (arc->toEdge() == data_edge->transition()))
2018-09-28 17:54:21 +02:00
&& ((clk_edge->transition() == Transition::riseFall())
|| (arc->fromEdge() == clk_edge->transition()))) {
2018-09-28 17:54:21 +02:00
setEdgeArcDelays(edge, arc, triple);
}
}
matched = true;
}
}
}
return matched;
}
void
SdfReader::timingCheckWidth(SdfPortSpec *edge,
SdfTriple *triple)
{
// Ignore non-incremental annotations in incremental only mode.
if (!(is_incremental_only_ && !in_incremental_)
&& instance_) {
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
const string *port_name = edge->port();
2018-09-28 17:54:21 +02:00
Cell *cell = network_->cell(instance_);
Port *port = findPort(cell, port_name);
if (port) {
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
Pin *pin = network_->findPin(instance_, port_name->c_str());
2018-09-28 17:54:21 +02:00
if (pin) {
const RiseFall *rf = edge->transition()->asRiseFall();
Edge *edge;
TimingArc *arc;
graph_->minPulseWidthArc(graph_->pinLoadVertex(pin), rf, edge, arc);
if (edge)
setEdgeArcDelays(edge, arc, triple);
2018-09-28 17:54:21 +02:00
}
}
}
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
delete edge;
2018-09-28 17:54:21 +02:00
deleteTriple(triple);
}
void
SdfReader::timingCheckSetupHold(SdfPortSpec *data_edge,
SdfPortSpec *clk_edge,
SdfTriple *setup_triple,
SdfTriple *hold_triple)
{
timingCheckSetupHold1(data_edge, clk_edge, setup_triple, hold_triple,
TimingRole::setup(), TimingRole::hold());
}
void
SdfReader::timingCheckRecRem(SdfPortSpec *data_edge,
SdfPortSpec *clk_edge,
SdfTriple *rec_triple,
SdfTriple *rem_triple)
{
timingCheckSetupHold1(data_edge, clk_edge, rec_triple, rem_triple,
TimingRole::recovery(), TimingRole::removal());
}
void
SdfReader::timingCheckSetupHold1(SdfPortSpec *data_edge,
SdfPortSpec *clk_edge,
SdfTriple *setup_triple,
SdfTriple *hold_triple,
name, asString -> to_string, const commit d122d05822e02dcc08c665ac6ec7513791dd7209 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Mar 27 08:58:22 2025 -0700 rebase Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 9c7ae9a7ddd885ebdab102d48b3f39dc5dacf948 Author: James Cherry <cherry@parallaxsw.com> Date: Tue Mar 25 16:21:52 2025 -0700 write_spice8 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 2bd088f03bb2e414305232d9ebd76c9d1958ec81 Author: James Cherry <cherry@parallaxsw.com> Date: Tue Mar 25 10:08:00 2025 -0700 liberty reader stringify Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 86974caf063433b37ed1378e7103db4b2e55a04c Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 20:25:39 2025 -0700 ConcreteLiberary/Cell/Port use string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 334476e185149a90b35cdd859e0a760ec9aa242a Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 20:16:08 2025 -0700 leak Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 5130e8d44804f483d9099d48bb413a7f3362b4e1 Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 15:57:14 2025 -0700 liberty parser stringify Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d48eba88cbde9093e3eb12bcee8eb48ccd444434 Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 11:16:04 2025 -0700 stringify Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6913fb198d642f6b05a94fb1852064706a748b81 Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 11:06:17 2025 -0700 stringify Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 371bca08ecf9bf816b7adcbb7ae1458c4073f5f8 Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 10:44:31 2025 -0700 TableTemplate use string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 326465920a1f4a33dbe6be35cff5ca2245b6677e Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 09:04:55 2025 -0700 use string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit b93a542ddfbcb5c793c9b533cbe64ea20ec08f4a Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 08:59:01 2025 -0700 timingSenseString -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6c121a0ff4231b37df076a62e83832897be62ff4 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Mar 23 16:09:47 2025 -0700 Corner use string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 07b989a5a43bf5d341aa6ba2880be663997577d5 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Mar 23 16:05:43 2025 -0700 Tag::to_string() Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 0b9480cc5a3fa9ef0cb1c6e8ba0d4a29de2df816 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Mar 23 15:53:29 2025 -0700 PathAnalysisPt::to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a028659091e99270f7501615285730681ed59523 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Mar 23 12:19:03 2025 -0700 TimingRole stati alloc Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 495be6a57bda23d82e511282f5db7c188b32971b Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 21:36:52 2025 -0700 RiseFall/RiseFallBoth/Transition const Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 4c4b28adb383321b1172f4b774c7c4d9a1aee69f Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 20:38:26 2025 -0700 TimingRole const Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 54ab58ec7200d420bf3b5e709e74b652af88d508 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 14:15:07 2025 -0700 const MinMax Signed-off-by: James Cherry <cherry@parallaxsw.com> commit f70bb38df17b2ed758c7b6ba5647b7355366c0c0 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 13:14:31 2025 -0700 Transition::to_string(() Signed-off-by: James Cherry <cherry@parallaxsw.com> commit b3f3d67328194351fb8efac2219bcfbcec331552 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 12:33:25 2025 -0700 RiseFall::to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 4046f8a376926dfde980860c51d2c5c70cf4a867 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Mar 20 09:04:10 2025 -0700 TimingRole::name -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit cf4dd918eccb05d459f1804ced8365c81a5c6a50 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 20:14:42 2025 -0700 MinMax::asString -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d80118117dda25be7b2b4896f19e955645c27f73 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 17:43:08 2025 -0700 TimingRole::name -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 284fa25c28aca998e8ce92e7b7bb927697494a13 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 17:02:27 2025 -0700 comment Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 646f19749b997e03dc4cbdf165cd7637010276d3 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 14:47:40 2025 -0700 FuncExpr::asString -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 4f73d8e7ad21feac6f41130b7b070f3e345b6fb5 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 14:04:13 2025 -0700 Vertex::name -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 7c7ec486aaea86f6607a1ef72bb1a74dca603831 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 13:39:24 2025 -0700 Vertex::name -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-03-31 00:27:53 +02:00
const TimingRole *setup_role,
const TimingRole *hold_role)
{
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
const string *data_port_name = data_edge->port();
const string *clk_port_name = clk_edge->port();
Cell *cell = network_->cell(instance_);
Port *data_port = findPort(cell, data_port_name);
Port *clk_port = findPort(cell, clk_port_name);
if (data_port && clk_port) {
timingCheck1(setup_role, data_port, data_edge, clk_port, clk_edge, setup_triple);
timingCheck1(hold_role, data_port, data_edge, clk_port, clk_edge, hold_triple);
}
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
delete data_edge;
delete clk_edge;
deleteTriple(setup_triple);
deleteTriple(hold_triple);
}
2018-09-28 17:54:21 +02:00
void
SdfReader::timingCheckPeriod(SdfPortSpec *edge,
SdfTriple *triple)
{
// Ignore non-incremental annotations in incremental only mode.
if (!(is_incremental_only_ && !in_incremental_)
&& instance_) {
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
const string *port_name = edge->port();
2018-09-28 17:54:21 +02:00
Cell *cell = network_->cell(instance_);
Port *port = findPort(cell, port_name);
if (port) {
2018-09-28 17:54:21 +02:00
// Edge specifier is ignored for period checks.
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
Pin *pin = network_->findPin(instance_, port_name->c_str());
2018-09-28 17:54:21 +02:00
if (pin) {
float **values = triple->values();
float *value_ptr = values[triple_min_index_];
if (value_ptr) {
float value = *value_ptr;
graph_->setPeriodCheckAnnotation(pin, arc_delay_min_index_, value);
}
if (triple_max_index_ != null_index_) {
value_ptr = values[triple_max_index_];
if (value_ptr) {
float value = *value_ptr;
graph_->setPeriodCheckAnnotation(pin, arc_delay_max_index_, value);
}
}
}
}
}
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
delete edge;
2018-09-28 17:54:21 +02:00
deleteTriple(triple);
}
void
SdfReader::timingCheckNochange(SdfPortSpec *data_edge,
SdfPortSpec *clk_edge,
SdfTriple *before_triple,
SdfTriple *after_triple)
{
notSupported("NOCHANGE");
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
delete data_edge;
delete clk_edge;
2018-09-28 17:54:21 +02:00
deleteTriple(before_triple);
deleteTriple(after_triple);
}
void
SdfReader::device(SdfTripleSeq *triples)
{
// Ignore non-incremental annotations in incremental only mode.
if (!(is_incremental_only_ && !in_incremental_)
&& instance_) {
InstancePinIterator *pin_iter = network_->pinIterator(instance_);
while (pin_iter->hasNext()) {
Pin *to_pin = pin_iter->next();
setDevicePinDelays(to_pin, triples);
}
delete pin_iter;
}
deleteTripleSeq(triples);
}
void
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
SdfReader::device(const string *to_port_name,
2018-09-28 17:54:21 +02:00
SdfTripleSeq *triples)
{
// Ignore non-incremental annotations in incremental only mode.
if (!(is_incremental_only_ && !in_incremental_)
&& instance_) {
Cell *cell = network_->cell(instance_);
Port *to_port = findPort(cell, to_port_name);
if (to_port) {
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
Pin *to_pin = network_->findPin(instance_, to_port_name->c_str());
2018-09-28 17:54:21 +02:00
setDevicePinDelays(to_pin, triples);
}
}
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
delete to_port_name;
2018-09-28 17:54:21 +02:00
deleteTripleSeq(triples);
}
void
SdfReader::setDevicePinDelays(Pin *to_pin,
SdfTripleSeq *triples)
{
Vertex *vertex = graph_->pinDrvrVertex(to_pin);
if (vertex) {
VertexInEdgeIterator edge_iter(vertex, graph_);
while (edge_iter.hasNext()) {
Edge *edge = edge_iter.next();
if (edge->role()->sdfRole() == TimingRole::sdfIopath())
setEdgeDelays(edge, triples, "DEVICE");
}
2018-09-28 17:54:21 +02:00
}
}
void
SdfReader::setEdgeArcDelays(Edge *edge,
TimingArc *arc,
SdfTriple *triple)
{
setEdgeArcDelays(edge, arc, triple, triple_min_index_, arc_delay_min_index_);
setEdgeArcDelays(edge, arc, triple, triple_max_index_, arc_delay_max_index_);
}
void
SdfReader::setEdgeArcDelays(Edge *edge,
TimingArc *arc,
SdfTriple *triple,
int triple_index,
int arc_delay_index)
{
if (triple_index != null_index_) {
float **values = triple->values();
float *value_ptr = values[triple_index];
if (value_ptr) {
ArcDelay delay;
if (in_incremental_)
delay = *value_ptr + graph_->arcDelay(edge, arc, arc_delay_index);
else
delay = *value_ptr;
graph_->setArcDelay(edge, arc, arc_delay_index, delay);
graph_->setArcDelayAnnotated(edge, arc, arc_delay_index, true);
2018-09-28 17:54:21 +02:00
edge->setDelayAnnotationIsIncremental(is_incremental_only_);
}
}
}
void
SdfReader::setEdgeArcDelaysCondUse(Edge *edge,
TimingArc *arc,
SdfTriple *triple)
{
float **values = triple->values();
float *value_min = values[triple_min_index_];
float *value_max = values[triple_max_index_];
name, asString -> to_string, const commit d122d05822e02dcc08c665ac6ec7513791dd7209 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Mar 27 08:58:22 2025 -0700 rebase Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 9c7ae9a7ddd885ebdab102d48b3f39dc5dacf948 Author: James Cherry <cherry@parallaxsw.com> Date: Tue Mar 25 16:21:52 2025 -0700 write_spice8 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 2bd088f03bb2e414305232d9ebd76c9d1958ec81 Author: James Cherry <cherry@parallaxsw.com> Date: Tue Mar 25 10:08:00 2025 -0700 liberty reader stringify Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 86974caf063433b37ed1378e7103db4b2e55a04c Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 20:25:39 2025 -0700 ConcreteLiberary/Cell/Port use string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 334476e185149a90b35cdd859e0a760ec9aa242a Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 20:16:08 2025 -0700 leak Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 5130e8d44804f483d9099d48bb413a7f3362b4e1 Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 15:57:14 2025 -0700 liberty parser stringify Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d48eba88cbde9093e3eb12bcee8eb48ccd444434 Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 11:16:04 2025 -0700 stringify Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6913fb198d642f6b05a94fb1852064706a748b81 Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 11:06:17 2025 -0700 stringify Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 371bca08ecf9bf816b7adcbb7ae1458c4073f5f8 Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 10:44:31 2025 -0700 TableTemplate use string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 326465920a1f4a33dbe6be35cff5ca2245b6677e Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 09:04:55 2025 -0700 use string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit b93a542ddfbcb5c793c9b533cbe64ea20ec08f4a Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 08:59:01 2025 -0700 timingSenseString -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6c121a0ff4231b37df076a62e83832897be62ff4 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Mar 23 16:09:47 2025 -0700 Corner use string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 07b989a5a43bf5d341aa6ba2880be663997577d5 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Mar 23 16:05:43 2025 -0700 Tag::to_string() Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 0b9480cc5a3fa9ef0cb1c6e8ba0d4a29de2df816 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Mar 23 15:53:29 2025 -0700 PathAnalysisPt::to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a028659091e99270f7501615285730681ed59523 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Mar 23 12:19:03 2025 -0700 TimingRole stati alloc Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 495be6a57bda23d82e511282f5db7c188b32971b Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 21:36:52 2025 -0700 RiseFall/RiseFallBoth/Transition const Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 4c4b28adb383321b1172f4b774c7c4d9a1aee69f Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 20:38:26 2025 -0700 TimingRole const Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 54ab58ec7200d420bf3b5e709e74b652af88d508 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 14:15:07 2025 -0700 const MinMax Signed-off-by: James Cherry <cherry@parallaxsw.com> commit f70bb38df17b2ed758c7b6ba5647b7355366c0c0 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 13:14:31 2025 -0700 Transition::to_string(() Signed-off-by: James Cherry <cherry@parallaxsw.com> commit b3f3d67328194351fb8efac2219bcfbcec331552 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 12:33:25 2025 -0700 RiseFall::to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 4046f8a376926dfde980860c51d2c5c70cf4a867 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Mar 20 09:04:10 2025 -0700 TimingRole::name -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit cf4dd918eccb05d459f1804ced8365c81a5c6a50 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 20:14:42 2025 -0700 MinMax::asString -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d80118117dda25be7b2b4896f19e955645c27f73 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 17:43:08 2025 -0700 TimingRole::name -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 284fa25c28aca998e8ce92e7b7bb927697494a13 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 17:02:27 2025 -0700 comment Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 646f19749b997e03dc4cbdf165cd7637010276d3 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 14:47:40 2025 -0700 FuncExpr::asString -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 4f73d8e7ad21feac6f41130b7b070f3e345b6fb5 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 14:04:13 2025 -0700 Vertex::name -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 7c7ec486aaea86f6607a1ef72bb1a74dca603831 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 13:39:24 2025 -0700 Vertex::name -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-03-31 00:27:53 +02:00
const MinMax *min, *max;
2018-09-28 17:54:21 +02:00
if (cond_use_ == MinMaxAll::min()) {
min = MinMax::min();
max = MinMax::min();
}
else if (cond_use_ == MinMaxAll::max()) {
min = MinMax::max();
max = MinMax::max();
}
else {
min = MinMax::min();
max = MinMax::max();
}
setEdgeArcDelaysCondUse(edge, arc, value_min, triple_min_index_,
arc_delay_min_index_, min);
setEdgeArcDelaysCondUse(edge, arc, value_max, triple_max_index_,
arc_delay_max_index_, max);
}
void
SdfReader::setEdgeArcDelaysCondUse(Edge *edge,
TimingArc *arc,
float *value,
int triple_index,
int arc_delay_index,
const MinMax *min_max)
{
if (value
&& triple_index != null_index_) {
ArcDelay delay(*value);
if (!is_incremental_only_ && in_incremental_)
delay = graph_->arcDelay(edge, arc, arc_delay_index) + *value;
else if (graph_->arcDelayAnnotated(edge, arc, arc_delay_index)) {
2018-09-28 17:54:21 +02:00
ArcDelay prev_value = graph_->arcDelay(edge, arc, arc_delay_index);
2020-07-12 02:43:30 +02:00
if (delayGreater(prev_value, delay, min_max, this))
2018-09-28 17:54:21 +02:00
delay = prev_value;
}
graph_->setArcDelay(edge, arc, arc_delay_index, delay);
graph_->setArcDelayAnnotated(edge, arc, arc_delay_index, true);
2018-09-28 17:54:21 +02:00
edge->setDelayAnnotationIsIncremental(is_incremental_only_);
}
}
bool
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
SdfReader::condMatch(const string *sdf_cond,
2018-09-28 17:54:21 +02:00
const char *lib_cond)
{
// If the sdf is not conditional it matches any library condition.
2019-03-13 01:25:53 +01:00
if (sdf_cond == nullptr)
2018-09-28 17:54:21 +02:00
return true;
else if (sdf_cond && lib_cond) {
// Match sdf_cond and lib_cond ignoring blanks.
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
const char *c1 = sdf_cond->c_str();
2018-09-28 17:54:21 +02:00
const char *c2 = lib_cond;
char ch1, ch2;
do {
ch1 = *c1++;
ch2 = *c2++;
while (ch1 && isspace(ch1))
ch1 = *c1++;
while (ch2 && isspace(ch2))
ch2 = *c2++;
if (ch1 != ch2)
return false;
} while (ch1 && ch2);
return (ch1 == '\0' && ch2 == '\0');
}
else
return false;
}
SdfPortSpec *
name, asString -> to_string, const commit d122d05822e02dcc08c665ac6ec7513791dd7209 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Mar 27 08:58:22 2025 -0700 rebase Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 9c7ae9a7ddd885ebdab102d48b3f39dc5dacf948 Author: James Cherry <cherry@parallaxsw.com> Date: Tue Mar 25 16:21:52 2025 -0700 write_spice8 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 2bd088f03bb2e414305232d9ebd76c9d1958ec81 Author: James Cherry <cherry@parallaxsw.com> Date: Tue Mar 25 10:08:00 2025 -0700 liberty reader stringify Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 86974caf063433b37ed1378e7103db4b2e55a04c Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 20:25:39 2025 -0700 ConcreteLiberary/Cell/Port use string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 334476e185149a90b35cdd859e0a760ec9aa242a Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 20:16:08 2025 -0700 leak Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 5130e8d44804f483d9099d48bb413a7f3362b4e1 Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 15:57:14 2025 -0700 liberty parser stringify Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d48eba88cbde9093e3eb12bcee8eb48ccd444434 Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 11:16:04 2025 -0700 stringify Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6913fb198d642f6b05a94fb1852064706a748b81 Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 11:06:17 2025 -0700 stringify Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 371bca08ecf9bf816b7adcbb7ae1458c4073f5f8 Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 10:44:31 2025 -0700 TableTemplate use string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 326465920a1f4a33dbe6be35cff5ca2245b6677e Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 09:04:55 2025 -0700 use string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit b93a542ddfbcb5c793c9b533cbe64ea20ec08f4a Author: James Cherry <cherry@parallaxsw.com> Date: Mon Mar 24 08:59:01 2025 -0700 timingSenseString -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6c121a0ff4231b37df076a62e83832897be62ff4 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Mar 23 16:09:47 2025 -0700 Corner use string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 07b989a5a43bf5d341aa6ba2880be663997577d5 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Mar 23 16:05:43 2025 -0700 Tag::to_string() Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 0b9480cc5a3fa9ef0cb1c6e8ba0d4a29de2df816 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Mar 23 15:53:29 2025 -0700 PathAnalysisPt::to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a028659091e99270f7501615285730681ed59523 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Mar 23 12:19:03 2025 -0700 TimingRole stati alloc Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 495be6a57bda23d82e511282f5db7c188b32971b Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 21:36:52 2025 -0700 RiseFall/RiseFallBoth/Transition const Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 4c4b28adb383321b1172f4b774c7c4d9a1aee69f Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 20:38:26 2025 -0700 TimingRole const Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 54ab58ec7200d420bf3b5e709e74b652af88d508 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 14:15:07 2025 -0700 const MinMax Signed-off-by: James Cherry <cherry@parallaxsw.com> commit f70bb38df17b2ed758c7b6ba5647b7355366c0c0 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 13:14:31 2025 -0700 Transition::to_string(() Signed-off-by: James Cherry <cherry@parallaxsw.com> commit b3f3d67328194351fb8efac2219bcfbcec331552 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 22 12:33:25 2025 -0700 RiseFall::to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 4046f8a376926dfde980860c51d2c5c70cf4a867 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Mar 20 09:04:10 2025 -0700 TimingRole::name -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit cf4dd918eccb05d459f1804ced8365c81a5c6a50 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 20:14:42 2025 -0700 MinMax::asString -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d80118117dda25be7b2b4896f19e955645c27f73 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 17:43:08 2025 -0700 TimingRole::name -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 284fa25c28aca998e8ce92e7b7bb927697494a13 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 17:02:27 2025 -0700 comment Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 646f19749b997e03dc4cbdf165cd7637010276d3 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 14:47:40 2025 -0700 FuncExpr::asString -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 4f73d8e7ad21feac6f41130b7b070f3e345b6fb5 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 14:04:13 2025 -0700 Vertex::name -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 7c7ec486aaea86f6607a1ef72bb1a74dca603831 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Mar 19 13:39:24 2025 -0700 Vertex::name -> to_string Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-03-31 00:27:53 +02:00
SdfReader::makePortSpec(const Transition *tr,
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
const string *port,
const string *cond)
2018-09-28 17:54:21 +02:00
{
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
return new SdfPortSpec(tr, port, cond);
2018-09-28 17:54:21 +02:00
}
SdfPortSpec *
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
SdfReader::makeCondPortSpec(const string *cond_port)
2018-09-28 17:54:21 +02:00
{
// Search from end to find port name because condition may contain spaces.
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
string cond_port1(*cond_port);
trimRight(cond_port1);
auto port_idx = cond_port1.find_last_of(" ");
if (port_idx != cond_port1.npos) {
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
string *port1 = new string(cond_port1.substr(port_idx + 1));
auto cond_end = cond_port1.find_last_not_of(" ", port_idx);
if (cond_end != cond_port1.npos) {
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
string *cond1 = new string(cond_port1.substr(0, cond_end + 1));
rm tmp string uses commit 2d0a4f8e9a8b46faa2ba91e1be636c3c3ad95a7f Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 25 21:25:37 2023 -0700 leaks Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 5514910a91707d615bac0bbed3a29f579eca8de2 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 25 18:21:54 2023 -0700 foo Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 076a51d5816444e883232933c2ded7309291d0bc Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 25 16:38:42 2023 -0700 parse bus string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 2b80e563cbbb6563a6b716431f391bbb6639f816 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 25 15:57:05 2023 -0700 rm tmp string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 9e4f2308658232d0b1ee9efcd948bb19ae5dd30f Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 25 14:37:35 2023 -0700 rm tmp string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit ebad3afd49b08e7194452dd082c3c7c05767f875 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 25 10:59:11 2023 -0700 rm tmp string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 69647913932312a04ca06e7a04cca17ed50d4daf Author: James Cherry <cherry@parallaxsw.com> Date: Fri Mar 24 21:02:20 2023 -0700 rm tmp string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 55e67996a7b0651dbb5ee06cb89fe0410648c3c1 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 25 10:42:43 2023 -0700 rm tmp string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 73cee43925c0d32940989c616440b4da18640121 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 25 09:55:17 2023 -0700 rm tmp string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit eba6d1413b8d87a64a90141e5263a56eede1df51 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 25 09:40:16 2023 -0700 rm tmp string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 95d6ed78144512a37fd7c1d3d8a62fc4c8965818 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 25 08:18:46 2023 -0700 rm tmp string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit faf82464d7be7fd6c958a21d401fa48ece4ac341 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 25 07:49:11 2023 -0700 rm tmp string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit cfc9064496cb6f46ec562b104bc7fff2fbc1b32e Author: James Cherry <cherry@parallaxsw.com> Date: Sat Mar 25 07:37:12 2023 -0700 rm tmp string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 057933a6ac356a7541883aa64b5109c7a0e8b8d1 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Mar 24 21:02:20 2023 -0700 rm tmp string Signed-off-by: James Cherry <cherry@parallaxsw.com> commit fdeb6436a72413356a627dd1de1d8cec7fca4c4a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Mar 24 19:53:44 2023 -0700 rm TmpString uses Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2023-03-26 15:34:36 +02:00
SdfPortSpec *port_spec = new SdfPortSpec(Transition::riseFall(),
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
port1,
cond1);
delete cond_port;
return port_spec;
}
}
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
delete cond_port;
return nullptr;
2018-09-28 17:54:21 +02:00
}
SdfTripleSeq *
SdfReader::makeTripleSeq()
{
return new SdfTripleSeq;
}
void
SdfReader::deleteTripleSeq(SdfTripleSeq *triples)
{
SdfTripleSeq::Iterator iter(triples);
while (iter.hasNext()) {
SdfTriple *triple = iter.next();
delete triple;
}
delete triples;
}
SdfTriple *
SdfReader::makeTriple()
{
return new SdfTriple(0, 0, 0);
}
SdfTriple *
SdfReader::makeTriple(float value)
{
value *= timescale_;
float *fp = new float(value);
return new SdfTriple(fp, fp, fp);
}
SdfTriple *
SdfReader::makeTriple(float *min,
float *typ,
float *max)
{
if (min) *min *= timescale_;
if (typ) *typ *= timescale_;
if (max) *max *= timescale_;
return new SdfTriple(min, typ, max);
}
void
SdfReader::deleteTriple(SdfTriple *triple)
{
delete triple;
}
void
SdfReader::setInTimingCheck(bool in)
{
in_timing_check_ = in;
}
void
SdfReader::setInIncremental(bool incr)
{
in_incremental_ = incr;
}
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
string *
SdfReader::unescaped(const string *token)
2018-09-28 17:54:21 +02:00
{
char path_escape = network_->pathEscape();
char path_divider = network_->pathDivider();
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
size_t token_length = token->size();
string *unescaped = new string;
for (size_t i = 0; i < token_length; i++) {
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
char ch = (*token)[i];
2018-09-28 17:54:21 +02:00
if (ch == escape_) {
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
char next_ch = (*token)[i + 1];
2018-09-28 17:54:21 +02:00
if (next_ch == divider_) {
// Escaped divider.
2018-09-28 17:54:21 +02:00
// Translate sdf escape to network escape.
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
*unescaped += path_escape;
2018-09-28 17:54:21 +02:00
// Translate sdf divider to network divider.
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
*unescaped += path_divider;
2018-09-28 17:54:21 +02:00
}
else if (next_ch == '['
|| next_ch == ']'
|| next_ch == escape_) {
// Escaped bus bracket or escape.
// Translate sdf escape to network escape.
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
*unescaped += path_escape;
*unescaped += next_ch;
2018-09-28 17:54:21 +02:00
}
else
// Escaped non-divider character.
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
*unescaped += next_ch;
i++;
2018-09-28 17:54:21 +02:00
}
else
// Just the normal noises.
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
*unescaped += ch;
2018-09-28 17:54:21 +02:00
}
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
debugPrint(debug_, "sdf_name", 1, "unescape %s -> %s",
token->c_str(),
unescaped->c_str());
delete token;
2018-09-28 17:54:21 +02:00
return unescaped;
}
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
string *
SdfReader::makePath(const string *head,
const string *tail)
{
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
string *path = new string(*head);
*path += network_->pathDivider();
*path += *tail;
delete head;
delete tail;
return path;
}
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
string *
SdfReader::makeBusName(string *base_name,
int index)
2018-09-28 17:54:21 +02:00
{
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
string *bus_name = unescaped(base_name);
*bus_name += '[';
*bus_name += to_string(index);
*bus_name += ']';
delete base_name;
return bus_name;
2018-09-28 17:54:21 +02:00
}
void
SdfReader::notSupported(const char *feature)
{
2020-12-14 02:21:35 +01:00
sdfError(193, "%s not supported.", feature);
2018-09-28 17:54:21 +02:00
}
2020-12-25 00:53:25 +01:00
void
SdfReader::sdfWarn(int id,
const char *fmt, ...)
{
va_list args;
va_start(args, fmt);
liberty parser c++ commit 1abf72bc3430d34a51d82992f1c753f0274a662a Author: James Cherry <cherry@parallaxsw.com> Date: Mon Jan 27 08:01:04 2025 -0700 rm unused lib visitors Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 1e76acfc7829a8ba82f96d369fae6225a7361844 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 21:15:46 2025 -0700 verilog/sdf stream->is_open Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c4a57c0354ffb6c4edfc3269d56a937c11ad9609 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 19:54:41 2025 -0700 leak Signed-off-by: James Cherry <cherry@parallaxsw.com> commit b992ed1124a862cb04f0c7617a4575f916c3fe01 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 16:39:16 2025 -0700 liberty mv string_buf to scanner Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 894cbfa5d5b731738dcc60d492689fad9d13bd40 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 16:29:42 2025 -0700 liberty use regex to parse include file Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 176225849d3fcac0b2be1a5b623270c386daed3d Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 15:48:09 2025 -0700 liberty include filename Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 516e12721d7185015d8c29e8b16fa185f0f46983 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 15:31:18 2025 -0700 liberty include Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 32098a2159798dfbb80140927949bb36f480093d Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 15:01:47 2025 -0700 liberty include Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 880214e632d756c3199b000fee88fd4fdffac371 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 13:55:02 2025 -0700 liberty include Signed-off-by: James Cherry <cherry@parallaxsw.com> commit ad1efca842a6d7ee608ffd5a19a69885786b77fa Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 10:11:07 2025 -0700 liberty passes all but include Signed-off-by: James Cherry <cherry@parallaxsw.com> commit e71cf1f39dd09e81cf2b0e5a12dcf51675f2a6fd Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 10:01:08 2025 -0700 liberty parser use class compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 02dea0ff753b0fa12f280661a46e2c0ef2432357 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 19:08:06 2025 -0700 liberty parser compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-27 16:33:35 +01:00
report_->vfileWarn(id, filename_.c_str(), scanner_->lineno(), fmt, args);
2020-12-25 00:53:25 +01:00
va_end(args);
2018-09-28 17:54:21 +02:00
}
void
2020-12-14 02:21:35 +01:00
SdfReader::sdfError(int id,
const char *fmt, ...)
2018-09-28 17:54:21 +02:00
{
va_list args;
va_start(args, fmt);
liberty parser c++ commit 1abf72bc3430d34a51d82992f1c753f0274a662a Author: James Cherry <cherry@parallaxsw.com> Date: Mon Jan 27 08:01:04 2025 -0700 rm unused lib visitors Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 1e76acfc7829a8ba82f96d369fae6225a7361844 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 21:15:46 2025 -0700 verilog/sdf stream->is_open Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c4a57c0354ffb6c4edfc3269d56a937c11ad9609 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 19:54:41 2025 -0700 leak Signed-off-by: James Cherry <cherry@parallaxsw.com> commit b992ed1124a862cb04f0c7617a4575f916c3fe01 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 16:39:16 2025 -0700 liberty mv string_buf to scanner Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 894cbfa5d5b731738dcc60d492689fad9d13bd40 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 16:29:42 2025 -0700 liberty use regex to parse include file Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 176225849d3fcac0b2be1a5b623270c386daed3d Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 15:48:09 2025 -0700 liberty include filename Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 516e12721d7185015d8c29e8b16fa185f0f46983 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 15:31:18 2025 -0700 liberty include Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 32098a2159798dfbb80140927949bb36f480093d Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 15:01:47 2025 -0700 liberty include Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 880214e632d756c3199b000fee88fd4fdffac371 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 13:55:02 2025 -0700 liberty include Signed-off-by: James Cherry <cherry@parallaxsw.com> commit ad1efca842a6d7ee608ffd5a19a69885786b77fa Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 10:11:07 2025 -0700 liberty passes all but include Signed-off-by: James Cherry <cherry@parallaxsw.com> commit e71cf1f39dd09e81cf2b0e5a12dcf51675f2a6fd Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 10:01:08 2025 -0700 liberty parser use class compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 02dea0ff753b0fa12f280661a46e2c0ef2432357 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 19:08:06 2025 -0700 liberty parser compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-27 16:33:35 +01:00
report_->vfileError(id, filename_.c_str(), scanner_->lineno(), fmt, args);
2018-09-28 17:54:21 +02:00
va_end(args);
}
Pin *
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
SdfReader::findPin(const string *name)
2018-09-28 17:54:21 +02:00
{
2019-01-17 00:37:31 +01:00
if (path_) {
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
string path_name(path_);
path_name += divider_;
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
path_name += *name;
2019-01-17 00:37:31 +01:00
Pin *pin = network_->findPin(path_name.c_str());
return pin;
}
else
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
return network_->findPin(name->c_str());
2018-09-28 17:54:21 +02:00
}
Instance *
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
SdfReader::findInstance(const string *name)
2018-09-28 17:54:21 +02:00
{
string inst_name;
if (path_) {
inst_name = path_;
inst_name += divider_;
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
inst_name += *name;
}
else
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
inst_name = *name;
2019-01-17 00:37:31 +01:00
Instance *inst = network_->findInstance(inst_name.c_str());
2019-03-13 01:25:53 +01:00
if (inst == nullptr)
2020-12-25 00:53:25 +01:00
sdfWarn(195, "instance %s not found.", inst_name.c_str());
2018-09-28 17:54:21 +02:00
return inst;
}
////////////////////////////////////////////////////////////////
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
SdfPortSpec::SdfPortSpec(const Transition *tr,
const string *port,
const string *cond) :
tr_(tr),
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
port_(port),
cond_(cond)
{
}
SdfPortSpec::~SdfPortSpec()
{
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
delete port_;
delete cond_;
}
////////////////////////////////////////////////////////////////
2018-09-28 17:54:21 +02:00
SdfTriple::SdfTriple(float *min,
float *typ,
float *max)
{
values_[0] = min;
values_[1] = typ;
values_[2] = max;
}
SdfTriple::~SdfTriple()
{
if (values_[0] == values_[1] && values_[0] == values_[2])
delete values_[0];
else {
if (values_[0]) delete values_[0];
if (values_[1]) delete values_[1];
if (values_[2]) delete values_[2];
}
}
bool
SdfTriple::hasValue() const
{
return values_[0] || values_[1] || values_[2];
}
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
////////////////////////////////////////////////////////////////
2018-09-28 17:54:21 +02:00
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
SdfScanner::SdfScanner(std::istream *stream,
liberty parser c++ commit 1abf72bc3430d34a51d82992f1c753f0274a662a Author: James Cherry <cherry@parallaxsw.com> Date: Mon Jan 27 08:01:04 2025 -0700 rm unused lib visitors Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 1e76acfc7829a8ba82f96d369fae6225a7361844 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 21:15:46 2025 -0700 verilog/sdf stream->is_open Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c4a57c0354ffb6c4edfc3269d56a937c11ad9609 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 19:54:41 2025 -0700 leak Signed-off-by: James Cherry <cherry@parallaxsw.com> commit b992ed1124a862cb04f0c7617a4575f916c3fe01 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 16:39:16 2025 -0700 liberty mv string_buf to scanner Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 894cbfa5d5b731738dcc60d492689fad9d13bd40 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 16:29:42 2025 -0700 liberty use regex to parse include file Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 176225849d3fcac0b2be1a5b623270c386daed3d Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 15:48:09 2025 -0700 liberty include filename Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 516e12721d7185015d8c29e8b16fa185f0f46983 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 15:31:18 2025 -0700 liberty include Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 32098a2159798dfbb80140927949bb36f480093d Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 15:01:47 2025 -0700 liberty include Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 880214e632d756c3199b000fee88fd4fdffac371 Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 13:55:02 2025 -0700 liberty include Signed-off-by: James Cherry <cherry@parallaxsw.com> commit ad1efca842a6d7ee608ffd5a19a69885786b77fa Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 10:11:07 2025 -0700 liberty passes all but include Signed-off-by: James Cherry <cherry@parallaxsw.com> commit e71cf1f39dd09e81cf2b0e5a12dcf51675f2a6fd Author: James Cherry <cherry@parallaxsw.com> Date: Sun Jan 26 10:01:08 2025 -0700 liberty parser use class compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 02dea0ff753b0fa12f280661a46e2c0ef2432357 Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 19:08:06 2025 -0700 liberty parser compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-27 16:33:35 +01:00
const string &filename,
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
SdfReader *reader,
Report *report) :
yyFlexLexer(stream),
filename_(filename),
reader_(reader),
report_(report)
{
}
2018-09-28 17:54:21 +02:00
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
void
SdfScanner::error(const char *msg)
{
report_->fileError(1869, filename_.c_str(), lineno(), "%s", msg);
c++ sdf reader commit da9f267cbb3ed711bff3d2e2c1470fa12f7de26c Author: James Cherry <cherry@parallaxsw.com> Date: Sat Jan 25 11:31:41 2025 -0700 zlib optional Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dfbe36202ef77f77e1a7c42163db9f6a5d9a8380 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 19:24:05 2025 -0700 sdf use option for prefix Signed-off-by: James Cherry <cherry@parallaxsw.com> commit bd7fc399ddfa472e25606c92421c123a725181da Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:57:46 2025 -0700 mv sdf error to reader Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 088d43b0e5c90b0bc24c64384164f1bcc50c5165 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 18:48:28 2025 -0700 sdf lex use option for previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ccf8c33bd8c44fdd914d9a36fa703a7594353e2 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 17:10:07 2025 -0700 sdf error Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 43794955a9f79a2900bb8e4cef030a907347627a Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:13:00 2025 -0700 SdfParse reorg sections Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 666062124f5718a512092fcdd295827cfb2b6c51 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:07:51 2025 -0700 sdf lex previs Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 83e9925e09817f39d60ae0292fd9eed5e6c40f43 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 16:05:11 2025 -0700 sdf clenup directives Signed-off-by: James Cherry <cherry@parallaxsw.com> commit dd71619af605abdaaaa9feb0800eb78e225828d6 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 11:41:47 2025 -0700 sdf parse valgrind pass Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c068e6512824ac27a99fdaa6dcd9a908ee991857 Author: James Cherry <cherry@parallaxsw.com> Date: Fri Jan 24 08:45:39 2025 -0700 sdf parse Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 454602fbd464387442cd1e296f3f0e3b5c366e52 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 21:50:24 2025 -0700 sdf parse passes Signed-off-by: James Cherry <cherry@parallaxsw.com> commit a352451c163f95f82446f2a25d39706f68ae98d6 Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 19:15:09 2025 -0700 sdf parse pass all but 1 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 87d537582134a767a13ec4596957b7d7a8e1edfd Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:53:15 2025 -0700 sdf parse report_checks4 Signed-off-by: James Cherry <cherry@parallaxsw.com> commit c2ee81a51d4fba1281bf452055c9113af7a0de1f Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:30:25 2025 -0700 sdf link Signed-off-by: James Cherry <cherry@parallaxsw.com> commit d71e4b0c8f95256ab3ec9e53e26218baaa3c9f8c Author: James Cherry <cherry@parallaxsw.com> Date: Thu Jan 23 12:02:45 2025 -0700 sdf parse compiles Signed-off-by: James Cherry <cherry@parallaxsw.com> commit 6ca6800d5cd52640e275bf7eb77a8b1db85e2957 Author: James Cherry <cherry@parallaxsw.com> Date: Wed Jan 22 18:19:27 2025 -0700 sdf reader c++ Signed-off-by: James Cherry <cherry@parallaxsw.com> Signed-off-by: James Cherry <cherry@parallaxsw.com>
2025-01-25 19:34:04 +01:00
}
} // namespace