Class VHDLWriter

    • Constructor Detail

      • VHDLWriter

        public VHDLWriter​(org.lemsml.jlems.core.type.Lems lems)
                   throws ModelFeatureSupportException,
                          org.lemsml.jlems.core.sim.LEMSException,
                          org.neuroml.model.util.NeuroMLException
        Throws:
        ModelFeatureSupportException
        org.lemsml.jlems.core.sim.LEMSException
        org.neuroml.model.util.NeuroMLException
    • Method Detail

      • getNeuronModelScripts

        public Map<String,​String> getNeuronModelScripts​(String neuronModel,
                                                              boolean useFlattenedModels)
                                                       throws org.lemsml.jlems.core.sim.ContentError,
                                                              org.lemsml.jlems.core.expression.ParseError,
                                                              org.lemsml.jlems.core.run.ConnectionError
        Throws:
        org.lemsml.jlems.core.sim.ContentError
        org.lemsml.jlems.core.expression.ParseError
        org.lemsml.jlems.core.run.ConnectionError
      • getNeuronModelScripts

        public Map<String,​String> getNeuronModelScripts​(String neuronModel,
                                                              boolean useFlattenedModels,
                                                              boolean useVirtualSynapses)
                                                       throws org.lemsml.jlems.core.sim.ContentError,
                                                              org.lemsml.jlems.core.expression.ParseError,
                                                              org.lemsml.jlems.core.run.ConnectionError
        Throws:
        org.lemsml.jlems.core.sim.ContentError
        org.lemsml.jlems.core.expression.ParseError
        org.lemsml.jlems.core.run.ConnectionError
      • getSimulationScript

        public String getSimulationScript​(VHDLWriter.ScriptType scriptType,
                                          String neuronName,
                                          boolean useVirtualSynapses)
                                   throws org.lemsml.jlems.core.sim.ContentError,
                                          org.lemsml.jlems.core.expression.ParseError
        Throws:
        org.lemsml.jlems.core.sim.ContentError
        org.lemsml.jlems.core.expression.ParseError
      • getSimulationScript

        public String getSimulationScript​(VHDLWriter.ScriptType scriptType,
                                          Map<String,​Float> initialState,
                                          String neuronName,
                                          boolean useVirtualSynapses)
                                   throws org.lemsml.jlems.core.sim.ContentError,
                                          org.lemsml.jlems.core.expression.ParseError
        Throws:
        org.lemsml.jlems.core.sim.ContentError
        org.lemsml.jlems.core.expression.ParseError
      • getPrjFile

        public String getPrjFile​(Set<String> files)
                          throws org.lemsml.jlems.core.sim.ContentError,
                                 org.lemsml.jlems.core.expression.ParseError
        Throws:
        org.lemsml.jlems.core.sim.ContentError
        org.lemsml.jlems.core.expression.ParseError
      • getVLLFile

        public String getVLLFile​(Set<String> files)
                          throws org.lemsml.jlems.core.sim.ContentError,
                                 org.lemsml.jlems.core.expression.ParseError
        Throws:
        org.lemsml.jlems.core.sim.ContentError
        org.lemsml.jlems.core.expression.ParseError
      • getTCLScript

        public String getTCLScript​(double simTime,
                                   double simTimeStep)
                            throws org.lemsml.jlems.core.sim.ContentError,
                                   org.lemsml.jlems.core.expression.ParseError
        Throws:
        org.lemsml.jlems.core.sim.ContentError
        org.lemsml.jlems.core.expression.ParseError
      • setSupportedFeatures

        public void setSupportedFeatures()