Output within a DRC engine instance fail to generate report database

This code works.

source("test1.gds")
report("Firt sample database", "out.lyrdb")

input(1, 0).sized(200.nm).output("sized","error")

But, this code would not produce out.lyrdb file. What am I missing?

eng = DRC::DRCEngine::new
eng.instance_eval do
    source("test1.gds")
    report("Firt sample database", "out.lyrdb")

    input(1, 0).sized(200.nm).output("sized","error")
end

Comments

  • edited June 21

    @yangwoo You need to call "eng._finish" finally to flush the report to a file.

    But you're playing with internals here. You should be able to read the original code when you plan to do so.

    Matthias

  • @Matthias Thanks for comments. Borrowed two lines of codes from eng._flush and now it works.

Sign In or Register to comment.