Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using the primitive LONG CELL TRAP in MINT produces an error #5

Open
pkiourti opened this issue Apr 22, 2020 · 0 comments
Open

Using the primitive LONG CELL TRAP in MINT produces an error #5

pkiourti opened this issue Apr 22, 2020 · 0 comments

Comments

@pkiourti
Copy link

Steps to reproduce:

  1. Login to fluigicad.org and create a file with extension .uf (for MINT code).
  2. Write the following MINT code (which is also part of an example in the wiki):
3D DEVICE test

LAYER FLOW

PORT inPort, wastePort, outPort r=700;
H LONG CELL TRAP ct1 numberChambers=10 chamberWidth=100 chamberLength=100 chamberSpacing=50 channelWidth=50;

CHANNEL c1 from inPort 2 to ct1 1 w=500;
CHANNEL c2 from ct1 2 to outPort 1 w=500;

END LAYER
  1. Save and compile
  2. The following error is produced:
line 6:35 mismatched input '=' expecting 'SET X'
Exception in thread "main" java.lang.NullPointerException
        at org.cidarlab.fluigi.fluigi.FluigiNetlistParser.enterSetCoordStat(FluigiNetlistParser.java:757)
        at org.cidarlab.fluigi.ufgrammer4.ufgrammerParser$SetCoordStatContext.enterRule(ufgrammerParser.java:2831)
        at org.antlr.v4.runtime.tree.ParseTreeWalker.enterRule(ParseTreeWalker.java:66)
        at org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:49)
        at org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:52)
        at org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:52)
        at org.antlr.v4.runtime.tree.ParseTreeWalker.walk(ParseTreeWalker.java:52)
        at org.cidarlab.fluigi.fluigi.DesignTree.parseDevice(DesignTree.java:185)
        at org.cidarlab.fluigi.fluigi.DesignTree.recursiveCreateDevice(DesignTree.java:151)
        at org.cidarlab.fluigi.fluigi.DesignTree.generateDesignTree(DesignTree.java:270)
        at org.cidarlab.fluigi.fluigi.Fluigi.main(Fluigi.java:254)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant