Package org.lemsml.export.vhdl.writer
Class NeuronCoreTop
- java.lang.Object
-
- org.lemsml.export.vhdl.writer.NeuronCoreTop
-
public class NeuronCoreTop extends Object
-
-
Constructor Summary
Constructors Constructor Description NeuronCoreTop()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
writeConnectivityMapPar(EDComponent comp, StringBuilder sb, String name, String parentName, com.fasterxml.jackson.core.JsonGenerator g)
static void
writeConnectivityMapVar(EDComponent comp, StringBuilder sb, String name, String parentName, com.fasterxml.jackson.core.JsonGenerator g)
static void
writeNeuronCoreTop(EDSimulation sim, StringBuilder sb, com.fasterxml.jackson.core.JsonGenerator g, Map<String,Float> initialState, String neuronName)
static void
writeSignal(String name, int bottom, int top, int integer, int fractional, com.fasterxml.jackson.core.JsonGenerator g)
static void
writeStateSignals(EDComponent comp, StringBuilder sb, String name, String parentName)
static void
writeStateToBusSignals(EDComponent comp, StringBuilder sb, String name, String parentName, com.fasterxml.jackson.core.JsonGenerator g)
-
-
-
Method Detail
-
writeSignal
public static void writeSignal(String name, int bottom, int top, int integer, int fractional, com.fasterxml.jackson.core.JsonGenerator g) throws com.fasterxml.jackson.core.JsonGenerationException, IOException
- Throws:
com.fasterxml.jackson.core.JsonGenerationException
IOException
-
writeNeuronCoreTop
public static void writeNeuronCoreTop(EDSimulation sim, StringBuilder sb, com.fasterxml.jackson.core.JsonGenerator g, Map<String,Float> initialState, String neuronName) throws com.fasterxml.jackson.core.JsonGenerationException, IOException
- Throws:
com.fasterxml.jackson.core.JsonGenerationException
IOException
-
writeStateToBusSignals
public static void writeStateToBusSignals(EDComponent comp, StringBuilder sb, String name, String parentName, com.fasterxml.jackson.core.JsonGenerator g) throws com.fasterxml.jackson.core.JsonGenerationException, IOException
- Throws:
com.fasterxml.jackson.core.JsonGenerationException
IOException
-
writeStateSignals
public static void writeStateSignals(EDComponent comp, StringBuilder sb, String name, String parentName)
-
writeConnectivityMapVar
public static void writeConnectivityMapVar(EDComponent comp, StringBuilder sb, String name, String parentName, com.fasterxml.jackson.core.JsonGenerator g) throws com.fasterxml.jackson.core.JsonGenerationException, IOException
- Throws:
com.fasterxml.jackson.core.JsonGenerationException
IOException
-
writeConnectivityMapPar
public static void writeConnectivityMapPar(EDComponent comp, StringBuilder sb, String name, String parentName, com.fasterxml.jackson.core.JsonGenerator g) throws com.fasterxml.jackson.core.JsonGenerationException, IOException
- Throws:
com.fasterxml.jackson.core.JsonGenerationException
IOException
-
-