

Isavideo
This is a modified version of the Graphics Gremlin ISA CGA/MDA graphics card to include a HDMI port.
- Size
- 106.4 × 95 mm
- Copper layers
- 4
- Thickness
- 1.6 mm
- Parts
- 142
- Nets
- 287
- Pads
- 909
- Tracks, vias
- 2,186, 255
- Pours
- 2
- Routed
- Yes
- KiCad
- KiCad 7 (file 20221018)
- Created
- 28 Oct 2024
- Updated
- 31 Oct 2024
Overview
Isavideo is an open-source printed circuit board by ianhan, from the ianhan/graphics-gremlin-gizmo repository on GitHub. It is a 4-layer board of 106.4 × 95 mm with 142 parts on 287 nets, routed with 2,186 tracks and 255 vias.
It is built around the ICE40HX4K-TQ144, 74HCT125PW and ADA4891-3ARZ, with the SST26VF080A-104I/SN, TFP410PAP and 74ALVC164245DL among its other parts. Its parts include 53 resistors, 43 capacitors, 12 ICs, 8 connectors and 3 diodes. It belongs with the interfaces and adapters boards and the FPGA and CPLD boards of this library.
Main components
10ICE40HX4K-TQ144
TQFP-144(20x20)-40℃~+100℃ 1.14V~1.26V 107 3520 440 81920bit iCE40 HX TQFP-144(20x20) Programmable Logic Device (CPLDs/FPGAs) ROHSLatticeProgrammable Logic Device (CPLDs/FPGAs)74HCT125PW
TSSOP-14-40℃~+125℃ 1 15ns@4.5V,50pF 160uA 4 4.5V~5.5V 6mA 6mA 74HCT Tri-State Unidirectional TSSOP-14 Buffers, Drivers, Receivers, Transceivers ROHSNexperiaBuffers, Drivers, Receivers, TransceiversADA4891-3ARZ
SOIC-14-40℃~+125℃ 125mA 170V/us 2.5mV 2.7V~5.5V 220MHz 3 4.4mA 50pA 6uV/℃ 88dB 9nV/√Hz@1MHz Enable/shutdown function Rail-to-rail output SOIC-14 Operational Amplifier ROHSAnalog DevicesOperational AmplifierSST26VF080A-104I/SN
SOIC-8-40℃~+85℃ 1.5ms 100 Years 100,000 cycles 104MHz 15uA 2.3V~3.6V 8Mbit SPI SOIC-8 NOR FLASH ROHSMicrochip TechnologyNOR FLASHTFP410PAP
HTQFP-64(10x10)0℃~+70℃ 3.3V I2C HTQFP-64(10x10) Video Interface ICs ROHSTexas InstrumentsVideo Interface ICs74ALVC164245DL
SSOP-48-300mil-40℃~+125℃ 1.5V~3.6V 1.5V~5.5V 2 8 Bidirectional Tri-State SSOP-48-300mil Translators, Level Shifters ROHSNexperiaTranslators, Level ShiftersIS61WV5128BLL-10KLI
SOJ-36-40℃~+85℃ 10mA 10ns 2.4V~3.6V 45mA 4Mbit Auto power-down function Parallel Port (Parallel) SOJ-36 SRAM ROHSISSISRAMLD1085D2T33R
TO-263-2-40℃~+125℃@(Tj) 0.003%Vout 1 1.3V@(3A) 3.3V 30V 3A 5mA 72dB@(120Hz) Fixed Over Temperature Protection Positive TO-263-2 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSSTMicroelectronicsVoltage Regulators - Linear, Low Drop Out (LDO) Regulators10029449-111RLF
SMDSMD HDMI Connectors ROHSAmphenolHDMI ConnectorsPJRAN1X1U04X
插件插件 RCA Connector ROHSSwitchcraftAudio Connectors (Headphones)
README
README.mdGraphics Gremlin HDMI
This is a modified version of the Graphics Gremlin ISA CGA/MDA graphics card to include a HDMI port. This is still based on the same Lattice ICE40HX4K FPGA.
(A production run has been made for this board. You can contact explit[at]mailbox[dot]org if you wish to purchase a unit.)
The latest revision now displays CGA colour 6 brown correctly. Since this project builds on the original project, it carries over some emulation inaccuracies in demos like 8088MPH and other applications.
Top view of board including the metal bracket.
Left is the original Graphics Gremlin, right is my modified design.
Demo videos
- Bootup and CGA compatibility tester (Brown fixed): https://www.youtube.com/watch?v=Ap-goSkkSUI
- Bootup and CGA compatibility tester (Deprecated): https://www.youtube.com/watch?v=xLy6on_o4YM
- 8088MPH: https://www.youtube.com/watch?v=WLpNmEhdTe4
- Area5150 (using CGA overscan): https://www.youtube.com/watch?v=9wYU6qMWlpE
- My talk on this project: https://www.youtube.com/watch?v=r_GiEIe_oZk
Changes from original project
- Hardware changes
- Added HDMI port by removing the RGBI DE9 port. Port positions adjusted to ease trace routing.
- Added TI TFP410 DVI transmitter (HDMI is compatible with DVI). HDMI is independent of the VGA/Composite output.
- Test points for inputs to DVI transmitter.
- Replaced the 3.3VDC 1A linear regulator with 3A as TFP410 is power hungry at up to 1A.
- Added pin headers for power.
- Added LED power indicators for 5V and 3.3V.
- 2-layer -> 4-layer board to ease routing.
- HDL code changes
- Selectable MDA colours (HDMI only)
- Removed normal MDA bitstream as there is no more RGBI port.
- Added CGA 70Hz mode.
- Added CGA 60Hz overscan mode for demo and debug purposes.
- Modified Scandoubler code to support Display Enable signal as required by DVI chip but not VGA.
Readme of the original Graphics Gremlin project can be found here.
How to replicate this board and use it?
-
Usage guide below:
Switches position
Switches 1 and 2 for MDA
These colours are applicable for the HDMI section only.
| 1 | 2 | MDA colour |
|---|---|---|
| open | open | Green |
| open | closed | Yellow |
| closed | open | White |
| closed | closed | Red |
Sample of the different colours when testing the card on my 486 PC.
Switches 1 and 2 for CGA
| Switch | CGA |
|---|---|
| 1 | closed=composite mode. open=VGA mode |
| 2 | closed=thin font. open=normal font |
Note that VGA and Composite cannot be used simultaneously. No change from original Graphics Gremlin. HDMI will work on all modes.
Switches 3 and 4
| 3 | 4 | Bitstream | Function |
|---|---|---|---|
| open | open | Bitstream 0 | MDA 70Hz |
| open | closed | Bitstream 1 | CGA 70Hz |
| closed | open | Bitstream 2 | CGA 60Hz |
| closed | closed | Bitstream 3 | CGA 60Hz with overscan |
CGA 60 and 70Hz
After internal scandoubling, the CGA 60Hz will produce a 640x400x60Hz output suitable for most VGA monitors. While this works for the HDMI LCD monitors I have tested, it is technically below the DVI specification of a minimum of 640x480x60Hz and 25.175Mhz pixel clock.
To meet the specification in case some monitors insist, I have added another mode CGA 70Hz which will produce 640x400 at 70Hz. (Actually 71Hz due to precision limitations of clock multiplying) This 70Hz is however not compatible with composite displays including the one inside IBM5155.
CGA 60Hz with overscan
The CGA overscan bitstream will show the overscan sections beyond the usual display area just short of Hsync and Vsync. Overscan is used in some demos like Area 5150. However not all HDMI monitors can accept this signal and/or display this properly.
I notice that while a monitor may initially accept this mode, tendency is it will randomly throw you display errors later.
The purpose of this mode is just for debug and demo purposes.
Development info
Directory structure
|-- fab: Gerbers, BOM and PDF schematic
|-- images: Images used in this repo
|-- isa-video: Kicad Design files
|-- verilog: Updated Verilog code to support HDMI
|-- vga_display_status: Vivado project to process ICE40 FPGA output to DVI transmiter that runs on my Mimas A7 FPGA board.
|-- 3d-bracket: Step and STL file for a 3D-printable bracketVerilog Toolchain
To compile the project, I used the following open source tool-chain on my Ubuntu running on WSL on Windows 11.
sudo apt install libftdi-dev cmake
sudo apt install build-essential libboost-system-dev libboost-thread-dev libboost-program-options-dev libboost-test-dev libboost-filesystem-dev libboost-iostreams-dev libeigen3-dev
sudo apt install tclsh clang tcl-dev libreadline-dev bison flex
# Icestorm
git clone https://github.com/YosysHQ/icestorm.git icestorm
cd icestorm
make -j$(nproc)
sudo make install
cd ..
# NextPNR
git clone https://github.com/YosysHQ/nextpnr nextpnr
cd nextpnr
cmake -DARCH=ice40 -DCMAKE_INSTALL_PREFIX=/usr/local .
make -j$(nproc)
sudo make install
cd ..
# Yosys
git clone https://github.com/YosysHQ/yosys.git yosys
cd yosys
make -j$(nproc)
sudo make installTo program the bitstream to the board, I used iceprog -p from OSS CAD Suite. Follow the flash instructions.
Code compilation
In my Ubuntu WSL:
cd verilog
mkdir build
make# Program my provided bitstream
iceprog -p isavideo.binm
# Program newly compiled bitstream
iceprog -p build/isavideo.binmSpecial handling for brown colour
The PCB and code treats the palette value "I:0 R:1 G:1 B:0" specially to produce a brown instead of dark yellow as per the CGA standard.
// video[1] is the original green value
assign hdmi_grn = video[1] ^ (hdmi_red & video[1] & (hdmi_blu ^ 1) & (hdmi_int ^ 1));
assign hdmi_grn_int = hdmi_int ^ (hdmi_red & video[1] & (hdmi_blu ^ 1) & (hdmi_int ^ 1));This is done using the above boolean logic to lower the green value by using the dedicated hdmi_green_int pin. This logic is provided by @spbnick.
My IBM 5155 running the CGA Compatibility Tester displaying the colour palatte.
Testing with Mimas A7 (Xilinx Artix 7)
As part of my testing, I also made a small FPGA test project using another FPGA board Mimas A7 based on the Xilinx Artix 7.
The FPGA test board reads the raw RGBI, HS, VS, DE and CLK signals that are given to the DVI transmitter and displays the output using its own HDMI output.
The code is heavily based on the HDMI_FPGA project by Dominic Meads and runs on Vivado 2023.
Releases
- 2.1 (9 Aug 2021): Initial release for GG (HDMI)
- 2.2 (17 Sept 2023): Extra Green control line for TFP410
- 2.3 (13 Oct 2023): Corrected VGA port footprint bug
- 2.4 (4 Jan 2024): Kicad 7.10, cleaned up schematic errors, removed unused traces, update pcb symbols and 3D models, cleaned up BOM. (No functional difference with 2.3)
License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. See https://creativecommons.org/licenses/by-sa/4.0/.
Parts
142| Qty | Value | Footprint | References |
|---|---|---|---|
| 23 | 1u | Capacitor_SMD:C_0603_1608Metric | C1, C10, C11, C13, C14, C15, C16, C17, C20, C21, C22, C23, C24, C25, C26, C27 +7 |
| 13 | 10K | Passive:RESC1608X55 | R1, R2, R3, R4, R5, R8, R9, R14, R15, R20, R23, R24, R27 |
| 9 | 0.1uF | Capacitor_SMD:C_0603_1608Metric | C35, C36, C37, C38, C39, C40, C41, C42, C43 |
| 9 | 10k | Resistor_SMD:R_0603_1608Metric | R35, R38, R40, R41, R43, R44, R47, R49, R50 |
| 7 | DNI | Resistor_SMD:R_0603_1608Metric | R34, R36, R37, R39, R46, R48, R53 |
| 6 | 4.7u | Capacitor_SMD:C_0603_1608Metric | C3, C5, C6, C12, C18, C19 |
| 6 | 604 | Passive:RESCAV80P320X160X70-8 | RN1, RN2, RN3, RN4, RN5, RN6 |
| 5 | 10 | Passive:RESC1608X55 | R6, R7, R10, R25, R26 |
| 5 | 75 | Passive:RESC1608X55 | R16, R17, R18, R19, R31 |
| 4 | 300 | Passive:RESCAV80P320X160X70-8 | RN7, RN8, RN9, RN10 |
| 3 | 10uF 16V | Capacitor_SMD:C_0603_1608Metric | C32, C33, C34 |
| 3 | 237 | Passive:RESC1608X55 | R28, R29, R30 |
| 3 | 74ALVC164245 | Active:TSSOP50P810X120-48 | U3, U4, U5 |
| 3 | BLM18RK601SN1D | libraries:BEADC1608X95N | FL1, FL2, FL3 |
| 3 | Fiducial | Fiducials:Fiducial_1mm_Dia_2mm_Outer | FID1, FID2, FID3 |
| 2 | 100 | Passive:RESC1608X55 | R21, R22 |
| 2 | 10uF 16V | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C2, C4 |
| 2 | 1200 | Resistor_SMD:R_0603_1608Metric | R32, R42 |
| 2 | Yellow | LED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolder | D1, D2 |
| 1 | 0 | Resistor_SMD:R_0603_1608Metric | R33 |
| 1 | 10029449-111RLF | libraries:HDMI_A_Amphenol_10029449-111 | J4 |
| 1 | 10MHz | Passive:XTAL320X250X120-4 | X1 |
| 1 | 14.318MHz | Passive:XTAL320X250X120-4 | X2 |
| 1 | 1A | Resistor_SMD:R_1206_3216Metric | F1 |
| 1 | 1K | Passive:RESC1608X55 | R13 |
| 1 | 2200 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R12 |
| 1 | 33k | Resistor_SMD:R_0603_1608Metric | R52 |
| 1 | 510 | Resistor_SMD:R_0603_1608Metric | R51 |
| 1 | 5k | Resistor_SMD:R_0603_1608Metric | R45 |
| 1 | 74HCT125 | Active:TSOP65P640X110-14 | U11 |
| 1 | ADA4891-3 | Active:SOP127P620X175-14 | U6 |
| 1 | AP2114HA-1.2 | Active:SOT230P700X170-3 | U9 |
| 1 | APX803S00-29SA-7 | Active:SOT95P230X117-3 | U10 |
| 1 | Conn_01x05 | Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_Vertical | J7 |
| 1 | Conn_02x06_Odd_Even | Connector_PinHeader_2.54mm:PinHeader_2x06_P2.54mm_Vertical | J8 |
| 1 | Conn_ISA_8bit | Conn:BUS_PC_8BIT | J5 |
| 1 | DB15_Female_HighDensity_MountingHoles | libraries:23117631 | J2 |
| 1 | DNI | Passive:RESC1608X55 | R11 |
| 1 | Green | LED_SMD:LED_0603_1608Metric_Pad1.05x0.95mm_HandSolder | D3 |
| 1 | ICE40HX4K-TQ144 | Active:TSQFP50P2200X2200X160-144 | U1 |
| 1 | IS61WV5128BLL-10KLI | Active:SOJ127P1118X376-36 | U7 |
| 1 | LD1085D2T33R | Package_TO_SOT_SMD:TO-263-2 | U8 |
| 1 | LOGO | ISAVideo:gremlin | G*** |
| 1 | LOGO | ISAVideo:graphics_gremlin | G*** |
| 1 | MNT_KEYSTONE_9200 | Conn:MNT_KEYSTONE_9200 | MH1 |
| 1 | PJRAN1X1U04X | libraries:SWITCHCRAFT_PJRAN1X1U04X | J3 |
| 1 | PROG | Connector_PinHeader_2.54mm:PinHeader_2x04_P2.54mm_Vertical | J1 |
| 1 | RFMOD | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J6 |
| 1 | SST26VF080A-104I/SN | Active:SOP127P620X175-8 | U2 |
| 1 | SW_DIP_x04 | Switch:SW_DIP254P762X635-8 | SW1 |
| 1 | TFP410PAP | libraries:TFP410_ThermalVias | U12 |
Similar boards
- 2 layers106.4 × 95 mm

