Rev 467 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 467 | Rev 511 | ||
|---|---|---|---|
| Line 1... | Line 1... | ||
| 1 | // visualize ZX picture |
1 | // visualize ZX picture |
| 2 | // |
2 | // |
| 3 | // here we build picture and send it sometimes to C program |
3 | // here we build picture and send it sometimes to C program |
| 4 | 4 | ||
| - | 5 | `ifndef NO_PIXER |
|
| 5 | module pixer |
6 | module pixer |
| 6 | ( |
7 | ( |
| 7 | input wire clk, |
8 | input wire clk, |
| 8 | 9 | ||
| 9 | input wire vsync, |
10 | input wire vsync, |
| Line 114... | Line 115... | ||
| 114 | end |
115 | end |
| 115 | 116 | ||
| 116 | 117 | ||
| 117 | 118 | ||
| 118 | 119 | ||
| 119 | - | ||
| 120 | import "DPI-C" task sndpix |
120 | import "DPI-C" task sndpix |
| 121 | ( |
121 | ( |
| 122 | input int hcoord, |
122 | input int hcoord, |
| 123 | input int vcoord, |
123 | input int vcoord, |
| 124 | input int rrggbb, |
124 | input int rrggbb, |
| Line 126... | Line 126... | ||
| 126 | input int vperiod |
126 | input int vperiod |
| 127 | ); |
127 | ); |
| 128 | 128 | ||
| 129 | 129 | ||
| 130 | 130 | ||
| 131 | - | ||
| 132 | endmodule |
131 | endmodule |
| - | 132 | `endif |
|
| 133 | 133 | ||