StefanSchippers / xschem

A schematic editor for VLSI/Asic/Analog custom designs, netlist backends for VHDL, Spice and Verilog. The tool is focused on hierarchy and parametric designs, to maximize circuit reuse.
Other
297 stars 21 forks source link

RFC: Different color for currents and voltages in back-annotation #207

Closed qpwo closed 2 weeks ago

qpwo commented 1 month ago

I think the annotations would be easier to read if the currents were in a different color. It can get crowded.

image

StefanSchippers commented 2 weeks ago

This can now be done in two ways: 1) change the symbol and move the current / voltage text on a different layer 2) on a specific symbol instance add attribute text_layer_n = lay, where n is the text number in the symbol (first=0, second =1, and so on, you can see the text position in the symbol by clicking on it and pressing Shift-S), and lay is the layer the text should be displayed with. example: text_size_4=9 --> move the symbol fourth text item to layer 9

The second solution does not require to change the symbols library, but needs the above attribute on all instances where text must be rendered on a different layer.

StefanSchippers commented 2 weeks ago

I have modified the devices/ xschem base symbols to display current annotations (@spice_get_current) on layer 12 (blue) 1

qpwo commented 2 weeks ago

Awesome! Would've taken synopsys a decade

image