You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed klayout-0.27-0.x86_64.rpm on CentOS7 and used the Salt Package Manager to install the the package "
tf_import 1.0". Then I ran this command:
I have the same error on Windows portable version of KLayout.
It looks like ruby requires an explicit "require 'stringio'". Once I add it it works fine for me.
Change needs to be implemented in the following files:
salt/tf_import/macros/import_tf.lym
salt/tf_import/macros/import_tf_standalone.rb
Thanks! That fixed it for me too. You need to restart (or otherwise reload) this useful tf_import package!
Then all I needed was techfile.tf and display.drf, both found in our vendors PDK installation (not in our main chip design cadence folder)
I installed klayout-0.27-0.x86_64.rpm on CentOS7 and used the Salt Package Manager to install the the package "
tf_import 1.0". Then I ran this command:
klayout -rd tf_file=df2/NCSU_Techlib_tsmc02_laydefs.tf -rd lyp_file=out.lyp fifo.gds
Which outputs this error:
ERROR: /home/reinhard/.klayout/salt/tf_import/ruby/import_tf.rb:70: uninitialized constant TechfileToKLayout::StringIO
' (class NameError)/home/reinhard/.klayout/salt/tf_import/ruby/import_tf.rb:70:in
read_skill_file_as_ruby_expr' /home/reinhard/.klayout/salt/tf_import/ruby/import_tf.rb:195:in
import_techfile'/home/reinhard/.klayout/salt/tf_import/macros/import_tf_standalone.rb:35:in
<module:TechfileToKLayout>' /home/reinhard/.klayout/salt/tf_import/macros/import_tf_standalone.rb:24:in
Executing File>Import Cadence Techfile in the gui showed this error:
ERROR: /home/reinhard/.klayout/salt/tf_import/ruby/import_tf.rb:70: uninitialized constant TechfileToKLayout::StringIO
' (class NameError)/home/reinhard/.klayout/salt/tf_import/ruby/import_tf.rb:70:in
read_skill_file_as_ruby_expr' /home/reinhard/.klayout/salt/tf_import/ruby/import_tf.rb:195:in
import_techfile'/home/reinhard/.klayout/salt/tf_import/macros/import_tf.lym:32:in
<module:TechfileToKLayout>' /home/reinhard/.klayout/salt/tf_import/macros/import_tf.lym:17:in
The text was updated successfully, but these errors were encountered: