정진형학부생
09/07/2023, 8:04 AMStefan Schippers
09/07/2023, 9:11 PM정진형학부생
09/08/2023, 1:24 AMStefan Schippers
09/08/2023, 9:58 AMxschemrc
file, edit this file and set the PDK_ROOT
variable to point to your pdk installation. If you start xschem tb_4bit_sar_logic.sch
in this directory it should load the design with no missing symbols.
• in the schematics I have removed absolute paths in symbol references (for example changed /foss/designs/mySAR_SKY130/xschem/4bit_sar_logic.sym
to just 4bit_sar_logic.sym
. Always add the directory where symbols and schematics are located (or the directory one level above) to the XSCHEM_LIBRARY_PATH
search path. See this manual page for more info.
• The 4bit_sar_logic.sym
symbol was missing all attributes. I entered the symbol and after doing '`q`' added the following text. See first attached image:
type=subcircuit
format="@name @pinlist @symname"
template="name=x1"
• I also added name=x1
to the 4bit_sar_logic.sym
instance in the testbench. See second attached imageStefan Schippers
09/08/2023, 10:23 AMsudo apt install gdb
) you can do this:
gdb xschem
at the gdb prompt write:
run tb_4bit_sar_logic.sch
this will start xschem with the testbench loaded. You can work in xschem as usual, so try to trigger the crash.
Afer xschem has crashed you can press bt
(backtrace) at the debugger prompt.
Copy the text shown and send it to me. This shows the exact line of the code where the crash occurred.
to quit the debugger press '`exit`' at the debugger prompt and confim you want to quit.정진형학부생
09/09/2023, 12:17 PMStefan Schippers
09/10/2023, 2:14 PM권용진학부생
09/19/2023, 5:29 AMStefan Schippers
09/20/2023, 7:27 AMsw_vref_gen
? or you mean sw_vref_gen.sch
?
• When you say copy it at 'vref_gen.sch' what are the operations you do ? Save as
from the menu?
I can not cause a crash, so please send the very detailed list of actions to reproduce the problem.
Anyway I found a bug when doing a Save As to a different filename where xschem incorrectly popped up the dialog box shown in the image. This is now corrected, so please update xschem to latest revision and check again.
Thank you for your report.Stefan Schippers
09/20/2023, 8:21 AM권용진학부생
09/20/2023, 12:46 PMStefan Schippers
09/20/2023, 12:50 PMStefan Schippers
09/20/2023, 12:54 PMStefan Schippers
09/20/2023, 1:51 PMsw_vref_gen.sym
file, press '`q`' and add this text:
type=subcircuit
format="@name @pinlist @symname"
template="name=X1"
If you already have instances of this symbol delete and add them again or do a 'q' on the instances and add: name=X1
, (if there are more name=X2
, ...)