summaryrefslogtreecommitdiff
path: root/Netlist/Flipflop_inv.cir
diff options
context:
space:
mode:
authorAmbikeshwar2016-05-25 14:21:10 +0530
committerAmbikeshwar2016-05-25 14:21:10 +0530
commit10ffe344f141a49496b85cc780ffe85d7f084219 (patch)
treefafeaaa6b9d3588632f9599f6f438e47340c199e /Netlist/Flipflop_inv.cir
parentb503d66fcc1e26be28b58cccf888e43f99d35ae2 (diff)
downloadNGHDL-Example-10ffe344f141a49496b85cc780ffe85d7f084219.tar.gz
NGHDL-Example-10ffe344f141a49496b85cc780ffe85d7f084219.tar.bz2
NGHDL-Example-10ffe344f141a49496b85cc780ffe85d7f084219.zip
Sample netlist addedHEADmaster
Diffstat (limited to 'Netlist/Flipflop_inv.cir')
-rw-r--r--Netlist/Flipflop_inv.cir41
1 files changed, 41 insertions, 0 deletions
diff --git a/Netlist/Flipflop_inv.cir b/Netlist/Flipflop_inv.cir
new file mode 100644
index 0000000..40c4092
--- /dev/null
+++ b/Netlist/Flipflop_inv.cir
@@ -0,0 +1,41 @@
+* analysis type *
+.tran 1ns 100ns 0ns
+
+*
+* input sources *
+*V1 100 0 DC 5
+
+*V2 200 0 PWL ( 0n 2.0 0.00000000005n 0 5n 0.0 5.00000000005n 2.0 10n 2.0 10.00000000005n 0.0 15n 0.0 15.00000000005n 2.0 20n 2 20.00000000005n 0.0 25n 0.0 25.00000000005n 2.0 30n 2.0 30.00000000005n 0.0 40n 0.0 40.00000000005n 2.0 50n 2.0 50.00000000005n 0.0 60n 0.0 60.00000000005n 2.0 70n 2.0 70.00000000005n 0.0 80n 0.0 80.00000000005n 2.0 90n 2.0 90.00000000005n 0.0 100n 0.0 100.00000000005n 2.0)
+
+*V3 300 0 DC 0
+
+V1 100 0 PULSE (2 0 0 .0000001ns 0.0000001ns 10ns 20ns)
+V2 200 0 PULSE (0 2 0 .0000001ns 0.0000001ns 20ns 40ns)
+V3 300 0 PULSE (2 0 0 .0000001ns 0.0000001ns 50ns 100ns)
+* resistors to ground *
+r1 100 0 1Meg
+r2 200 0 1Meg
+r3 300 0 1Meg
+
+rload1 400 0 1Meg
+
+*
+* adc_bridge blocks *
+aconverter1 [100 200 300] [1 2 3] adc_bridge1
+
+.model adc_bridge1 adc_bridge ( in_low =0.3 in_high =0.7
++ rise_delay =1.0e-12 fall_delay =1.0e-12)
+
+a3 [1] [2] [3] [4] ff
+
+a4 [4] [5] inv
+.model ff flipflop(instance_id = 13 rise_delay = 1.0e-12 fall_delay = 1.0e-12 stop_time= 90.0e-9)
+.model inv inverter(instance_id = 14 rise_delay = 1.0e-12 fall_delay = 1.0e-12 stop_time= 90.0e-9)
+* dac_bridge blocks *
+aconverter2 [4] [400] dac_bridge1
+
+.model dac_bridge1 dac_bridge( out_low=0.25 out_high=5.0
++out_undef=1.8 t_rise=0.5e-9 t_fall=0.5e-9)
+
+.end
+