Commit Graph

2463 Commits

Author SHA1 Message Date
stefan schippers 8aa62f2efa parametric models in subcircuits (model=@mod in instances, mod=xxx in parent instantiation) 2024-02-09 18:39:09 +01:00
stefan schippers 1cbbed77ba first commit for parametric models in subckts --DO NOT USE-- 2024-02-09 17:00:56 +01:00
stefan schippers c06a896d4f instance based schematic selection: if instance specified schematic=... not existing use base schematic (symbolname.sch) 2024-02-09 02:37:53 +01:00
stefan schippers 7639d65dc5 update make_sch_from_vhdl.awk (compliance with regexp syntax) 2024-02-07 12:32:07 +01:00
stefan schippers 59cf2fff1d remove trailing "/" in netlist_dir if present 2024-02-06 10:32:22 +01:00
stefan schippers da72478265 proc graph_edit_properties: "unlock X axis" checkbutton state immediately applied to graph, not only after closing dialog. 2024-02-05 23:33:25 +01:00
stefan schippers 55c43e6693 typo in install_xschem.html 2024-02-05 17:05:29 +01:00
stefan schippers 29d2541b21 fix regression in get_sym_template() 2024-02-05 16:37:00 +01:00
stefan schippers fa533c725a remove dbg messages 2024-02-05 14:49:20 +01:00
stefan schippers 96494dc73a get_sym_template: fix possible unterminated result string 2024-02-05 13:47:49 +01:00
stefan schippers 215114fce3 update symbol property syntax docs with new attribute verilog_extra_dir 2024-02-05 12:08:10 +01:00
stefan schippers b2b5b48cfe replace chan configure with fconfigure for older tcl compatibility 2024-02-05 11:49:13 +01:00
stefan schippers 046c23addd add verilog_extra_dir symbol attribute to allow specify "ports by attribute" directions: verilog_extra_dir="VCC=input GND=input" verilog_extra="VCC GND" extra="VCC GND" ....; proc set_netlist_dir will show the last set simulation directory instead of the default ~/.xschem/simulations. Changed background color of menu radiobuttons for clarity. 2024-02-05 11:14:51 +01:00
stefan schippers fdc2fb5517 fix a regression in proc set_paths (erroneusly set file_dialog_files1) 2024-02-05 00:32:24 +01:00
stefan schippers 8ec3e52122 allow parametric models in subcircuits. Symbol inv.sym contains template="... modp=cmos_p_10 ...", pmos instance in inv.sch contains model=@modp, instance format string contains format="@name @pinlist @model w=@w l=@l, result is: "m2 y a VCCPIN VCCPIN cmos_p_10 w=wp l=lp" 2024-02-03 13:43:18 +01:00
stefan schippers 7bfed5907c added lcc[level].prop_ptr and lcc[level].templ printing in `xschem globals` command 2024-02-03 00:42:25 +01:00
stefan schippers 331722ab07 fix too early xctx->currsch increment in descend_symbol() 2024-02-02 10:48:51 +01:00
stefan schippers 304d42b928 Add WM_DELETE_WINDOW action on load_file_dialog widget 2024-01-31 18:54:30 +01:00
stefan schippers 8f3e0be4fe load_file_dialog: checkbutton for displaying only name / full path of component directories 2024-01-30 19:15:08 +01:00
stefan schippers 778dd2c0dc recognize integrated_noise, improve `xschem preview_window` command 2024-01-27 11:42:05 +01:00
stefan schippers a1c2569506 revert previous: print_spice_element(): do 2nd level translate() only on `model` tokens whose value contains @variables. 2024-01-22 18:57:42 +01:00
stefan schippers 24844b3d4c print_spice_element(): do 2nd level translate() only on `device_model` tokens whose value contains @variables. 2024-01-22 18:53:04 +01:00
stefan schippers 7d93b7abac added missing xschem_library/inst_sch_select/comp3* files 2024-01-22 15:33:50 +01:00
stefan schippers 39a5bd2d4b doc updates (graphs, per signal raw file specification) 2024-01-22 15:22:39 +01:00
stefan schippers 1f35fdf05c add `spectrum` type analysis in graph dialog sim type combobox. Make sp and spectrum aliases of ac in read_dataset() and extra_rawfile() 2024-01-22 01:19:27 +01:00
stefan schippers 9ceb274b5e print_spice_element(): when expanding format @variables, if substituted value contains @var do another round of translate() to replace @var with instance assigned var=xxx value 2024-01-21 00:00:01 +01:00
Stefan Schippers 289a979c61 translate() on device_model inst attr: avoid tcl_hook2 in get_tok_value() as already done in translate() 2024-01-20 19:52:16 +01:00
Stefan Schippers e50c6f0df1 pass instance `device_models=...` attribute through translate() so @vars are resolved 2024-01-20 19:40:49 +01:00
stefan schippers 38ff460694 added `xschem fill_reset` command to reset fill patterns defined via tcl array pixdata(n) 2024-01-15 15:53:49 +01:00
stefan schippers c46afdc582 add command `xschem fill_type n fill_type` 2024-01-15 00:45:24 +01:00
stefan schippers 17e24e0f5f has_included_subcircuit(): correctly handle bussed ports in symbol and spice .subckt file 2024-01-14 11:28:51 +01:00
stefan schippers ac04ce5c55 set tab/window title if xschem invoked with `xschem -n file.sch`. fix poweramp.sch testbench for Xyce sim. 2024-01-11 08:19:25 +01:00
stefan schippers a7f1b2a5f1 add Spectrum analysis recogniztion (yet another ac type) in raw files 2024-01-08 23:59:55 +01:00
stefan schippers 6c163d5cb0 has_included_subcircuit(): get symname from `schematic` attribute if set in instance or symbol, or use actual symbol name, add tb_symbol_include.sch example circuit 2024-01-08 17:19:12 +01:00
stefan schippers 8c55f3a99e add `hide=instance` attribute for in-symbol text objects (in addition to hide=true or hide=false). If set the text is invisible in instantiated symbols, but is visible if descending into the symbol 2024-01-08 15:47:01 +01:00
stefan schippers 0597bae9dc various improvements for automatic port order detection from included subcircuit via spice_sym_def and @pinlist in format string, documentation updates in tutorial_use_existing_subckt.html 2024-01-08 14:57:21 +01:00
stefan schippers d2c6566030 when doing spice netlist, if a symbol has the spice_sym_def attribute set and is using @pinlist in format string for port order, get the port order from the subckt given in spice_sym_def, either directly or through a .include line 2024-01-08 03:24:59 +01:00
Stefan Schippers 0f7785d588 initial implementation of `has_included_subcircuit()` 2024-01-07 19:51:48 +01:00
stefan schippers f0e739cf02 .load.l.paneright.list better positioning (remember last selection), print_spice_subckt_nodes(): use my_mstrcat() instead of fprintf, for future enhancements 2024-01-06 12:14:36 +01:00
stefan schippers dcef3d4b9d waves_callback(): do not set GRAPHPAN when setting cursor position numerically 2024-01-05 11:21:34 +01:00
stefan schippers 1fa490b066 some fixes on numerical cursor adjustments (for log X scales) 2024-01-05 03:13:51 +01:00
stefan schippers 90ce40da2c Right click on a graph cursor allows to set the cursor position numerically 2024-01-05 02:08:13 +01:00
stefan schippers 7982c67bf6 display cursor difference measurement also in log x axis graphs 2024-01-04 01:41:40 +01:00
stefan schippers 148a42538c update hash for greycnt.sch in xschemtest.tcl 2024-01-04 00:09:28 +01:00
stefan schippers 6215a89605 fix verilog_bitblast not declared as global in proc netlist (typo) 2024-01-02 23:18:00 +01:00
stefan schippers d77fb43e5e Configure simulators and tools: rearrange buttons behavior: `Accept, no SAve and CLose` and `Accept, SAve and Close` 2024-01-01 10:54:05 +01:00
stefan schippers d91daea84c extend interval raw file loading to `xschem raw read file type sweep1 sweep2` 2024-01-01 01:28:28 +01:00
Stefan Schippers cd6deb0bf9 xschem raw_read: allow specifying t1 and t2 to load only a portion of simulation file 2023-12-31 20:33:08 +01:00
stefan schippers 97dad1d39c fix typo 2023-12-29 23:06:31 +01:00
stefan schippers bc2676f211 more details on xschem tutorial page about library path management 2023-12-29 22:57:19 +01:00