From 61c4f72c15ae2e7a6d7d4ba18c1cc19f84a5bf1c Mon Sep 17 00:00:00 2001 From: stefan schippers Date: Tue, 24 Dec 2024 03:15:50 +0100 Subject: [PATCH] some `xschem test` benchmarks added --- src/scheduler.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/scheduler.c b/src/scheduler.c index 2608976a..547f521d 100644 --- a/src/scheduler.c +++ b/src/scheduler.c @@ -5723,6 +5723,18 @@ int xschem(ClientData clientdata, Tcl_Interp *interp, int argc, const char * arg del_object_table(); Tcl_ResetResult(interp); } + else if(argc > 2 && atoi(argv[2]) == 5) { + xctx->prep_hash_inst=0; + hash_instances(); + } + else if(argc > 2 && atoi(argv[2]) == 4) { + xctx->prep_hash_object=0; + hash_objects(); + } + else if(argc > 2 && atoi(argv[2]) == 6) { + xctx->prep_hash_wires=0; + hash_wires(); + } else if(argc > 5 && atoi(argv[2]) == 2) { /* example: xschem test 2 .xctrl. LDCP_REF 8 */ prepare_netlist_structs(0);