Skip to content

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

@pkiourti

Description

@pkiourti

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions