.
1. Microcap 9.0.
2. , .
1. .
2. , .
1. .
2. .
.
Microcap Stimulus Generators (Component → Digital Primitives → Stimulus Generator).
Stimulus Generator :
Dclock .
Stim1 , .
Stim2 , .
Stim4 , .
Stim8 , .
Stim16 , .
Stim 0 1.
(. 1) .
1 "0" "1"
1. .
2. Stim1 (Component → Digital Primitives → Stimulus Generator → Stim1).
3. . .define _.
4. :
.define Switch
+0ns 0 ( 0 0)
+100ns 1 ( 100 1)
5. .
6. Transient-. 1. X (T). Y d(1) 1.
(. 2.) :
.define D1
+0ns 0 ( 0 0)
+100ns 1 ( 100 1)
+200ns 0 ( 200 0)
2
0, .
.define D1
+0ns 0 ( 0 0)
++100ns 1 ( 100 1)
++100ns 0 ( +100 0)
.
|
|
010101 (. 3) :
.define D01
+0ns 0
+label=start ( )
++100ns 1 ( 100 1)
++100ns 0 ( 100 0)
++100ns goto start 3 times ( )
3 (010101)
, :
.define D01
+0ns 0
+label=start ( )
++100ns 1 ( 100 1)
++100ns 0 ( 100 0)
++100ns goto start -1 times ( )