-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathlab1.html
executable file
·40 lines (39 loc) · 32.9 KB
/
lab1.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE html>
<html>
<head>
<link type="text/css" href="jade.css" rel="Stylesheet"/>
<script type="text/javascript" src="jquery-3.2.1.min.js"></script>
<script src="jade.min.js"></script>
</head>
<body>
<div class="jade">
{ "hierarchical": "true",
"parts": ["/analog/[np]fet","/lab1/.*","/user/.*"],
"tools": ["check"],
"editors": ["schematic","test"],
"edit": "/lab1/fa",
"initial_state": {
"/lab1/nand2":{"properties":{"name":{"edit":"yes","choices":[""],"type":"name","value":"","label":"Name"},"tcd":{"edit":"no","choices":[""],"type":"number","value":"10p","label":"Contamination delay (s)"},"tpd":{"edit":"no","choices":[""],"type":"number","value":"30p","label":"Propagation delay (s)"},"tr":{"edit":"no","choices":[""],"type":"number","value":"4500","label":"Output rise time (s/F)"},"tf":{"edit":"no","choices":[""],"type":"number","value":"2800","label":"Output fall time (s/F)"},"cin":{"edit":"no","choices":[""],"type":"number","value":"0.004p","label":"Input capacitance (F)"},"size":{"edit":"no","choices":[""],"type":"number","value":"10","label":"Size (μ²)"},"test-readonly":{"label":"Test readonly","type":"string","value":"true","edit":"yes","choices":[""]}},"test":[["test",".power Vdd=1\n.thresholds Vol=0 Vil=0.1 Vih=0.9 Voh=1\n\n.group inputs A B\n.group outputs Z\n\n.cycle assert inputs tran 9n sample outputs tran 1n\n00 H\n01 H\n10 H\n11 L\n\n.plot A\n.plot B\n.plot Z\n"]],"schematic":[["port",[-24,16,0],{"signal":"A"}],["port",[-24,48,0],{"signal":"B"}],["port",[40,32,4],{"direction":"out","signal":"Z"}]],"icon":[["terminal",[0,0,0],{"name":"A"}],["terminal",[0,16,0],{"name":"B"}],["terminal",[48,8,4],{"name":"Z"}],["line",[8,-4,0,0,24]],["arc",[20,-4,0,16,12,15,9]],["arc",[20,20,6,16,12,15,9]],["line",[8,-4,0,12,0]],["line",[8,20,0,12,0]],["circle",[38,8,0,2]],["property",[33,15,0],{"align":"top-left","format":"{name}"}]]},
"/lab1/inverter":{"properties":{"name":{"edit":"yes","choices":[""],"type":"name","value":"","label":"Name"},"tcd":{"edit":"no","choices":[""],"type":"number","value":"5p","label":"Contamination delay (s)"},"tpd":{"edit":"no","choices":[""],"type":"number","value":"20p","label":"Propagation delay (s)"},"tr":{"edit":"no","choices":[""],"type":"number","value":"2300","label":"Output rise time (s/F)"},"tf":{"edit":"no","choices":[""],"type":"number","value":"1200","label":"Output fall time (s/F)"},"cin":{"edit":"no","choices":[""],"type":"number","value":"0.007p","label":"Input capacitance (F)"},"size":{"edit":"no","choices":[""],"type":"number","value":"10","label":"Size (μ²)"},"test-readonly":{"label":"Test readonly","type":"string","value":"true","edit":"yes","choices":[""]}},"test":[["test",".power Vdd=1\n.thresholds Vol=0 Vil=0.1 Vih=0.9 Voh=1\n\n.group inputs A\n.group outputs Z\n\n.cycle assert inputs tran 9n sample outputs tran 1n\n0 H\n1 L\n\n\n.plot A\n.plot Z\n"]],"schematic":[["/analog/pfet",[0,-32,0],{"W":"16"}],["/analog/nfet",[0,0,0],{"W":"4"}],["vdd",[0,-32,0]],["ground",[0,32,0]],["port",[-24,0,0],{"signal":"A"}],["wire",[-24,-16,0,0,16]],["wire",[-24,16,0,0,-16]],["port",[0,0,4],{"direction":"out","signal":"Z"}]],"icon":[["terminal",[0,0,0],{"name":"A"}],["terminal",[32,0,4],{"line":"no","name":"Z"}],["line",[8,-8,0,0,16]],["line",[8,8,0,16,-8]],["line",[24,0,0,-16,-8]],["property",[16,4,0],{"align":"top-left","format":"{name}"}],["circle",[26,0,0,2]],["line",[32,0,0,-4,0]]]},
"/lab1/and2":{"properties":{"name":{"edit":"yes","choices":[""],"type":"name","value":"","label":"Name"},"tcd":{"edit":"no","choices":[""],"type":"number","value":"30p","label":"Contamination delay (s)"},"tpd":{"edit":"no","choices":[""],"type":"number","value":"120p","label":"Propagation delay (s)"},"tr":{"edit":"no","choices":[""],"type":"number","value":"4500","label":"Output rise time (s/F)"},"tf":{"edit":"no","choices":[""],"type":"number","value":"2300","label":"Output fall time (s/F)"},"cin":{"edit":"no","choices":[""],"type":"number","value":"0.002p","label":"Input capacitance (F)"},"size":{"edit":"no","choices":[""],"type":"number","value":"13","label":"Size (μ²)"},"test-readonly":{"label":"Test readonly","type":"string","value":"true","edit":"yes","choices":[""]}},"test":[["test",".power Vdd=1\n.thresholds Vol=0 Vil=0.1 Vih=0.9 Voh=1\n\n.group inputs A B\n.group outputs Z\n\n.cycle assert inputs tran 9n sample outputs tran 1n\n00 L\n01 L\n10 L\n11 H\n\n.plot A\n.plot B\n.plot Z\n"]],"schematic":[["port",[-48,-8,0],{"signal":"A"}],["port",[-48,8,0],{"signal":"B"}],["port",[32,0,4],{"direction":"out","signal":"Z"}],["/lab1/nand2",[-48,-8,0]],["/lab1/inverter",[0,0,0]]],"icon":[["terminal",[0,0,0],{"name":"A"}],["terminal",[0,16,0],{"name":"B"}],["terminal",[48,8,4],{"name":"Z"}],["line",[8,-4,0,0,24]],["arc",[20,-4,0,16,12,15,9]],["arc",[20,20,6,16,12,15,9]],["line",[8,-4,0,12,0]],["line",[8,20,0,12,0]],["property",[33,15,0],{"align":"top-left","format":"{name}"}],["line",[40,8,0,-4,0]]]},
"/lab1/nand3":{"properties":{"name":{"edit":"yes","choices":[""],"type":"name","value":"","label":"Name"},"tcd":{"edit":"no","choices":[""],"type":"number","value":"10p","label":"Contamination delay (s)"},"tpd":{"edit":"no","choices":[""],"type":"number","value":"50p","label":"Propagation delay (s)"},"tr":{"edit":"no","choices":[""],"type":"number","value":"4200","label":"Output rise time (s/F)"},"tf":{"edit":"no","choices":[""],"type":"number","value":"3000","label":"Output fall time (s/F)"},"cin":{"edit":"no","choices":[""],"type":"number","value":"0.005p","label":"Input capacitance (F)"},"size":{"edit":"no","choices":[""],"type":"number","value":"13","label":"Size (μ²)"},"test-readonly":{"label":"Test readonly","type":"string","value":"true","edit":"yes","choices":[""]}},"test":[["test",".power Vdd=1\n.thresholds Vol=0 Vil=0.1 Vih=0.9 Voh=1\n\n.group inputs A B C\n.group outputs Z\n\n.cycle assert inputs tran 9n sample outputs tran 1n\n000 H\n001 H\n010 H\n011 H\n100 H\n101 H\n110 H\n111 L\n\n.plot A\n.plot B\n.plot C\n.plot Z\n"]],"schematic":[["port",[-32,-8,0],{"signal":"A"}],["port",[-32,24,0],{"signal":"B"}],["port",[56,24,4],{"direction":"out","signal":"Z"}],["port",[-32,56,0],{"signal":"C"}]],"icon":[["terminal",[0,0,0],{"name":"A"}],["terminal",[0,16,0],{"name":"B"}],["terminal",[48,16,4],{"name":"Z"}],["arc",[20,4,0,16,12,15,9]],["arc",[20,28,6,16,12,15,9]],["line",[8,4,0,12,0]],["line",[8,28,0,12,0]],["circle",[38,16,0,2]],["property",[33,23,0],{"align":"top-left","format":"{name}"}],["terminal",[0,32,0],{"name":"C"}],["line",[8,-4,0,0,40]]]},
"/lab1/and3":{"properties":{"name":{"edit":"yes","choices":[""],"type":"name","value":"","label":"Name"},"tcd":{"edit":"no","choices":[""],"type":"number","value":"30p","label":"Contamination delay (s)"},"tpd":{"edit":"no","choices":[""],"type":"number","value":"150p","label":"Propagation delay (s)"},"tr":{"edit":"no","choices":[""],"type":"number","value":"4500","label":"Output rise time (s/F)"},"tf":{"edit":"no","choices":[""],"type":"number","value":"2600","label":"Output fall time (s/F)"},"cin":{"edit":"no","choices":[""],"type":"number","value":"0.002p","label":"Input capacitance (F)"},"size":{"edit":"no","choices":[""],"type":"number","value":"17","label":"Size (μ²)"},"test-readonly":{"label":"Test readonly","type":"string","value":"true","edit":"yes","choices":[""]}},"test":[["test",".power Vdd=1\n.thresholds Vol=0 Vil=0.1 Vih=0.9 Voh=1\n\n.group inputs A B C\n.group outputs Z\n\n.cycle assert inputs tran 9n sample outputs tran 1n\n000 L\n001 L\n010 L\n011 L\n100 L\n101 L\n110 L\n111 H\n\n.plot A\n.plot B\n.plot C\n.plot Z\n"]],"schematic":[["port",[-48,-16,0],{"signal":"A"}],["port",[-48,0,0],{"signal":"B"}],["port",[-48,16,0],{"signal":"C"}],["port",[32,0,4],{"direction":"out","signal":"Z"}],["/lab1/nand3",[-48,-16,0]],["/lab1/inverter",[0,0,0]]],"icon":[["terminal",[0,0,0],{"name":"A"}],["terminal",[0,16,0],{"name":"B"}],["terminal",[48,16,4],{"name":"Z"}],["arc",[20,4,0,16,12,15,9]],["arc",[20,28,6,16,12,15,9]],["line",[8,4,0,12,0]],["line",[8,28,0,12,0]],["property",[33,23,0],{"align":"top-left","format":"{name}"}],["terminal",[0,32,0],{"name":"C"}],["line",[8,-4,0,0,40]],["line",[40,16,0,-4,0]]]},
"/lab1/nand4":{"properties":{"name":{"edit":"yes","choices":[""],"type":"name","value":"","label":"Name"},"tcd":{"edit":"no","choices":[""],"type":"number","value":"10p","label":"Contamination delay (s)"},"tpd":{"edit":"no","choices":[""],"type":"number","value":"70p","label":"Propagation delay (s)"},"tr":{"edit":"no","choices":[""],"type":"number","value":"4400","label":"Output rise time (s/F)"},"tf":{"edit":"no","choices":[""],"type":"number","value":"3500","label":"Output fall time (s/F)"},"cin":{"edit":"no","choices":[""],"type":"number","value":"0.005p","label":"Input capacitance (F)"},"size":{"edit":"no","choices":[""],"type":"number","value":"17","label":"Size (μ²)"},"test-readonly":{"label":"Test readonly","type":"string","value":"true","edit":"yes","choices":[""]}},"test":[["test",".power Vdd=1\n.thresholds Vol=0 Vil=0.1 Vih=0.9 Voh=1\n\n.group inputs A B C D\n.group outputs Z\n\n.cycle assert inputs tran 9n sample outputs tran 1n\n0000 H\n0001 H\n0010 H\n0011 H\n0100 H\n0101 H\n0110 H\n0111 H\n1000 H\n1001 H\n1010 H\n1011 H\n1100 H\n1101 H\n1110 H\n1111 L\n\n.plot A\n.plot B\n.plot C\n.plot D\n.plot Z\n"]],"schematic":[["port",[-56,-16,0],{"signal":"A"}],["port",[-56,16,0],{"signal":"B"}],["port",[40,32,4],{"direction":"out","signal":"Z"}],["port",[-56,48,0],{"signal":"C"}],["port",[-56,80,0],{"signal":"D"}]],"icon":[["terminal",[0,0,0],{"name":"A"}],["terminal",[0,16,0],{"name":"B"}],["terminal",[48,24,4],{"name":"Z"}],["arc",[20,12,0,16,12,15,9]],["arc",[20,36,6,16,12,15,9]],["line",[8,12,0,12,0]],["line",[8,36,0,12,0]],["circle",[38,24,0,2]],["property",[33,31,0],{"align":"top-left","format":"{name}"}],["terminal",[0,32,0],{"name":"C"}],["terminal",[0,48,0],{"name":"D"}],["line",[8,-4,0,0,57]]]},
"/lab1/and4":{"properties":{"name":{"edit":"yes","choices":[""],"type":"name","value":"","label":"Name"},"tcd":{"edit":"no","choices":[""],"type":"number","value":"30p","label":"Contamination delay (s)"},"tpd":{"edit":"no","choices":[""],"type":"number","value":"160p","label":"Propagation delay (s)"},"tr":{"edit":"no","choices":[""],"type":"number","value":"4500","label":"Output rise time (s/F)"},"tf":{"edit":"no","choices":[""],"type":"number","value":"2800","label":"Output fall time (s/F)"},"cin":{"edit":"no","choices":[""],"type":"number","value":"0.002p","label":"Input capacitance (F)"},"size":{"edit":"no","choices":[""],"type":"number","value":"20","label":"Size (μ²)"},"test-readonly":{"label":"Test readonly","type":"string","value":"true","edit":"yes","choices":[""]}},"test":[["test",".power Vdd=1\n.thresholds Vol=0 Vil=0.1 Vih=0.9 Voh=1\n\n.group inputs A B C D\n.group outputs Z\n\n.cycle assert inputs tran 9n sample outputs tran 1n\n0000 L\n0001 L\n0010 L\n0011 L\n0100 L\n0101 L\n0110 L\n0111 L\n1000 L\n1001 L\n1010 L\n1011 L\n1100 L\n1101 L\n1110 L\n1111 H\n\n.plot A\n.plot B\n.plot C\n.plot D\n.plot Z\n"]],"schematic":[["port",[-48,-24,0],{"signal":"A"}],["port",[-48,-8,0],{"signal":"B"}],["port",[-48,8,0],{"signal":"C"}],["port",[-48,24,0],{"signal":"D"}],["port",[32,0,4],{"direction":"out","signal":"Z"}],["/lab1/nand4",[-48,-24,0]],["/lab1/inverter",[0,0,0]]],"icon":[["terminal",[0,0,0],{"name":"A"}],["terminal",[0,16,0],{"name":"B"}],["terminal",[48,24,4],{"name":"Z"}],["arc",[20,12,0,16,12,15,9]],["arc",[20,36,6,16,12,15,9]],["line",[8,12,0,12,0]],["line",[8,36,0,12,0]],["property",[33,31,0],{"align":"top-left","format":"{name}"}],["terminal",[0,32,0],{"name":"C"}],["terminal",[0,48,0],{"name":"D"}],["line",[8,-4,0,0,57]],["line",[40,24,0,-4,0]]]},
"/lab1/buffer":{"properties":{"name":{"edit":"yes","choices":[""],"type":"name","value":"","label":"Name"},"tcd":{"edit":"no","choices":[""],"type":"number","value":"20p","label":"Contamination delay (s)"},"tpd":{"edit":"no","choices":[""],"type":"number","value":"80p","label":"Propagation delay (s)"},"tr":{"edit":"no","choices":[""],"type":"number","value":"2200","label":"Output rise time (s/F)"},"tf":{"edit":"no","choices":[""],"type":"number","value":"1200","label":"Output fall time (s/F)"},"cin":{"edit":"no","choices":[""],"type":"number","value":"0.003p","label":"Input capacitance (F)"},"size":{"edit":"no","choices":[""],"type":"number","value":"13","label":"Size (μ²)"},"test-readonly":{"label":"Test readonly","type":"string","value":"true","edit":"yes","choices":[""]}},"test":[["test",".power Vdd=1\n.thresholds Vol=0 Vil=0.1 Vih=0.9 Voh=1\n\n.group inputs A\n.group outputs Z\n\n.cycle assert inputs tran 9n sample outputs tran 1n\n0 L\n1 H\n\n\n.plot A\n.plot Z\n"]],"schematic":[["/lab1/inverter",[-32,0,0]],["/lab1/inverter",[0,0,0]],["port",[-32,0,0],{"signal":"A"}],["port",[32,0,4],{"direction":"out","signal":"Z"}]],"icon":[["terminal",[0,0,0],{"name":"A"}],["terminal",[32,0,4],{"name":"Z"}],["line",[8,-8,0,0,16]],["line",[8,8,0,16,-8]],["line",[24,0,0,-16,-8]],["property",[16,4,0],{"align":"top-left","format":"{name}"}]]},
"/lab1/mux2":{"properties":{"name":{"edit":"yes","choices":[""],"type":"name","value":"","label":"Name"},"tcd":{"edit":"no","choices":[""],"type":"number","value":"20p","label":"Contamination delay (s)"},"tpd":{"edit":"no","choices":[""],"type":"number","value":"120p","label":"Propagation delay (s)"},"tr":{"edit":"no","choices":[""],"type":"number","value":"4500","label":"Output rise time (s/F)"},"tf":{"edit":"no","choices":[""],"type":"number","value":"2500","label":"Output fall time (s/F)"},"cin":{"edit":"no","choices":[""],"type":"number","value":"0.005p","label":"Input capacitance (F)"},"size":{"edit":"no","choices":[""],"type":"number","value":"27","label":"Size (μ²)"},"test-readonly":{"label":"Test readonly","type":"string","value":"true","edit":"yes","choices":[""]}},"test":[["test",".power Vdd=1\n.thresholds Vol=0 Vil=0.1 Vih=0.9 Voh=1\n\n.group inputs D0 D1 S\n.group outputs Y\n\n.cycle assert inputs tran 9n sample outputs tran 1n\n000 L\n001 L\n010 L\n011 H\n100 H\n101 L\n110 H\n111 H\n\n.plot D0 D1 S\n.plot Y\n"]],"schematic":[["wire",[-8,-24,0,0,8]],["wire",[-8,0,0,0,8]],["port",[-56,-32,0],{"signal":"D0"}],["port",[-56,0,0],{"signal":"D1"}],["port",[-56,40,0],{"signal":"S"}],["port",[40,-8,4],{"direction":"out","signal":"Y"}],["wire",[-56,16,0,-8,0],{"signal":"S"}],["wire",[-56,-16,0,-8,0],{"signal":"SN"}],["wire",[-16,40,0,-8,0],{"signal":"SN"}],["/lab1/nand2",[-56,-32,0]],["/lab1/nand2",[-56,0,0]],["/lab1/nand2",[-8,-16,0]],["/lab1/inverter",[-56,40,0]]],"icon":[["terminal",[0,0,0],{"name":"D1","line":"no"}],["terminal",[0,16,0],{"name":"D0","line":"no"}],["terminal",[8,32,5],{"name":"S"}],["line",[4,-8,0,0,32]],["line",[12,0,0,0,16]],["terminal",[16,8,4],{"name":"Y","line":"no"}],["text",[5,0,0],{"text":"1","font":"4pt sans-serif"}],["text",[5,16,0],{"text":"0","font":"4pt sans-serif"}],["line",[4,-8,0,8,8]],["line",[0,16,0,4,0]],["line",[0,0,0,4,0]],["line",[12,8,0,4,0]],["line",[4,24,0,8,-8]],["line",[8,24,0,0,-4]],["property",[12,20,0],{"align":"top-left","format":"{name}"}]]},
"/lab1/mux4":{"properties":{"name":{"edit":"yes","choices":[""],"type":"name","value":"","label":"Name"},"tcd":{"edit":"no","choices":[""],"type":"number","value":"40p","label":"Contamination delay (s)"},"tpd":{"edit":"no","choices":[""],"type":"number","value":"190p","label":"Propagation delay (s)"},"tr":{"edit":"no","choices":[""],"type":"number","value":"4500","label":"Output rise time (s/F)"},"tf":{"edit":"no","choices":[""],"type":"number","value":"2500","label":"Output fall time (s/F)"},"cin":{"edit":"no","choices":[""],"type":"number","value":"0.006p","label":"Input capacitance (F)"},"size":{"edit":"no","choices":[""],"type":"number","value":"66","label":"Size (μ²)"},"test-readonly":{"label":"Test readonly","type":"string","value":"true","edit":"yes","choices":[""]}},"test":[["test",".power Vdd=1\n.thresholds Vol=0 Vil=0.1 Vih=0.9 Voh=1\n\n.group inputs D0 D1 D2 D3 S[1] S[0]\n.group outputs Y\n\n.cycle assert inputs tran 9n sample outputs tran 1n\n000000 L\n000001 L\n000010 L\n000011 L\n000100 L\n000101 L\n000110 L\n000111 H\n\n001000 L\n001001 L\n001010 H\n001011 L\n001100 L\n001101 L\n001110 H\n001111 H\n\n010000 L\n010001 H\n010010 L\n010011 L\n010100 L\n010101 H\n010110 L\n010111 H\n\n011000 L\n011001 H\n011010 H\n011011 L\n011100 L\n011101 H\n011110 H\n011111 H\n\n100000 H\n100001 L\n100010 L\n100011 L\n100100 H\n100101 L\n100110 L\n100111 H\n\n101000 H\n101001 L\n101010 H\n101011 L\n101100 H\n101101 L\n101110 H\n101111 H\n\n110000 H\n110001 H\n110010 L\n110011 L\n110100 H\n110101 H\n110110 L\n110111 H\n\n111000 H\n111001 H\n111010 H\n111011 L\n111100 H\n111101 H\n111110 H\n111111 H\n\n.plot D0 D1 D2 D3 S[1] S[0]\n.plot Y\n"]],"schematic":[["wire",[0,8,0,0,16]],["wire",[0,24,0,16,0]],["wire",[0,56,0,0,-16]],["wire",[0,40,0,16,0]],["wire",[16,8,0,0,-48]],["wire",[16,-40,0,-16,0]],["wire",[16,56,0,0,48]],["wire",[16,104,0,-16,0]],["port",[-48,-56,0],{"signal":"D0"}],["port",[-48,-8,0],{"signal":"D1"}],["port",[-48,40,0],{"signal":"D2"}],["port",[-48,88,0],{"signal":"D3"}],["port",[-48,136,0],{"signal":"S[1:0]"}],["port",[64,32,4],{"direction":"out","signal":"Y"}],["wire",[-48,-40,0,-8,0],{"signal":"SN[0]"}],["wire",[-16,136,0,8,0],{"signal":"SN[1:0]"}],["wire",[-48,-24,0,-8,0],{"signal":"SN[1]"}],["wire",[-48,120,0,-8,0],{"signal":"S[1]"}],["wire",[-48,104,0,-8,0],{"signal":"S[0]"}],["wire",[-48,56,0,-8,0],{"signal":"SN[0]"}],["wire",[-48,72,0,-8,0],{"signal":"S[1]"}],["wire",[-48,24,0,-8,0],{"signal":"SN[1]"}],["wire",[-48,8,0,-8,0],{"signal":"S[0]"}],["/lab1/nand4",[16,8,0]],["/lab1/nand3",[-48,-56,0]],["/lab1/nand3",[-48,-8,0]],["/lab1/nand3",[-48,40,0]],["/lab1/nand3",[-48,88,0]],["/lab1/inverter",[-48,136,0]]],"icon":[["terminal",[0,0,0],{"name":"D3","line":"no"}],["terminal",[0,16,0],{"name":"D2","line":"no"}],["terminal",[8,64,5],{"name":"S[1:0]"}],["terminal",[16,24,4],{"name":"Y","line":"no"}],["text",[5,0,0],{"text":"3","font":"4pt sans-serif"}],["text",[5,16,0],{"text":"2","font":"4pt sans-serif"}],["terminal",[0,32,0],{"name":"D1","line":"no"}],["terminal",[0,48,0],{"name":"D0","line":"no"}],["line",[4,-8,0,0,64]],["text",[5,32,0],{"text":"1","font":"4pt sans-serif"}],["text",[5,48,0],{"text":"0","font":"4pt sans-serif"}],["line",[0,0,0,4,0]],["line",[0,16,0,4,0]],["line",[0,32,0,4,0]],["line",[0,48,0,4,0]],["line",[16,24,0,-4,0]],["line",[4,-8,0,8,8]],["line",[4,56,0,8,-8]],["line",[12,0,0,0,48]],["line",[8,56,0,0,-4]],["property",[12,52,0],{"align":"top-left","format":"{name}"}]]},
"/lab1/nor2":{"properties":{"name":{"edit":"yes","choices":[""],"type":"name","value":"","label":"Name"},"tcd":{"edit":"no","choices":[""],"type":"number","value":"10p","label":"Contamination delay (s)"},"tpd":{"edit":"no","choices":[""],"type":"number","value":"50p","label":"Propagation delay (s)"},"tr":{"edit":"no","choices":[""],"type":"number","value":"6700","label":"Output rise time (s/F)"},"tf":{"edit":"no","choices":[""],"type":"number","value":"2400","label":"Output fall time (s/F)"},"cin":{"edit":"no","choices":[""],"type":"number","value":"0.004p","label":"Input capacitance (F)"},"size":{"edit":"no","choices":[""],"type":"number","value":"10","label":"Size (μ²)"},"test-readonly":{"label":"Test readonly","type":"string","value":"true","edit":"yes","choices":[""]}},"test":[["test",".power Vdd=1\n.thresholds Vol=0 Vil=0.1 Vih=0.9 Voh=1\n\n.group inputs A B\n.group outputs Z\n\n.cycle assert inputs tran 9n sample outputs tran 1n\n00 H\n01 L\n10 L\n11 L\n\n.plot A\n.plot B\n.plot Z\n"]],"schematic":[["port",[-16,-16,0],{"signal":"A"}],["port",[-16,-48,0],{"signal":"B"}],["port",[40,-32,4],{"direction":"out","signal":"Z"}]],"icon":[["terminal",[0,0,0],{"name":"A"}],["terminal",[0,16,0],{"name":"B"}],["terminal",[48,8,4],{"name":"Z"}],["line",[8,20,0,8,0]],["line",[8,-4,0,8,0]],["arc",[16,-4,0,20,12,18,9]],["arc",[16,20,6,20,12,18,9]],["circle",[38,8,0,2.23606797749979]],["arc",[8,-4,0,0,24,3,12]],["line",[8,0,0,2,0]],["line",[8,16,0,2,0]],["property",[32,14,0],{"align":"top-left","format":"{name}"}]]},
"/lab1/nor3":{"properties":{"name":{"edit":"yes","choices":[""],"type":"name","value":"","label":"Name"},"tcd":{"edit":"no","choices":[""],"type":"number","value":"20p","label":"Contamination delay (s)"},"tpd":{"edit":"no","choices":[""],"type":"number","value":"80p","label":"Propagation delay (s)"},"tr":{"edit":"no","choices":[""],"type":"number","value":"8500","label":"Output rise time (s/F)"},"tf":{"edit":"no","choices":[""],"type":"number","value":"2400","label":"Output fall time (s/F)"},"cin":{"edit":"no","choices":[""],"type":"number","value":".005p","label":"Input capacitance (F)"},"size":{"edit":"no","choices":[""],"type":"number","value":"13","label":"Size (μ²)"},"test-readonly":{"label":"Test readonly","type":"string","value":"true","edit":"yes","choices":[""]}},"test":[["test",".power Vdd=1\n.thresholds Vol=0 Vil=0.1 Vih=0.9 Voh=1\n\n.group inputs A B C\n.group outputs Z\n\n.cycle assert inputs tran 9n sample outputs tran 1n\n000 H\n001 L\n010 L\n011 L\n100 L\n101 L\n110 L\n111 L\n\n.plot A\n.plot B\n.plot C\n.plot Z\n"]],"schematic":[["port",[-32,-8,0],{"signal":"A"}],["port",[-32,-40,0],{"signal":"B"}],["port",[40,-40,4],{"direction":"out","signal":"Z"}],["port",[-32,-72,0],{"signal":"C"}]],"icon":[["terminal",[0,0,0],{"name":"A"}],["terminal",[0,16,0],{"name":"B"}],["terminal",[48,16,4],{"name":"Z"}],["line",[8,28,0,8,0]],["line",[8,4,0,8,0]],["arc",[16,4,0,20,12,18,9]],["arc",[16,28,6,20,12,18,9]],["circle",[38,16,0,2.23606797749979]],["arc",[8,4,0,0,24,3,12]],["property",[32,22,0],{"align":"top-left","format":"{name}"}],["terminal",[0,32,0],{"name":"C"}],["arc",[8,-4,0,0,8,2,4]],["line",[8,0,0,2,0]],["line",[8,16,0,3,0]],["line",[8,32,0,2,0]],["arc",[8,28,0,0,8,2,5]]]},
"/lab1/nor4":{"properties":{"name":{"edit":"yes","choices":[""],"type":"name","value":"","label":"Name"},"tcd":{"edit":"no","choices":[""],"type":"number","value":"20p","label":"Contamination delay (s)"},"tpd":{"edit":"no","choices":[""],"type":"number","value":"120p","label":"Propagation delay (s)"},"tr":{"edit":"no","choices":[""],"type":"number","value":"9500","label":"Output rise time (s/F)"},"tf":{"edit":"no","choices":[""],"type":"number","value":"2400","label":"Output fall time (s/F)"},"cin":{"edit":"no","choices":[""],"type":"number","value":"0.005p","label":"Input capacitance (F)"},"size":{"edit":"no","choices":[""],"type":"number","value":"20","label":"Size (μ²)"},"test-readonly":{"label":"Test readonly","type":"string","value":"true","edit":"yes","choices":[""]}},"test":[["test",".power Vdd=1\n.thresholds Vol=0 Vil=0.1 Vih=0.9 Voh=1\n\n.group inputs A B C D\n.group outputs Z\n\n.cycle assert inputs tran 9n sample outputs tran 1n\n0000 H\n0001 L\n0010 L\n0011 L\n0100 L\n0101 L\n0110 L\n0111 L\n1000 L\n1001 L\n1010 L\n1011 L\n1100 L\n1101 L\n1110 L\n1111 L\n\n.plot A\n.plot B\n.plot C\n.plot D\n.plot Z\n"]],"schematic":[["port",[-48,8,0],{"signal":"A"}],["port",[-48,-24,0],{"signal":"B"}],["port",[16,-40,4],{"direction":"out","signal":"Z"}],["port",[-48,-56,0],{"signal":"C"}],["port",[-48,-88,0],{"signal":"D"}]],"icon":[["terminal",[0,0,0],{"name":"A"}],["terminal",[0,16,0],{"name":"B"}],["terminal",[48,24,4],{"name":"Z"}],["line",[8,36,0,8,0]],["line",[8,12,0,8,0]],["arc",[16,12,0,20,12,18,9]],["arc",[16,36,6,20,12,18,9]],["circle",[38,24,0,2.23606797749979]],["arc",[8,12,0,0,24,3,12]],["property",[32,30,0],{"align":"top-left","format":"{name}"}],["terminal",[0,32,0],{"name":"C"}],["terminal",[0,48,0],{"name":"D"}],["arc",[8,36,0,0,17,2,12]],["arc",[8,12,6,0,17,2,12]],["line",[8,0,0,2,0]],["line",[8,16,0,2,0]],["line",[8,32,0,2,0]],["line",[8,48,0,2,0]]]},
"/lab1/or2":{"properties":{"name":{"edit":"yes","choices":[""],"type":"string","value":"","label":"name"},"tcd":{"edit":"no","choices":[""],"type":"number","value":"30p","label":"Contamination delay (s)"},"tpd":{"edit":"no","choices":[""],"type":"number","value":"150p","label":"Propagation delay (s)"},"tr":{"edit":"no","choices":[""],"type":"number","value":"4500","label":"Output rise time (s/F)"},"tf":{"edit":"no","choices":[""],"type":"number","value":"2500","label":"Output fall time (s/F)"},"cin":{"edit":"no","choices":[""],"type":"number","value":"0.002p","label":"Input capacitance (F)"},"size":{"edit":"no","choices":[""],"type":"number","value":"13","label":"Size (μ²)"},"test-readonly":{"label":"Test readonly","type":"string","value":"true","edit":"yes","choices":[""]}},"test":[["test",".power Vdd=1\n.thresholds Vol=0 Vil=0.1 Vih=0.9 Voh=1\n\n.group inputs A B\n.group outputs Z\n\n.cycle assert inputs tran 9n sample outputs tran 1n\n00 L\n01 H\n10 H\n11 H\n\n.plot A\n.plot B\n.plot Z\n"]],"schematic":[["port",[-48,-8,0],{"signal":"A"}],["port",[-48,8,0],{"signal":"B"}],["port",[32,0,4],{"direction":"out","signal":"Z"}],["/lab1/nor2",[-48,-8,0]],["/lab1/inverter",[0,0,0]]],"icon":[["terminal",[0,0,0],{"name":"A"}],["terminal",[0,16,0],{"name":"B"}],["terminal",[48,8,4],{"name":"Z"}],["line",[8,20,0,8,0]],["line",[8,-4,0,8,0]],["arc",[16,-4,0,20,12,18,9]],["arc",[16,20,6,20,12,18,9]],["arc",[8,-4,0,0,24,3,12]],["line",[8,0,0,2,0]],["line",[8,16,0,2,0]],["property",[32,14,0],{"align":"top-left","format":"{name}"}],["line",[40,8,0,-4,0]]]},
"/lab1/or3":{"properties":{"name":{"edit":"yes","choices":[""],"type":"name","value":"","label":"Name"},"tcd":{"edit":"no","choices":[""],"type":"number","value":"40p","label":"Contamination delay (s)"},"tpd":{"edit":"no","choices":[""],"type":"number","value":"210p","label":"Propagation delay (s)"},"tr":{"edit":"no","choices":[""],"type":"number","value":"4500","label":"Output rise time (s/F)"},"tf":{"edit":"no","choices":[""],"type":"number","value":"2500","label":"Output fall time (s/F)"},"cin":{"edit":"no","choices":[""],"type":"number","value":"0.003p","label":"Input capacitance (F)"},"size":{"edit":"no","choices":[""],"type":"number","value":"17","label":"Size (μ²)"},"test-readonly":{"label":"Test readonly","type":"string","value":"true","edit":"yes","choices":[""]}},"test":[["test",".power Vdd=1\n.thresholds Vol=0 Vil=0.1 Vih=0.9 Voh=1\n\n.group inputs A B C\n.group outputs Z\n\n.cycle assert inputs tran 9n sample outputs tran 1n\n000 L\n001 H\n010 H\n011 H\n100 H\n101 H\n110 H\n111 H\n\n.plot A\n.plot B\n.plot C\n.plot Z\n"]],"schematic":[["port",[-48,-16,0],{"signal":"A"}],["port",[-48,0,0],{"signal":"B"}],["port",[-48,16,0],{"signal":"C"}],["port",[32,0,4],{"direction":"out","signal":"Z"}],["/lab1/nor3",[-48,-16,0]],["/lab1/inverter",[0,0,0]]],"icon":[["terminal",[0,0,0],{"name":"A"}],["terminal",[0,16,0],{"name":"B"}],["terminal",[48,16,4],{"name":"Z"}],["line",[8,28,0,8,0]],["line",[8,4,0,8,0]],["arc",[16,4,0,20,12,18,9]],["arc",[16,28,6,20,12,18,9]],["arc",[8,4,0,0,24,3,12]],["property",[32,22,0],{"align":"top-left","format":"{name}"}],["terminal",[0,32,0],{"name":"C"}],["arc",[8,-4,0,0,8,2,4]],["line",[8,0,0,2,0]],["line",[8,16,0,3,0]],["line",[8,32,0,2,0]],["arc",[8,28,0,0,8,2,5]],["line",[40,16,0,-4,0]]]},
"/lab1/or4":{"properties":{"name":{"edit":"yes","choices":[""],"type":"name","value":"","label":"Name"},"tcd":{"edit":"no","choices":[""],"type":"number","value":"60p","label":"Contamination delay (s)"},"tpd":{"edit":"no","choices":[""],"type":"number","value":"290p","label":"Propagation delay (s)"},"tr":{"edit":"no","choices":[""],"type":"number","value":"4500","label":"Output rise time (s/F)"},"tf":{"edit":"no","choices":[""],"type":"number","value":"2600","label":"Output fall time (s/F)"},"cin":{"edit":"no","choices":[""],"type":"number","value":".003p","label":"Input capacitance (F)"},"size":{"edit":"no","choices":[""],"type":"number","value":"20","label":"Size (μ²)"},"test-readonly":{"label":"Test readonly","type":"string","value":"true","edit":"yes","choices":[""]}},"test":[["test",".power Vdd=1\n.thresholds Vol=0 Vil=0.1 Vih=0.9 Voh=1\n\n.group inputs A B C D\n.group outputs Z\n\n.cycle assert inputs tran 9n sample outputs tran 1n\n0000 L\n0001 H\n0010 H\n0011 H\n0100 H\n0101 H\n0110 H\n0111 H\n1000 H\n1001 H\n1010 H\n1011 H\n1100 H\n1101 H\n1110 H\n1111 H\n\n.plot A\n.plot B\n.plot C\n.plot D\n.plot Z\n"]],"schematic":[["port",[-48,-24,0],{"signal":"A"}],["port",[-48,-8,0],{"signal":"B"}],["port",[-48,8,0],{"signal":"C"}],["port",[32,0,4],{"direction":"out","signal":"Z"}],["port",[-48,24,0],{"signal":"D"}],["/lab1/nor4",[-48,-24,0]],["/lab1/inverter",[0,0,0]]],"icon":[["terminal",[0,0,0],{"name":"A"}],["terminal",[0,16,0],{"name":"B"}],["terminal",[48,24,4],{"name":"Z"}],["line",[8,36,0,8,0]],["line",[8,12,0,8,0]],["arc",[16,12,0,20,12,18,9]],["arc",[16,36,6,20,12,18,9]],["arc",[8,12,0,0,24,3,12]],["property",[32,30,0],{"align":"top-left","format":"{name}"}],["terminal",[0,32,0],{"name":"C"}],["terminal",[0,48,0],{"name":"D"}],["arc",[8,36,0,0,17,2,12]],["arc",[8,12,6,0,17,2,12]],["line",[8,0,0,2,0]],["line",[8,16,0,2,0]],["line",[8,32,0,2,0]],["line",[8,48,0,2,0]],["line",[40,24,0,-4,0]]]},
"/lab1/xor2":{"properties":{"name":{"edit":"yes","choices":[""],"type":"name","value":"","label":"Name"},"tcd":{"edit":"no","choices":[""],"type":"number","value":"30p","label":"Contamination delay (s)"},"tpd":{"edit":"no","choices":[""],"type":"number","value":"140p","label":"Propagation delay (s)"},"tr":{"edit":"no","choices":[""],"type":"number","value":"4500","label":"Output rise time (s/F)"},"tf":{"edit":"no","choices":[""],"type":"number","value":"2500","label":"Output fall time (s/F)"},"cin":{"edit":"no","choices":[""],"type":"number","value":"0.006p","label":"Input capacitance (F)"},"size":{"edit":"no","choices":[""],"type":"number","value":"27","label":"Size (μ²)"},"test-readonly":{"label":"Test readonly","type":"string","value":"true","edit":"yes","choices":[""]}},"test":[["test",".power Vdd=1\n.thresholds Vol=0 Vil=0.1 Vih=0.9 Voh=1\n\n.group inputs A B\n.group outputs Z\n\n.cycle assert inputs tran 9n sample outputs tran 1n\n00 L\n01 H\n00 L\n10 H\n11 L\n\n.plot A\n.plot B\n.plot Z\n"]],"schematic":[["port",[-96,24,0],{"signal":"A"}],["port",[-96,40,0],{"signal":"B"}],["port",[-40,32,4],{"direction":"out","signal":"Z"}]],"icon":[["terminal",[0,0,0],{"line":"no","name":"A"}],["terminal",[0,16,0],{"line":"no","name":"B"}],["terminal",[48,8,4],{"name":"Z"}],["line",[8,20,0,8,0]],["line",[8,-4,0,8,0]],["arc",[16,-4,0,20,12,18,9]],["arc",[16,20,6,20,12,18,9]],["arc",[8,-4,0,0,24,3,12]],["property",[32,14,0],{"align":"top-left","format":"{name}"}],["arc",[5,-4,0,0,24,3,12]],["line",[0,0,0,7,0]],["line",[0,16,0,7,0]],["line",[40,8,0,-4,0]]]},
"/lab1/fa":{"properties":{"name":{"edit":"yes","type":"name","value":"","label":"Name"},"test-readonly":{"label":"Test readonly","type":"string","value":"true","edit":"yes","choices":[""]}},"schematic":[["port",[-72,-48,0],{"signal":"A"}],["port",[-72,-32,0],{"signal":"B"}],["port",[-72,-16,0],{"signal":"Cin"}],["port",[-8,-32,4],{"signal":"Cout","direction":"out"}],["port",[-8,-48,4],{"signal":"S","direction":"out"}]],"icon":[["terminal",[-24,-8,0],{"name":"A"}],["terminal",[-24,8,0],{"name":"B"}],["terminal",[0,32,3],{"name":"Cin"}],["terminal",[24,0,4],{"name":"S"}],["terminal",[0,-32,7],{"name":"Cout"}],["line",[16,-24,0,-32,0]],["line",[-16,24,0,32,0]],["text",[-15,-8,0],{"text":"A","font":"4pt sans-serif"}],["text",[-15,8,0],{"text":"B","font":"4pt sans-serif"}],["text",[15,0,0],{"text":"S","font":"4pt sans-serif","align":"center-right"}],["text",[0,-23,0],{"text":"Cout","font":"4pt sans-serif","align":"top-center"}],["text",[0,23,0],{"text":"Cin","font":"4pt sans-serif","align":"bottom-center"}],["text",[0,0,0],{"text":"FA","align":"center","font":"bold 6pt sans-serif"}],["line",[-16,-24,0,0,48]],["line",[16,-24,0,0,48]]],"test":[["test",".power Vdd=1\n.thresholds Vol=0 Vil=0.1 Vih=0.9 Voh=1\n\n.group inputs A B Cin\n.group outputs Cout S\n\n.cycle assert inputs tran 9n sample outputs tran 1n\n000 LL\n001 LH\n010 LH\n011 HL\n100 LH\n101 HL\n110 HL\n111 HH\n\n.plot A\n.plot B\n.plot Cin\n.plot Cout\n.plot S\n"]]},
"/lab1/adder3":{"properties":{"name":{"edit":"yes","type":"name","value":"","label":"Name"},"readonly":{"label":"Read only","type":"string","value":"true","edit":"yes","choices":[""]}},"schematic":[["/lab1/fa",[32,-8,7]],["/lab1/fa",[-32,-8,7]],["/lab1/fa",[-96,-8,7]],["wire",[40,-32,0,0,-8],{"signal":"B[0]"}],["wire",[24,-32,0,0,-8],{"signal":"A[0]"}],["wire",[-24,-32,0,0,-8],{"signal":"B[1]"}],["wire",[-40,-32,0,0,-8],{"signal":"A[1]"}],["wire",[-88,-32,0,0,-8],{"signal":"B[2]"}],["wire",[-104,-32,0,0,-8],{"signal":"A[2]"}],["wire",[-96,24,0,0,-8],{"signal":"S[2]"}],["wire",[-32,24,0,0,-8],{"signal":"S[1]"}],["wire",[32,24,0,0,-8],{"signal":"S[0]"}],["wire",[-128,24,0,0,-32],{"signal":"S[3]"}],["ground",[72,-8,0]],["wire",[72,-8,0,-8,0]]],"icon":[["terminal",[-32,-24,0],{"name":"A[2:0]"}],["terminal",[-32,-8,0],{"name":"B[2:0]"}],["terminal",[8,-16,4],{"name":"S[3:0]"}],["text",[-12,-16,0],{"text":"+","font":"12pt bold sans","align":"center"}],["line",[-24,-32,0,0,32]],["line",[-24,0,0,24,0]],["line",[0,0,0,0,-32]],["line",[0,-32,0,-24,0]]],"test":[["test",".power Vdd=1\n.thresholds Vol=0 Vil=0.1 Vih=0.9 Voh=1\n\n.group inputs A[2:0] B[2:0]\n.group outputs S[3:0]\n\n.cycle assert inputs tran 99n sample outputs tran 1n\n\n000 001 LLLH // 1: a=0, b=1, y=1\n001 000 LLLH // 2: a=1, b=0, y=1\n001 001 LLHL // 3: a=1, b=1, y=2\n010 010 LHLL // 4: a=2, b=2, y=4\n100 100 HLLL // 5: a=4, b=4, y=8\n000 000 LLLL // 6: a=0, b=0, y=0\n001 111 HLLL // 7: a=1, b=7, y=8\n111 001 HLLL // 8: a=7, b=1, y=8\n010 101 LHHH // 9: a=2, b=5, y=7\n101 010 LHHH // 10: a=5, b=2, y=7\n111 111 HHHL // 11: a=7, b=7, y=14\n\n.plot D(A[2:0])\n.plot D(B[2:0])\n.plot D(S[3:0])\n"]]}
}
}
</div>
</body>
</html>