OpenCores
URL https://opencores.org/ocsvn/cpu8080/cpu8080/trunk

Subversion Repositories cpu8080

[/] [cpu8080/] [trunk/] [project/] [cpu8080_html/] [fit/] [pins.js] - Blame information for rev 2

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 samiam9512
var specSig = new Array();
2
var pins = new Array();
3
var pinsAssign = new Array();
4
var prohibit = new Array();
5
var unusedStr = "WPU";
6
var gndStr = "GND";
7
var vccStr = "VCC";
8
var tdiStr = "TDI";
9
var tdoStr = "TDO";
10
var tmsStr = "TMS";
11
var tckStr = "TCK";
12
 
13
function showPin(pin) { parent.leftnav.showAppletPin(pin); }
14
 
15
function printPage() { window.print();  parent.leftnav.printAppletPkg(); }
16
 
17
function showEqn(signal) { parent.leftnav.showEqn(signal); }
18
 
19
function updatePin(type) {
20
  with (document.options) {
21
    switch (type) {
22
    case 0:
23
      if (inp.checked) parent.leftnav.document.options.inOn.value = 1;
24
      else             parent.leftnav.document.options.inOn.value = 0;
25
      break;
26
 
27
    case 1:
28
      if (out.checked) parent.leftnav.document.options.outOn.value = 1;
29
      else             parent.leftnav.document.options.outOn.value = 0;
30
      break;
31
 
32
    case 2:
33
      if (glb.checked) parent.leftnav.document.options.glbOn.value = 1;
34
      else             parent.leftnav.document.options.glbOn.value = 0;
35
      break;
36
 
37
    case 3:
38
      if (isp.checked) parent.leftnav.document.options.ispOn.value = 1;
39
      else             parent.leftnav.document.options.ispOn.value = 0;
40
      break;
41
 
42
    case 4:
43
      if (vcc.checked) parent.leftnav.document.options.vccOn.value = 1;
44
      else             parent.leftnav.document.options.vccOn.value = 0;
45
      break;
46
 
47
    case 5:
48
      if (gnd.checked) parent.leftnav.document.options.gndOn.value = 1;
49
      else             parent.leftnav.document.options.gndOn.value = 0;
50
      break;
51
 
52
    case 6:
53
      if (unuse.checked) parent.leftnav.document.options.unuseOn.value = 1;
54
      else               parent.leftnav.document.options.unuseOn.value = 0;
55
      break;
56
    }
57
  }
58
 
59
  parent.leftnav.showPinOut();
60
}
61
 
62
function showLegend(url) { parent.leftnav.showLegend(url, 650, 350); }

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.