improve commenting
[slipway.git] / src / com / atmel / fpslic / FpslicNetgraph.java
1 package com.atmel.fpslic;
2
3 /** a higher-level, lower-performance, write-only API */
4 public class FpslicNetgraph {
5     /*
6     public interface Net {
7     }
8
9     public interface Mux extends Net {
10     }
11
12     public interface PassGate {
13     }
14
15     public class Cell {
16         public Cell north() { return cell(col,row+1); }
17         public Cell south() { return cell(col,row-1); }
18         public Cell west()  { return cell(col-1,row); }
19         public Cell east()  { return cell(col+1,row); }
20         public Cell ne()    { return cell(col+1,row+1); }
21         public Cell se()    { return cell(col+1,row-1); }
22         public Cell nw()    { return cell(col-1,row+1); }
23         public Cell sw()    { return cell(col-1,row-1); }
24
25         public Net xi       = new XI(new Net[] { wire(0), wire(1), wire(2), wire(3), wire(4),
26                                                  nw().xo, ne().xo, sw().xo, se().xo
27                                                });
28         public Net yi       = new YI(new Net[] { wire(0), wire(1), wire(2), wire(3), wire(4),
29                                                  north().yo, south().yo, east().yo, west().yo
30                                                });
31         public Net wi       = new WI(new Net[] { wire(0), wire(1), wire(2), wire(3), wire(4) });
32         public Net zi       = new ZI(new Net[] { wire(0), wire(1), wire(2), wire(3), wire(4) });
33
34         public Net cmux     = new CMux();
35         public Net ylut     = new YLut();
36         public Net xlut     = new XLut();
37         public Net yo       = new Yo();
38         public Net xo       = new Xo();
39         public Net register = new Register();
40     }
41     */
42 }