plunker에 simcirjs 그 5
개요
plunker에서 simcirjs를 시도했습니다.
2bit 곱셈기를 만들어 보았다.
사진
샘플 코드
{
"width":800,
"height":400,
"showToolbox":true,
"toolbox":[
{"type":"In"},
{"type":"Out"},
{"type":"Joint"},
{"type":"DC"},
{"type":"LED"},
{"type":"PushOff"},
{"type":"PushOn"},
{"type":"Toggle"},
{"type":"BUF"},
{"type":"NOT"},
{"type":"AND"},
{"type":"NAND"},
{"type":"OR"},
{"type":"NOR"},
{"type":"XOR"},
{"type":"XNOR"},
{"type":"OSC","freq":1,"label":"OSC(1Hz)"},
{"type":"7seg"},
{"type":"16seg"},
{"type":"4bit7seg"},
{"type":"RotaryEncoder"},
{"type":"BusIn"},
{"type":"BusOut"},
{"type":"RS-FF"},
{"type":"JK-FF"},
{"type":"T-FF"},
{"type":"D-FF"},
{"type":"8bitCounter"},
{"type":"HalfAdder"},
{"type":"FullAdder"},
{"type":"4bitAdder"},
{"type":"2to4BinaryDecoder"},
{"type":"3to8BinaryDecoder"},
{"type":"4to16BinaryDecoder"},
{"type":"AltFullAdder"},
{"type":"Transmitter"},
{"type":"Delay"},
{"type":"NumSrc"},
{"type":"NumDsp"},
{"type":"DSO"}
],
"devices":[
{"type":"OSC","freq":1,"label":"OSC(1Hz)","id":"dev0","x":32,"y":152},
{"type":"8bitCounter","id":"dev1","x":96,"y":96,"label":"8bitCounter"},
{"type":"4bit7seg","id":"dev2","x":192,"y":104,"label":"4bit7seg"},
{"type":"4bit7seg","id":"dev3","x":192,"y":200,"label":"4bit7seg"},
{"type":"4bit7seg","id":"dev4","x":600,"y":96,"label":"4bit7seg"},
{"type":"HalfAdder","id":"dev5","x":512,"y":208,"label":"HalfAdder"},
{"type":"AND","id":"dev6","x":312,"y":40,"label":"AND"},
{"type":"AND","id":"dev7","x":312,"y":112,"label":"AND"},
{"type":"AND","id":"dev8","x":312,"y":184,"label":"AND"},
{"type":"AND","id":"dev9","x":312,"y":248,"label":"AND"},
{"type":"HalfAdder","id":"dev10","x":408,"y":208,"label":"HalfAdder"}
],
"connectors":[
{"from":"dev1.in0","to":"dev0.out0"},
{"from":"dev1.in1","to":"dev0.out0"},
{"from":"dev2.in0","to":"dev1.out0"},
{"from":"dev2.in1","to":"dev1.out1"},
{"from":"dev3.in0","to":"dev1.out2"},
{"from":"dev3.in1","to":"dev1.out3"},
{"from":"dev4.in0","to":"dev8.out0"},
{"from":"dev4.in1","to":"dev10.out0"},
{"from":"dev4.in2","to":"dev5.out0"},
{"from":"dev4.in3","to":"dev5.out1"},
{"from":"dev5.in0","to":"dev6.out0"},
{"from":"dev5.in1","to":"dev10.out1"},
{"from":"dev6.in0","to":"dev1.out1"},
{"from":"dev6.in1","to":"dev1.out3"},
{"from":"dev7.in0","to":"dev1.out0"},
{"from":"dev7.in1","to":"dev1.out3"},
{"from":"dev8.in0","to":"dev1.out0"},
{"from":"dev8.in1","to":"dev1.out2"},
{"from":"dev9.in0","to":"dev1.out1"},
{"from":"dev9.in1","to":"dev1.out2"},
{"from":"dev10.in0","to":"dev7.out0"},
{"from":"dev10.in1","to":"dev9.out0"}
]
}
아티팩트
이상.
Reference
이 문제에 관하여(plunker에 simcirjs 그 5), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
https://qiita.com/ohisama@github/items/6f7ffd12eabf689d72bb
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)
샘플 코드
{
"width":800,
"height":400,
"showToolbox":true,
"toolbox":[
{"type":"In"},
{"type":"Out"},
{"type":"Joint"},
{"type":"DC"},
{"type":"LED"},
{"type":"PushOff"},
{"type":"PushOn"},
{"type":"Toggle"},
{"type":"BUF"},
{"type":"NOT"},
{"type":"AND"},
{"type":"NAND"},
{"type":"OR"},
{"type":"NOR"},
{"type":"XOR"},
{"type":"XNOR"},
{"type":"OSC","freq":1,"label":"OSC(1Hz)"},
{"type":"7seg"},
{"type":"16seg"},
{"type":"4bit7seg"},
{"type":"RotaryEncoder"},
{"type":"BusIn"},
{"type":"BusOut"},
{"type":"RS-FF"},
{"type":"JK-FF"},
{"type":"T-FF"},
{"type":"D-FF"},
{"type":"8bitCounter"},
{"type":"HalfAdder"},
{"type":"FullAdder"},
{"type":"4bitAdder"},
{"type":"2to4BinaryDecoder"},
{"type":"3to8BinaryDecoder"},
{"type":"4to16BinaryDecoder"},
{"type":"AltFullAdder"},
{"type":"Transmitter"},
{"type":"Delay"},
{"type":"NumSrc"},
{"type":"NumDsp"},
{"type":"DSO"}
],
"devices":[
{"type":"OSC","freq":1,"label":"OSC(1Hz)","id":"dev0","x":32,"y":152},
{"type":"8bitCounter","id":"dev1","x":96,"y":96,"label":"8bitCounter"},
{"type":"4bit7seg","id":"dev2","x":192,"y":104,"label":"4bit7seg"},
{"type":"4bit7seg","id":"dev3","x":192,"y":200,"label":"4bit7seg"},
{"type":"4bit7seg","id":"dev4","x":600,"y":96,"label":"4bit7seg"},
{"type":"HalfAdder","id":"dev5","x":512,"y":208,"label":"HalfAdder"},
{"type":"AND","id":"dev6","x":312,"y":40,"label":"AND"},
{"type":"AND","id":"dev7","x":312,"y":112,"label":"AND"},
{"type":"AND","id":"dev8","x":312,"y":184,"label":"AND"},
{"type":"AND","id":"dev9","x":312,"y":248,"label":"AND"},
{"type":"HalfAdder","id":"dev10","x":408,"y":208,"label":"HalfAdder"}
],
"connectors":[
{"from":"dev1.in0","to":"dev0.out0"},
{"from":"dev1.in1","to":"dev0.out0"},
{"from":"dev2.in0","to":"dev1.out0"},
{"from":"dev2.in1","to":"dev1.out1"},
{"from":"dev3.in0","to":"dev1.out2"},
{"from":"dev3.in1","to":"dev1.out3"},
{"from":"dev4.in0","to":"dev8.out0"},
{"from":"dev4.in1","to":"dev10.out0"},
{"from":"dev4.in2","to":"dev5.out0"},
{"from":"dev4.in3","to":"dev5.out1"},
{"from":"dev5.in0","to":"dev6.out0"},
{"from":"dev5.in1","to":"dev10.out1"},
{"from":"dev6.in0","to":"dev1.out1"},
{"from":"dev6.in1","to":"dev1.out3"},
{"from":"dev7.in0","to":"dev1.out0"},
{"from":"dev7.in1","to":"dev1.out3"},
{"from":"dev8.in0","to":"dev1.out0"},
{"from":"dev8.in1","to":"dev1.out2"},
{"from":"dev9.in0","to":"dev1.out1"},
{"from":"dev9.in1","to":"dev1.out2"},
{"from":"dev10.in0","to":"dev7.out0"},
{"from":"dev10.in1","to":"dev9.out0"}
]
}
아티팩트
이상.
Reference
이 문제에 관하여(plunker에 simcirjs 그 5), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
https://qiita.com/ohisama@github/items/6f7ffd12eabf689d72bb
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)
{
"width":800,
"height":400,
"showToolbox":true,
"toolbox":[
{"type":"In"},
{"type":"Out"},
{"type":"Joint"},
{"type":"DC"},
{"type":"LED"},
{"type":"PushOff"},
{"type":"PushOn"},
{"type":"Toggle"},
{"type":"BUF"},
{"type":"NOT"},
{"type":"AND"},
{"type":"NAND"},
{"type":"OR"},
{"type":"NOR"},
{"type":"XOR"},
{"type":"XNOR"},
{"type":"OSC","freq":1,"label":"OSC(1Hz)"},
{"type":"7seg"},
{"type":"16seg"},
{"type":"4bit7seg"},
{"type":"RotaryEncoder"},
{"type":"BusIn"},
{"type":"BusOut"},
{"type":"RS-FF"},
{"type":"JK-FF"},
{"type":"T-FF"},
{"type":"D-FF"},
{"type":"8bitCounter"},
{"type":"HalfAdder"},
{"type":"FullAdder"},
{"type":"4bitAdder"},
{"type":"2to4BinaryDecoder"},
{"type":"3to8BinaryDecoder"},
{"type":"4to16BinaryDecoder"},
{"type":"AltFullAdder"},
{"type":"Transmitter"},
{"type":"Delay"},
{"type":"NumSrc"},
{"type":"NumDsp"},
{"type":"DSO"}
],
"devices":[
{"type":"OSC","freq":1,"label":"OSC(1Hz)","id":"dev0","x":32,"y":152},
{"type":"8bitCounter","id":"dev1","x":96,"y":96,"label":"8bitCounter"},
{"type":"4bit7seg","id":"dev2","x":192,"y":104,"label":"4bit7seg"},
{"type":"4bit7seg","id":"dev3","x":192,"y":200,"label":"4bit7seg"},
{"type":"4bit7seg","id":"dev4","x":600,"y":96,"label":"4bit7seg"},
{"type":"HalfAdder","id":"dev5","x":512,"y":208,"label":"HalfAdder"},
{"type":"AND","id":"dev6","x":312,"y":40,"label":"AND"},
{"type":"AND","id":"dev7","x":312,"y":112,"label":"AND"},
{"type":"AND","id":"dev8","x":312,"y":184,"label":"AND"},
{"type":"AND","id":"dev9","x":312,"y":248,"label":"AND"},
{"type":"HalfAdder","id":"dev10","x":408,"y":208,"label":"HalfAdder"}
],
"connectors":[
{"from":"dev1.in0","to":"dev0.out0"},
{"from":"dev1.in1","to":"dev0.out0"},
{"from":"dev2.in0","to":"dev1.out0"},
{"from":"dev2.in1","to":"dev1.out1"},
{"from":"dev3.in0","to":"dev1.out2"},
{"from":"dev3.in1","to":"dev1.out3"},
{"from":"dev4.in0","to":"dev8.out0"},
{"from":"dev4.in1","to":"dev10.out0"},
{"from":"dev4.in2","to":"dev5.out0"},
{"from":"dev4.in3","to":"dev5.out1"},
{"from":"dev5.in0","to":"dev6.out0"},
{"from":"dev5.in1","to":"dev10.out1"},
{"from":"dev6.in0","to":"dev1.out1"},
{"from":"dev6.in1","to":"dev1.out3"},
{"from":"dev7.in0","to":"dev1.out0"},
{"from":"dev7.in1","to":"dev1.out3"},
{"from":"dev8.in0","to":"dev1.out0"},
{"from":"dev8.in1","to":"dev1.out2"},
{"from":"dev9.in0","to":"dev1.out1"},
{"from":"dev9.in1","to":"dev1.out2"},
{"from":"dev10.in0","to":"dev7.out0"},
{"from":"dev10.in1","to":"dev9.out0"}
]
}
이상.
Reference
이 문제에 관하여(plunker에 simcirjs 그 5), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/ohisama@github/items/6f7ffd12eabf689d72bb텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)