Coder Social home page Coder Social logo

Comments (6)

lukasc-ubc avatar lukasc-ubc commented on May 28, 2024

Suggested approach:

References on Graph connected components:

Starting point:

  • in SiEPIC_EBeam_functions:
    • def generate_short_Spice_file(topcell, optical_waveguides, optical_components):
    • def connected_component(i,j):

Approach:

  1. Take all components and waveguides, and merge them into a new data structure, say "objects", and include their connectivity. Make it compatible with the [breakingcode].(https://breakingcode.wordpress.com/2013/04/08/finding-connected-components-in-a-graph/) approach.
    • Loop through all components & waveguides, and add to "objects" dataset.
    • use the "connected_component" function (not finished) to identify the neighbours for each object.
  2. Modify the breakingcode code to return only objects connected to the laser
  3. Create a spice netlist, as a variant of "generate_Spice_file".

from siepic_ebeam_pdk.

lukasc-ubc avatar lukasc-ubc commented on May 28, 2024

Order doesn't matter. They just need to end up in the (short) spice export.
The main purpose is to remove the components that aren't part of the
simulation in order to speed up the time consuming import in interconnect.

On Apr 23, 2016, at 12:02 AM, Jaspreet Jhoja [email protected]
wrote:

Do we just want a group of elements or they need to be in a particular
order?

for eg.
Group #1 lukasc-ubc#1: a, b,
c, d, e, f

Can it be like:
Group #1 lukasc-ubc#1: c, b,
a, d, f, e


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/lukasc-ubc/SiEPIC_EBeam_PDK/issues/56#issuecomment-213678168

from siepic_ebeam_pdk.

jaspreetj avatar jaspreetj commented on May 28, 2024

working on it. Almost finished it.

from siepic_ebeam_pdk.

lukasc-ubc avatar lukasc-ubc commented on May 28, 2024

Hi Jaspreet,

Thanks for your pull request! There was a merge conflict, so I just downloaded your file and merged it myself. Yes, please do add this to the MC Simulations.

Do we need the disconnected ports on the top of the device? (I don't think so...)

from siepic_ebeam_pdk.

jaspreetj avatar jaspreetj commented on May 28, 2024

I just implemented this to the MC simulations and cleared the unused ports.

Do we still need the generate_short_Spice_file(topcell, optical_waveguides, optical_components) function in the SiEPIC Functions?

If not, can I remove the function and add the newly created function to the Functions file?

from siepic_ebeam_pdk.

lukasc-ubc avatar lukasc-ubc commented on May 28, 2024

I think it is working well.

I have merged it into the main function, and removed the incomplete function you mentioned.

thank you!
Lukas

from siepic_ebeam_pdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.