VTG - video timing generator
Note: To work directly with timing values you must select the configuration "custom" otherwise the timing values will be overwritten after an update. All horizontal input values must be multiple of 8 to ensure non-fraction programming values and mind the maximum clock rate of your device! Transferdelay is based on a 5 cycle EMI of a 20 MHz Transputer.
The IMS G300 and IMS G332 color video controllers have a software configurable video timing generator. The calculation of the parameters is straightforward but tricky documented. Only non-interlaced video timing is currently implemented.
Setup
Timing values
| Pixel frequency | 25.000 | MHz | |||
| Resolution H | 640 | pixel | Resolution V | 480 | pixel |
| H-DISP | 25.600 | µs | V-DISP | 15.206 | ms |
| H-BL | 6.080 | µs | V-BL | 1.457 | ms |
| H-FP | 0.640 | µs | V-FP | 0.063 | ms |
| H-SYNC | 2.560 | µs | V-SYNC | 0.063 | ms |
| H-BP | 2.880 | µs | V-BP | 1.331 | ms |
| 1H | 31.680 | µs | 1V | 16.664 | ms |
| H frequency | 31.566 | kHz | V frequency | 60.011 | Hz |
Programming values
| HalfSync | 8 | |
| BackPorch | 18 | |
| Display | 160 | |
| ShortDisplay | 61 | |
| BroadPulse | 95 | |
| VSync | 4 | |
| VBlank | 80 | |
| VDisplay | 960 | |
| Linetime | 198 | |
| VPreEqualise | 4 | |
| VPostEqualise | 4 | |
| TransferDelay | 11 | or 9 @25MHz |
Check rules
| Greater-zero | ✓ |
| Odd Linetime | ✓ |
| Halfline point | ✓ |
| Back porch | ✓ |
Environment string
set IVTG=G332;1;5;8;18;160;61;95;4;80;960;198;4;4;11