Skip to content

'Latest origen release causing issues due to org file infrastructure #218

@welguisz

Description

@welguisz

I just updated my gems to origen 0.29.0 and ran scripts and got the following issue:

When adding the OrgFile::Interceptable module to a class, the class must define an instance method called "global_path_to", like this:

  # Must return a string that contains a global path to access the given object,
  # here for example if the object was a pin
  def global_path_to
    "dut.pins(:#{id})"
  end

As a workaround, I did some monkey-patching to pin_collection.rb and I still got this issue. What is going one. I looked at the Org file infrastructure Pull Request, and can't figure out what to do.

Any suggestions will be helpful.

Thanks,

David

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions