diff --git a/chip-z80/nodenames.js b/chip-z80/nodenames.js index 4a80e10..f304a4c 100644 --- a/chip-z80/nodenames.js +++ b/chip-z80/nodenames.js @@ -1,290 +1,5 @@ var nodenames ={ - - dp_dl: 82, - dl_dp: 165, - - load_ir: 1354, - - dlatch0: 123, - dlatch1: 195, - dlatch2: 414, - dlatch3: 930, - dlatch4: 1000, - dlatch5: 872, - dlatch6: 751, - dlatch7: 358, - - dl_d: 87, - d_dl: 133, - - dbus0: 138, - dbus1: 196, - dbus2: 412, - dbus3: 480, - dbus4: 485, - dbus5: 486, - dbus6: 380, - dbus7: 370, - - _instr0: 1350, - _instr1: 1360, - _instr2: 1366, - _instr6: 1370, - _instr7: 1375, - _instr3: 1380, - _instr4: 1388, - _instr5: 1395, - - instr0: 1348, - instr1: 1359, - instr2: 1365, - instr6: 1369, - instr7: 1374, - instr3: 1379, - instr4: 1387, - instr5: 1394, - - d_u: 546, - - ubus0: 545, // To low half of register file - ubus1: 528, - ubus2: 526, - ubus3: 770, - ubus4: 779, - ubus5: 790, - ubus6: 716, - ubus7: 525, - - u_v: 750, // enables pass transistors that link ubus and vbus - - vbus0: 755, // To high half of register file - vbus1: 772, - vbus2: 783, - vbus3: 796, - vbus4: 803, - vbus5: 808, - vbus6: 836, - vbus7: 839, - - rl_wr: 678, // write control - rh_wr: 652, // write control - - r_u: 692, // enable register bit lines 0..7 values onto the ubus - r_v: 693, // enable register bit lines 8..15 values onto the vbus - - regbit0: 702, // bit lines within the register array - regbit1: 732, - regbit2: 738, - regbit3: 775, - regbit4: 776, - regbit5: 807, - regbit6: 809, - regbit7: 864, - regbit8: 870, - regbit9: 902, - regbit10: 906, - regbit11: 934, - regbit12: 935, - regbit13: 970, - regbit14: 973, - regbit15: 999, - - r_x1: 608, // sone sort of register precharge, or inccrement control? - - r_p: 1785, // connects the register bit lines to the pc/ir/inc/dec bit lines - - pcbit0: 703, // bit lines within the PC/IR/INC/DEC bit lines - pcbit1: 731, - pcbit2: 739, - pcbit3: 774, - pcbit4: 777, - pcbit5: 806, - pcbit6: 810, - pcbit7: 863, - pcbit8: 871, - pcbit9: 901, - pcbit10: 907, - pcbit11: 933, - pcbit12: 936, - pcbit13: 969, - pcbit14: 974, - pcbit15: 998, - - alubus0: 837, // ALU bus lo nibble - alubus1: 889, - alubus2: 937, - alubus3: 983, - - alubus4: 852, // ALU bus hi nibble - alubus5: 903, - alubus6: 951, - alubus7: 995, - - alua0: 850, // ALU op 1 lo nibble - alua1: 899, - alua2: 947, - alua3: 993, - - alua4: 868, // ALU op 1 hi nibble - alua5: 920, - alua6: 968, - alua7: 1007, - - alub0: 845, // ALU op 2 lo nibble - alub1: 897, - alub2: 944, - alub3: 988, - - alub4: 867, // ALU op 2 hi nibble - alub5: 918, - alub6: 966, - alub7: 1005, - - aluout0: 2211, - aluout1: 2338, - aluout2: 2504, - aluout3: 816, - - alulat0: 865, - alulat1: 912, - alulat2: 960, - alulat3: 1002, - - pla0: 287, - pla1: 332, - pla2: 314, - pla3: 333, - // GND - pla4: 315, - pla5: 334, - pla6: 316, - pla7: 335, - pla8: 317, - pla9: 336, - // GND - pla10: 318, - pla11: 361, - pla12: 261, - pla13: 337, - pla14: 319, - // - pla15: 464, - pla16: 288, - // GND - pla17: 338, - pla18: 320, - pla19: 364, - // - pla20: 325, - // GND - pla21: 324, - pla22: 308, - // - pla23: 289, - // - pla24: 339, - pla25: 313, - // GND - pla26: 340, - pla27: 290, - // bit 3 - pla28: 341, - pla29: 291, - pla30: 342, - pla31: 292, - // GND - pla32: 365, - pla33: 293, - pla34: 362, - pla35: 294, - pla36: 331, - pla37: 293, - pla38: 343, - pla39: 296, - // GND - pla40: 297, - pla41: 298, - pla42: 344, - pla43: 299, - pla44: 269, - pla45: 300, - pla46: 237, - pla47: 301, - // GND - pla48: 345, - pla49: 302, - pla50: 346, - // bit /2 - // bit /1 - pla51: 264, - // GND - pla52: 266, - // - pla53: 347, - // bit /0 - pla54: 303, - pla55: 356, - pla56: 227, - pla57: 366, - // - pla58: 304, - pla59: 305, - // GND - // - // - // - pla60: 271, - pla61: 348, - // - pla62: 306, - pla63: 309, - // GND - // - pla64: 311, - pla65: 312, - pla66: 307, - pla67: 367, - pla68: 272, - pla69: 349, - pla70: 273, - pla71: 350, - // GND - pla72: 274, - pla73: 351, - pla74: 275, - pla75: 276, - pla76: 268, - pla77: 352, - // bit 4 - pla78: 277, - pla79: 278, - // GND - pla80: 279, - pla81: 280, - pla82: 368, - pla83: 281, - pla84: 282, - // bit 3 - pla85: 283, - pla86: 284, - // GND - pla87: 285, - pla88: 286, - pla89: 321, - pla90: 353, - pla91: 322, - pla92: 354, - pla93: 323, - pla94: 369, - // GND - pla95: 258, - pla96: 249, - pla97: 245, - pla98: 355, - - - - +// Pads vss: 1, vcc: 2, clk: 3, @@ -331,246 +46,476 @@ db6: 38, db7: 39, _halt: 40, _busak: 41, +// T-States t1: 115, t2: 137, t3: 144, t4: 166, t5: 134, t6: 168, +// Machine cycles m1: 155, m2: 173, m3: 163, m4: 159, m5: 209, m6: 210, -m6: 210, +// EXX latches ex_af: 631, ex_bcdehl: 1770, ex_dehl0: 625, ex_dehl1: 629, ex_dehl_combined: 626, +// Registers reg_a0: 2271, -reg_f0: 1854, -reg_b0: 2268, -reg_c0: 1851, -reg_d0: 2264, -reg_e0: 1847, -reg_h0: 2266, -reg_l0: 1849, -reg_w0: 2260, -reg_z0: 1843, -reg_pch0: 2258, -reg_pcl0: 1841, -reg_sph0: 2261, -reg_spl0: 1844, -reg_ixh0: 2263, -reg_ixl0: 1846, -reg_iyh0: 2262, -reg_iyl0: 1845, -reg_i0: 2259, -reg_r0: 1842, -reg_aa0: 2270, -reg_ff0: 1853, -reg_bb0: 2269, -reg_cc0: 1852, -reg_dd0: 2265, -reg_ee0: 1848, -reg_hh0: 2267, -reg_ll0: 1850, reg_a1: 2296, -reg_f1: 1881, -reg_b1: 2293, -reg_c1: 1878, -reg_d1: 2289, -reg_e1: 1874, -reg_h1: 2291, -reg_l1: 1876, -reg_w1: 2285, -reg_z1: 1870, -reg_pch1: 2283, -reg_pcl1: 1868, -reg_sph1: 2286, -reg_spl1: 1871, -reg_ixh1: 2288, -reg_ixl1: 1873, -reg_iyh1: 2287, -reg_iyl1: 1872, -reg_i1: 2284, -reg_r1: 1869, -reg_aa1: 2295, -reg_ff1: 1880, -reg_bb1: 2294, -reg_cc1: 1879, -reg_dd1: 2290, -reg_ee1: 1875, -reg_hh1: 2292, -reg_ll1: 1877, reg_a2: 2384, -reg_f2: 1958, -reg_b2: 2381, -reg_c2: 1955, -reg_d2: 2377, -reg_e2: 1951, -reg_h2: 2379, -reg_l2: 1953, -reg_w2: 2373, -reg_z2: 1947, -reg_pch2: 2371, -reg_pcl2: 1945, -reg_sph2: 2374, -reg_spl2: 1948, -reg_ixh2: 2376, -reg_ixl2: 1950, -reg_iyh2: 2375, -reg_iyl2: 1949, -reg_i2: 2372, -reg_r2: 1946, -reg_aa2: 2383, -reg_ff2: 1957, -reg_bb2: 2382, -reg_cc2: 1956, -reg_dd2: 2378, -reg_ee2: 1952, -reg_hh2: 2380, -reg_ll2: 1954, reg_a3: 2416, -reg_f3: 1986, -reg_b3: 2413, -reg_c3: 1983, -reg_d3: 2409, -reg_e3: 1979, -reg_h3: 2411, -reg_l3: 1981, -reg_w3: 2405, -reg_z3: 1975, -reg_pch3: 2403, -reg_pcl3: 1973, -reg_sph3: 2406, -reg_spl3: 1976, -reg_ixh3: 2408, -reg_ixl3: 1978, -reg_iyh3: 2407, -reg_iyl3: 1977, -reg_i3: 2404, -reg_r3: 1974, -reg_aa3: 2415, -reg_ff3: 1985, -reg_bb3: 2414, -reg_cc3: 1984, -reg_dd3: 2410, -reg_ee3: 1980, -reg_hh3: 2412, -reg_ll3: 1982, reg_a4: 2489, -reg_f4: 2058, -reg_b4: 2486, -reg_c4: 2055, -reg_d4: 2482, -reg_e4: 2051, -reg_h4: 2484, -reg_l4: 2053, -reg_w4: 2478, -reg_z4: 2047, -reg_pch4: 2476, -reg_pcl4: 2045, -reg_sph4: 2479, -reg_spl4: 2048, -reg_ixh4: 2481, -reg_ixl4: 2050, -reg_iyh4: 2480, -reg_iyl4: 2049, -reg_i4: 2477, -reg_r4: 2046, -reg_aa4: 2488, -reg_ff4: 2057, -reg_bb4: 2487, -reg_cc4: 2056, -reg_dd4: 2483, -reg_ee4: 2052, -reg_hh4: 2485, -reg_ll4: 2054, reg_a5: 2527, -reg_f5: 2082, -reg_b5: 2524, -reg_c5: 2079, -reg_d5: 2520, -reg_e5: 2075, -reg_h5: 2522, -reg_l5: 2077, -reg_w5: 2516, -reg_z5: 2071, -reg_pch5: 2514, -reg_pcl5: 2069, -reg_sph5: 2517, -reg_spl5: 2072, -reg_ixh5: 2519, -reg_ixl5: 2074, -reg_iyh5: 2518, -reg_iyl5: 2073, -reg_i5: 2515, -reg_r5: 2070, -reg_aa5: 2526, -reg_ff5: 2081, -reg_bb5: 2525, -reg_cc5: 2080, -reg_dd5: 2521, -reg_ee5: 2076, -reg_hh5: 2523, -reg_ll5: 2078, reg_a6: 2610, -reg_f6: 2155, -reg_b6: 2607, -reg_c6: 2152, -reg_d6: 2603, -reg_e6: 2148, -reg_h6: 2605, -reg_l6: 2150, -reg_w6: 2599, -reg_z6: 2144, -reg_pch6: 2597, -reg_pcl6: 2142, -reg_sph6: 2600, -reg_spl6: 2145, -reg_ixh6: 2602, -reg_ixl6: 2147, -reg_iyh6: 2601, -reg_iyl6: 2146, -reg_i6: 2598, -reg_r6: 2143, -reg_aa6: 2609, -reg_ff6: 2154, -reg_bb6: 2608, -reg_cc6: 2153, -reg_dd6: 2604, -reg_ee6: 2149, -reg_hh6: 2606, -reg_ll6: 2151, reg_a7: 2633, +reg_f0: 1854, +reg_f1: 1881, +reg_f2: 1958, +reg_f3: 1986, +reg_f4: 2058, +reg_f5: 2082, +reg_f6: 2155, reg_f7: 2179, +reg_b0: 2268, +reg_b1: 2293, +reg_b2: 2381, +reg_b3: 2413, +reg_b4: 2486, +reg_b5: 2524, +reg_b6: 2607, reg_b7: 2630, +reg_c0: 1851, +reg_c1: 1878, +reg_c2: 1955, +reg_c3: 1983, +reg_c4: 2055, +reg_c5: 2079, +reg_c6: 2152, reg_c7: 2176, +reg_d0: 2264, +reg_d1: 2289, +reg_d2: 2377, +reg_d3: 2409, +reg_d4: 2482, +reg_d5: 2520, +reg_d6: 2603, reg_d7: 2626, +reg_e0: 1847, +reg_e1: 1874, +reg_e2: 1951, +reg_e3: 1979, +reg_e4: 2051, +reg_e5: 2075, +reg_e6: 2148, reg_e7: 2172, +reg_h0: 2266, +reg_h1: 2291, +reg_h2: 2379, +reg_h3: 2411, +reg_h4: 2484, +reg_h5: 2522, +reg_h6: 2605, reg_h7: 2628, +reg_l0: 1849, +reg_l1: 1876, +reg_l2: 1953, +reg_l3: 1981, +reg_l4: 2053, +reg_l5: 2077, +reg_l6: 2150, reg_l7: 2174, +reg_w0: 2260, +reg_w1: 2285, +reg_w2: 2373, +reg_w3: 2405, +reg_w4: 2478, +reg_w5: 2516, +reg_w6: 2599, reg_w7: 2622, +reg_z0: 1843, +reg_z1: 1870, +reg_z2: 1947, +reg_z3: 1975, +reg_z4: 2047, +reg_z5: 2071, +reg_z6: 2144, reg_z7: 2168, +reg_pch0: 2258, +reg_pch1: 2283, +reg_pch2: 2371, +reg_pch3: 2403, +reg_pch4: 2476, +reg_pch5: 2514, +reg_pch6: 2597, reg_pch7: 2620, +reg_pcl0: 1841, +reg_pcl1: 1868, +reg_pcl2: 1945, +reg_pcl3: 1973, +reg_pcl4: 2045, +reg_pcl5: 2069, +reg_pcl6: 2142, reg_pcl7: 2166, +reg_sph0: 2261, +reg_sph1: 2286, +reg_sph2: 2374, +reg_sph3: 2406, +reg_sph4: 2479, +reg_sph5: 2517, +reg_sph6: 2600, reg_sph7: 2623, +reg_spl0: 1844, +reg_spl1: 1871, +reg_spl2: 1948, +reg_spl3: 1976, +reg_spl4: 2048, +reg_spl5: 2072, +reg_spl6: 2145, reg_spl7: 2169, +reg_ixh0: 2263, +reg_ixh1: 2288, +reg_ixh2: 2376, +reg_ixh3: 2408, +reg_ixh4: 2481, +reg_ixh5: 2519, +reg_ixh6: 2602, reg_ixh7: 2625, +reg_ixl0: 1846, +reg_ixl1: 1873, +reg_ixl2: 1950, +reg_ixl3: 1978, +reg_ixl4: 2050, +reg_ixl5: 2074, +reg_ixl6: 2147, reg_ixl7: 2171, +reg_iyh0: 2262, +reg_iyh1: 2287, +reg_iyh2: 2375, +reg_iyh3: 2407, +reg_iyh4: 2480, +reg_iyh5: 2518, +reg_iyh6: 2601, reg_iyh7: 2624, +reg_iyl0: 1845, +reg_iyl1: 1872, +reg_iyl2: 1949, +reg_iyl3: 1977, +reg_iyl4: 2049, +reg_iyl5: 2073, +reg_iyl6: 2146, reg_iyl7: 2170, +reg_i0: 2259, +reg_i1: 2284, +reg_i2: 2372, +reg_i3: 2404, +reg_i4: 2477, +reg_i5: 2515, +reg_i6: 2598, reg_i7: 2621, +reg_r0: 1842, +reg_r1: 1869, +reg_r2: 1946, +reg_r3: 1974, +reg_r4: 2046, +reg_r5: 2070, +reg_r6: 2143, reg_r7: 2167, +reg_aa0: 2270, +reg_aa1: 2295, +reg_aa2: 2383, +reg_aa3: 2415, +reg_aa4: 2488, +reg_aa5: 2526, +reg_aa6: 2609, reg_aa7: 2632, +reg_ff0: 1853, +reg_ff1: 1880, +reg_ff2: 1957, +reg_ff3: 1985, +reg_ff4: 2057, +reg_ff5: 2081, +reg_ff6: 2154, reg_ff7: 2178, +reg_bb0: 2269, +reg_bb1: 2294, +reg_bb2: 2382, +reg_bb3: 2414, +reg_bb4: 2487, +reg_bb5: 2525, +reg_bb6: 2608, reg_bb7: 2631, +reg_cc0: 1852, +reg_cc1: 1879, +reg_cc2: 1956, +reg_cc3: 1984, +reg_cc4: 2056, +reg_cc5: 2080, +reg_cc6: 2153, reg_cc7: 2177, +reg_dd0: 2265, +reg_dd1: 2290, +reg_dd2: 2378, +reg_dd3: 2410, +reg_dd4: 2483, +reg_dd5: 2521, +reg_dd6: 2604, reg_dd7: 2627, +reg_ee0: 1848, +reg_ee1: 1875, +reg_ee2: 1952, +reg_ee3: 1980, +reg_ee4: 2052, +reg_ee5: 2076, +reg_ee6: 2149, reg_ee7: 2173, +reg_hh0: 2267, +reg_hh1: 2292, +reg_hh2: 2380, +reg_hh3: 2412, +reg_hh4: 2485, +reg_hh5: 2523, +reg_hh6: 2606, reg_hh7: 2629, +reg_ll0: 1850, +reg_ll1: 1877, +reg_ll2: 1954, +reg_ll3: 1982, +reg_ll4: 2054, +reg_ll5: 2078, +reg_ll6: 2151, reg_ll7: 2175, +// Data buses and control +dp_dl: 82, +dl_dp: 165, +load_ir: 1354, +dlatch0: 123, +dlatch1: 195, +dlatch2: 414, +dlatch3: 930, +dlatch4: 1000, +dlatch5: 872, +dlatch6: 751, +dlatch7: 358, +dl_d: 87, +d_dl: 133, +dbus0: 138, +dbus1: 196, +dbus2: 412, +dbus3: 480, +dbus4: 485, +dbus5: 486, +dbus6: 380, +dbus7: 370, +_instr0: 1350, +_instr1: 1360, +_instr2: 1366, +_instr3: 1380, +_instr4: 1388, +_instr5: 1395, +_instr6: 1370, +_instr7: 1375, +instr0: 1348, +instr1: 1359, +instr2: 1365, +instr3: 1379, +instr4: 1387, +instr5: 1394, +instr6: 1369, +instr7: 1374, +d_u: 546, +ubus0: 545, +ubus1: 528, +ubus2: 526, +ubus3: 770, +ubus4: 779, +ubus5: 790, +ubus6: 716, +ubus7: 525, +u_v: 750, +vbus0: 755, +vbus1: 772, +vbus2: 783, +vbus3: 796, +vbus4: 803, +vbus5: 808, +vbus6: 836, +vbus7: 839, +rl_wr: 678, +rh_wr: 652, +r_u: 692, +r_v: 693, +regbit0: 702, +regbit1: 732, +regbit2: 738, +regbit3: 775, +regbit4: 776, +regbit5: 807, +regbit6: 809, +regbit7: 864, +regbit8: 870, +regbit9: 902, +regbit10: 906, +regbit11: 934, +regbit12: 935, +regbit13: 970, +regbit14: 973, +regbit15: 999, +r_p: 1785, +r_x1: 608, +pcbit0: 703, +pcbit1: 731, +pcbit2: 739, +pcbit3: 774, +pcbit4: 777, +pcbit5: 806, +pcbit6: 810, +pcbit7: 863, +pcbit8: 871, +pcbit9: 901, +pcbit10: 907, +pcbit11: 933, +pcbit12: 936, +pcbit13: 969, +pcbit14: 974, +pcbit15: 998, +// ALU +alubus0: 837, +alubus1: 889, +alubus2: 937, +alubus3: 983, +alubus4: 852, +alubus5: 903, +alubus6: 951, +alubus7: 995, +alua0: 850, +alua1: 899, +alua2: 947, +alua3: 993, +alua4: 868, +alua5: 920, +alua6: 968, +alua7: 1007, +alub0: 845, +alub1: 897, +alub2: 944, +alub3: 988, +alub4: 867, +alub5: 918, +alub6: 966, +alub7: 1005, +aluout0: 2211, +aluout1: 2338, +aluout2: 2504, +aluout3: 816, +alulat0: 865, +alulat1: 912, +alulat2: 960, +alulat3: 1002, +// PLA +pla0: 287, +pla1: 332, +pla2: 314, +pla3: 333, +pla4: 315, +pla5: 334, +pla6: 316, +pla7: 335, +pla8: 317, +pla9: 336, +pla10: 318, +pla11: 361, +pla12: 261, +pla13: 337, +pla14: 319, +pla15: 464, +pla16: 288, +pla17: 338, +pla18: 320, +pla19: 364, +pla20: 325, +pla21: 324, +pla22: 308, +pla23: 289, +pla24: 339, +pla25: 313, +pla26: 340, +pla27: 290, +pla28: 341, +pla29: 291, +pla30: 342, +pla31: 292, +pla32: 365, +pla33: 293, +pla34: 362, +pla35: 294, +pla36: 331, +pla37: 293, +pla38: 343, +pla39: 296, +pla40: 297, +pla41: 298, +pla42: 344, +pla43: 299, +pla44: 269, +pla45: 300, +pla46: 237, +pla47: 301, +pla48: 345, +pla49: 302, +pla50: 346, +pla51: 264, +pla52: 266, +pla53: 347, +pla54: 303, +pla55: 356, +pla56: 227, +pla57: 366, +pla58: 304, +pla59: 305, +pla60: 271, +pla61: 348, +pla62: 306, +pla63: 309, +pla64: 311, +pla65: 312, +pla66: 307, +pla67: 367, +pla68: 272, +pla69: 349, +pla70: 273, +pla71: 350, +pla72: 274, +pla73: 351, +pla74: 275, +pla75: 276, +pla76: 268, +pla77: 352, +pla78: 277, +pla79: 278, +pla80: 279, +pla81: 280, +pla82: 368, +pla83: 281, +pla84: 282, +pla85: 283, +pla86: 284, +pla87: 285, +pla88: 286, +pla89: 321, +pla90: 353, +pla91: 322, +pla92: 354, +pla93: 323, +pla94: 369, +pla95: 258, +pla96: 249, +pla97: 245, +pla98: 355, }