diff options
author | 2015-04-22 00:45:21 +0200 | |
---|---|---|
committer | 2015-04-22 00:45:21 +0200 | |
commit | 7fa10acca6551257163e1afd601059fed9333169 (patch) | |
tree | 300e89e8256db8ce40dcd9bf9283fd6d8dfd6539 /nl_examples | |
parent | b894ca83ad53a2e3d0516ae24334008757b9aa0f (diff) |
Added 74192, 9316, 9310 and 74193 devices to netlist. Added breakout
(wip) netlist as well, but still have to implement three more devices
until work can really start. [Couriersud]
Diffstat (limited to 'nl_examples')
-rw-r--r-- | nl_examples/breakout.c | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/nl_examples/breakout.c b/nl_examples/breakout.c index b7b95edd210..2c8d9f3ccae 100644 --- a/nl_examples/breakout.c +++ b/nl_examples/breakout.c @@ -1,3 +1,6 @@ + +#define NETLIST_DEVELOPMENT 1 + #include "netlist/nl_dice_compat.h" #include "netlist/devices/net_lib.h" #include "netlist/analog/nld_twoterm.h" @@ -75,9 +78,9 @@ CIRCUIT_LAYOUT( breakout ) //CHIP("Y1", CLOCK_14_318_MHZ) //Y1 - CHIP("C32", CAPACITOR, &c32_desc) - CHIP("C36", CAPACITOR, &c36_desc) - CHIP("C37", CAPACITOR, &c37_desc) + CHIP_CAPACITOR(C32, &c32_desc) + CHIP_CAPACITOR(C36, &c36_desc) + CHIP_CAPACITOR(C37, &c37_desc) CHIP("PAD_EN_BUF", BUFFER, &pad_en_buf_desc) CHIP("A3", 7474) @@ -87,7 +90,7 @@ CIRCUIT_LAYOUT( breakout ) CHIP_9602_Mono(A7, &a7_desc) CHIP_9602_Mono(A8, &a8_desc) - CHIP("B2", 555_Astable, &b2_555_desc) + CHIP_555_Astable(B2, &b2_555_desc) CHIP("B3", 7402) CHIP("B4", 9316) CHIP("B5", 74193) @@ -203,7 +206,7 @@ CIRCUIT_LAYOUT( breakout ) CHIP("PAD1", PADDLE1_HORIZONTAL_INPUT, &pad1_desc) PADDLE_CONNECTION("PAD1", "C9") - CHIP("LATCH", LATCH) + CHIP_LATCH(LATCH) CHIP("COIN1", COIN_INPUT) //CHIP("COIN2", COIN_INPUT) @@ -1454,6 +1457,5 @@ CIRCUIT_LAYOUT( breakout ) CONNECTION("LOG1", 16, "L3", 6)*/ //N #endif - CIRCUIT_LAYOUT_END -}; +CIRCUIT_LAYOUT_END |