- 4 layers180.3 × 211.3 mm

For real 486
Xeraster/32bit_486_motherboard
A completely DIY 486 motherboard. Even the chipset is a DIY fpga thing. This version has a 32 bit front side bus and a 16 bit ISA bis
256 parts18GPL-3.0 - 4 layers72 × 75 mm

Nrf52480 Dev board
brendena/Nordic_Pebble_Steel
The goal of this project is to replace the main motherboard in the pebble steel with newer parts. Specifically the cpu will be a Nordic NRF52840.
75 parts9 - 4 layers99.1 × 88.9 mm

- 2 layers97.8 × 75 mm

Picotronix
5aji/picotronix
Raspberry Pi Pico board to drive Tektronix 603/604 vector displays.
46 parts - 6 layers135 × 90 mm

- 2 layers100 × 25 mm

TEENSY 4.0 AUDIO TOOLKIT
JayShoe/TEENSY_4.0_AUDIO_TOOLKIT
The Teensy 4.0 Audio Toolkit Shield is an open source project for learning about, designing, and rapid-prototyping custom Audio PCBs using the Teensy Audio Library.
58 parts10 - 2 layers37.1 × 67.1 mm

Questions
How big is the Isavideo PCB?
It measures 106.4 × 95 mm and has 4 copper layers, 1.6 mm thick.
What parts does the Isavideo use?
142 parts, built around the ICE40HX4K-TQ144, 74HCT125PW, ADA4891-3ARZ and SST26VF080A-104I/SN. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Isavideo KiCad files?
From the ianhan/graphics-gremlin-gizmo repository on GitHub, at the commit this page was made from: the board is isa-video/isavideo.kicad_pcb and its schematic isa-video/RAM.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Isavideo design in my own project?
Its repository states no licence, so its author keeps all rights: ask ianhan before reusing the design.