88 lines
2.7 KiB
JSON
88 lines
2.7 KiB
JSON
var metadata = {
|
|
"circuitElementList" : [
|
|
"Input", "Output", "NotGate", "OrGate", "AndGate", "NorGate", "NandGate", "XorGate", "XnorGate", "SevenSegDisplay", "SixteenSegDisplay", "HexDisplay",
|
|
"Multiplexer", "BitSelector", "Splitter", "Power", "Ground", "ConstantVal", "ControlledInverter", "TriState", "Adder","TwoComplement", "Rom", "RAM", "EEPROM", "TflipFlop",
|
|
"JKflipFlop", "SRflipFlop", "DflipFlop", "TTY", "Keyboard", "Clock", "DigitalLed", "Stepper", "VariableLed", "RGBLed", "SquareRGBLed", "RGBLedMatrix", "Button", "Demultiplexer",
|
|
"Buffer", "SubCircuit", "Flag", "MSB", "LSB", "PriorityEncoder", "Tunnel", "ALU", "Decoder", "Random", "Counter", "Dlatch", "TB_Input", "TB_Output", "ForceGate",
|
|
],
|
|
|
|
"annotationList" : ["Text", "Rectangle", "Arrow"],
|
|
"inputList" : ["Random", "Dlatch", "JKflipFlop", "TflipFlop", "SRflipFlop", "DflipFlop", "Buffer", "Stepper", "Ground", "Power", "ConstantVal", "Input", "Clock", "Button", "Counter"],
|
|
"subCircuitInputList" : ["Random", "Dlatch", "JKflipFlop", "TflipFlop", "SRflipFlop", "DflipFlop", "Buffer", "Stepper", "Ground", "Power", "ConstantVal", "Clock", "Button", "Counter"],
|
|
"elementHierarchy": {
|
|
"Input":[
|
|
"Input",
|
|
"Button",
|
|
"Power",
|
|
"Ground",
|
|
"ConstantVal",
|
|
"Stepper",
|
|
"Random",
|
|
"Counter"
|
|
],
|
|
"Output":[
|
|
"Output",
|
|
"RGBLed",
|
|
"DigitalLed",
|
|
"VariableLed",
|
|
"HexDisplay",
|
|
"SevenSegDisplay",
|
|
"SixteenSegDisplay",
|
|
"SquareRGBLed",
|
|
"RGBLedMatrix"
|
|
|
|
],
|
|
"Gates":[
|
|
"AndGate",
|
|
"OrGate",
|
|
"NotGate",
|
|
"XorGate",
|
|
"NandGate",
|
|
"NorGate",
|
|
"XnorGate"
|
|
],
|
|
"Decoders & Plexers":[
|
|
"Multiplexer",
|
|
"Demultiplexer",
|
|
"BitSelector",
|
|
"MSB",
|
|
"LSB",
|
|
"PriorityEncoder",
|
|
"Decoder"
|
|
],
|
|
"Sequential Elements":[
|
|
"DflipFlop",
|
|
"Dlatch",
|
|
"TflipFlop",
|
|
"JKflipFlop",
|
|
"SRflipFlop",
|
|
"TTY",
|
|
"Keyboard",
|
|
"Clock",
|
|
],
|
|
"Memory Elements":[
|
|
"Rom",
|
|
"RAM",
|
|
"EEPROM"
|
|
],
|
|
"Test Bench":[
|
|
"TB_Input",
|
|
"TB_Output",
|
|
"ForceGate"
|
|
],
|
|
"Misc":[
|
|
"Flag",
|
|
"Splitter",
|
|
"Adder",
|
|
"TriState",
|
|
"Buffer",
|
|
"ControlledInverter",
|
|
"ALU",
|
|
"Rectangle",
|
|
"Arrow",
|
|
"Text",
|
|
"Tunnel",
|
|
"TwoComplement"
|
|
]
|
|
}
|
|
}
|