

The CFT homebrew minicomputer
- Size
- 233.4 × 280 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 127
- Nets
- 504
- Pads
- 1,037
- Tracks, vias
- 72, 85
- Pours
- 6
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 15 Aug 2019
- Updated
- 5 Mar 2022
Overview
Tic is an open-source printed circuit board by alexiosc, from the alexiosc/cft repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 233.4 × 280 mm with 127 parts on 504 nets, routed with 72 tracks and 85 vias.
It is built around the MAX232N, 74HC541D and 74HCT245, with the 74LVC1G07, ESP-WROOM-02 and FT231XS-R among its other parts. Its parts include 45 capacitors, 32 ICs, 10 resistors, 5 diodes and 5 connectors. It belongs with the FPGA and CPLD boards of this library.
Main components
12MAX232N
PDIP-160℃~+70℃ 120Kbps 2 2 4.5V~5.5V Transceiver PDIP-16 RS232 ICs ROHSTexas InstrumentsRS232 ICs74HC541D
SO-20-300mil-40℃~+125℃ 1 12ns@4.5V,50pF 160uA 2V~6V 7.8mA 7.8mA 74HC 8 Output enable Tri-State Unidirectional SO-20-300mil Buffers, Drivers, Receivers, Transceivers ROHSNexperiaBuffers, Drivers, Receivers, Transceivers74HCT245
DIP-20-40℃~+85℃ 28ns@4.5V 4.5V~5.5V 6mA 6mA 74HCT 8 8uA Bidirectional TTL-compatible CMOS Tri-State DIP-20 Buffers, Drivers, Receivers, Transceivers ROHSWuxi I-core Elec74 Series74LVC1G07
SOT-353-40℃~+105℃ 1 1 1.65V~5.5V 1.6ns@5.5V,50pF 24mA 4uA 74LVC Open-drain Power-off isolation、Level shifting Unidirectional SOT-353 Buffers, Drivers, Receivers, Transceivers ROHSWuxi I-core ElecBuffers, Drivers, Receivers, TransceiversESP-WROOM-02
SMD-18P-40℃~+85℃ -98dBm 170mA 2.4GHz 2.7V~3.6V 20dBm 50mA、56mA ESP8266EX On-board PCB Antenna UART、SPI、I2C、GPIO、PWM、I2S SMD-18P WiFi Modules ROHSEspressif SystemsWiFi ModulesFT231XS-R
SSOP-20-150mil-40℃~+85℃ 125uA 5V 8.4mA USB 2.0 USB to UART SSOP-20-150mil USB Converters ROHSFTDIUSB ConvertersUSB6B1
SO-8-40℃~+85℃ 10uA 15pF、25pF 2 25A@8/20us 5.25V 500W@8/20us 6V IEC 61000-4-2 TVS SO-8 ESD and Surge Protection (TVS/ESD) ROHSSTMicroelectronicsESD And Surge Protection (TVS/ESD)74HC138
SOP-160℃~+70℃ 24ns@5.0V,16pF 2V~6V 3/8 5.2mA 5.2mA 5uA 74HC Decoder Reverse function Single Supply SOP-16 Signal Switches, Multiplexers, Decoders ROHSGRSignal Switches, Multiplexers, Decoders74HC139D
SO-16-40℃~+125℃ 11ns@6.0V,50pF 160uA 2/4 2V~6V 74HC Decoder Single Supply SOIC-16 Signal Switches, Multiplexers, Decoders ROHSNexperiaSignal Switches / Encoders & Decoders / Multiplexers74LVC1G08Z
SOT-553-5-40℃~+125℃ 1 1.65V~5.5V 1.7V、2V 2 2.4V、3.8V 32mA 32mA 4ns@5V,50pF 550mV、800mV 700mV、800mV 74LVC Series AND Gate SOT-553-5 Logic Gates ROHSDiodes IncorporatedLogic Gates74LVC1G10DW
SOT-363-40℃~+125℃ 1 1.2V、1.9V、2.3V、2.4V、3.8V 1.65V~5.5V 1.7V~2V 3 3.6ns@5V,50pF 300mV、400mV、450mV、550mV 32mA 32mA 40uA 700mV~800mV 74LVC Series NAND Gate Overvoltage-tolerant input、Local shutdown mode Push-pull SOT-363 Logic Gates ROHSDiodes IncorporatedLogic GatesW5100
--40℃~+85℃ 1.2mm 1dBi 3 40mm 40mm 50Ω 83.5MHz - Antennas ROHSPulse ElecAntennas
README
README.md
The CFT Home-Brew 16-bit Mini-Computer
The CFT is a home-designed, home-built mini-computer made from scratch.
I've designed and built the instruction set, data path, processor, computer, software stack, cross-assembler, emulator, software toolchain and even some of the tools needed to do all this. You can call this a ‘fantasy mini’.
This project has been going since approximately 2001, in my Copious Free Time.
Audience
There isn't one, so I couldn't tell you what it's like. This project has been online since 2005 and it's been noticed by four or five people. Not quite enough for statistics.
This is a personal project, and the repository is made public as a curiosity. Expect everything to be wrong, broken, or dangerous.
Why?
Because it's fun.
To see how it's done.
To recall Those Heady Times.
To prove to myself I can do this.
What?
The CFT is a long-term project built in my Copious Free Time. (a term used, as always, sarcastically, hence the name) It's a homebrew, self-designed, self-built Sixties-style 16-bit mini computer built out of 74-family integrated circuits. Check out the ChangeLog for the current status.
There may possibly be more stuff to look at, at https://www.bedroomlan.org/cft.
The project consists of:
- The CFT processor.
- Peripherals and cards, some implementing extensions to the CFT instruction set.
- A front panel with blinkenlights.
- A case for the lot.
- Documentation for everything, including the website and this.
- A cross-toolchain for working on the computer from a PC.
The CFT Processor
- A 4 MHz clock. (250ns processor cycle)
- 16-bit word length. No byte access.
- 24-bit memory address bus.
- 16-bit I/O bus shared with the address bus. (the lower 1,024 addresses are easier to use)
- All instructions are exactly one 16-bit word long.
- Some instructions follow the PDP-8 ‘microcoded’ format with bitfields cotrolling combinations of actions. Bitwise negation, two's complement negation and incrementation are the same instruction with slightly different options.
- A relatively simple instruction set inspired by the PDP-8. This has moved on to something slightly more reminiscent of a modern processor.
- Microcoded design.
- Accumulator based architecture.
- Four user-accessible 16-bit registers with increment and decrement. Only the Accumulator (AC) is general purpose.
- PDP-8 style magic addresses working like auto-increment or auto-decrement index registers, or stack pointers.
Peripherals
I originally sat down with Eagle CAD and went crazy with it. I had 50 sheets of schematics for boards, all with a three-letter designator:
- MEM: A memory board with 512 KWords of RAM and 512 KWords of ROM.
- TTY: A quadruple serial board including both DCE and DTE connections, and a TTL one for an FTDI USB adaptor.
- INT: 8-interrupt controller board.
- IDE: Twin IDE bus interface for up to four drives.
- RTC: A real-time card with some NVRAM and three or six programmable timers.
- ETH: An offloaded Ethernet interface using the WIZ812 chip.
- KBD: A PS/2 Keyboard interface in pure discrete logic.
- PSG: A sound board with one or two AY-3-8910 chips and a SpeakJet® speech synthesiser.
- PFP: A Programmer's Front Panel capable of debugging microcode as well as full machine code.
- DEB: A DEBugging card to help diagnose problems with the hardware using a remote controller. (this was basically a simple, slow, specialised logic analyser)
- FDC: A Floppy Drive Controller for up to four drives, including 8-inch 50-pin ones.
- GIO: General Purpose I/O board including some digital I/O, two Atari-style digital joystick ports, a unidirectional parallel printer port, four user-controllable LEDs on the front panel (the PFP already had 16) and (on a whim) a cassette tape interface.
- MBU: processor extension to allow 21-bit memory addressing (up to 2 MWords).
- µCB: processor extension to allow multiple versions of microcode to co-exist. (I had spare space in the Microcode ROMs)
- VDU: a graphics card that does text at 80×25 and 40×25, and graphics at combinations of 160, 320, 640 columns and 100, 200, 400 rows with 64 colours.
The currently planned peripherals are much more modest in scope, but they also morphed quite a bit. The processor can now do 24-bit addressing natively, the current microcode uses all of the available ROM space and a bunch of cards have joined forces. The current state of affairs looks like this:
- MEM: (tentative design) 512 kWords or 1 MWord of RAM, 512 KWords of ROM. Multiple cards can be installed. If density allows, there'll be more chip sockets for RAM.
- INT: 8 interrupt controller board.
- DFP: a big card containing both a remote debugging system and front panel drivers.
- TTY: serial port card, possibly colocated with…
- IDE: one or two IDE sockets for two or four IDE drives. (or CF cards, but I like the possibility of having some clunky old drive)
- SND: MIDI sound output. Possibly collocated with…
- VDU: a graphics card that does text at 80×30 and 40×30, and graphics at combinations of 160, 320, 640 columns and 120, 240, 480 rows using 64 colours. The new VDU card fits inside a CPLD and also includes a PS/2 interface.
- RTC: Real-time clock, timers.
I've built the MEM and DFP boards to pre-2019 specs and the computer was working on them.
The 2019 redesign goes for proper PCBs for everything, so things are taking a little extra time.
Front Panel
I was really proud of the front panel before the 2019 redesign, it worked great and showed the computer's entire status. There's support for up to 160 lights, 31 switches and two keylocks for that PDP-8 feel.
The downside was the wiring: there were no fewer than five 50-wire ribbon cables going to this crazy bastard.
The 2019 redesign keeps the layout, but can no longer display as much of the computer's status on the front panel. I'm working on it. On the upside, it now serialises data transmission and only a single 40-pin cable is needed.
To cut costs, the original front panel was made out of eight modules, each with up to 20 LEDs. The new front panel is made out of four modules, each with up to 40 LEDs. Each module daisy-chains to the next.
Switches are mounted on a separate plate and wired to a break-out board, or the closest front panel modules on the 2019 version.
The Case
Two words: wood paneling. Well, and a black acrylic front piece. The rest will depend on how big the card cage gets, but I'll scratch make the case out of sheet aluminium and wood.
Documentation
There's just too much of it. The documentation was initially in LaTeX and got up to 500 pages before I gave that up and started converting it to HTML.
The 2019 redesign will need a redo of most of this, sadly, but the current documents for hardware that's currently around are available at https://www.bedroomlan.org/hardware/cft/book/.
Software and Hardware Tools
I had to make my own tools for some of this, and wanted to make my own for some other parts.
Hardware tools include Flashprog, a zero-parts flash programmer with a modern serial interface. The interface formed the basis of the DEB and DFP cards' remote debugging interface and I'm quite happy with it.
Software tools include:
- The Microcode Assembler, also available on Github as https://github.com/alexiosc/mcasm.
- The CFT Assembler, written purely in Python and roughly based on PDP-8 Assemblers, but with some modern extras like namespaces and simple macros.
- Too many emulators to speak of!
- A basic microcode-level emulator in Python to verify the original design. This one is dead and buried, but still in the repository.
- A Verilog emulator used to verify the hardware.
- A C emulator that's fast enough to run software on.
- A Javascript microcode-level emulator that runs on the web. It's very slow, but it shows how the front panel works.
- A newer JS-based emulator meant to me much faster. Still largely in the works, because I prefer the C-based emulator for testing.
- A testing framework that can run test suites on any emulator we can use.
- A basic Operating System for the CFT.
- A self-documenting Forth interpreter written in Assembly and Forth.
Parts
127| Qty | Value | Footprint | References |
|---|---|---|---|
| 23 | 100nF | alexios:C_SMD_0805_2012Metric_Pad1.15x1.40mm_HandSolder | C1, C33, C34, C35, C36, C37, C38, C39, C41, C42, C43, C44, C45, C46, C47, C48 +7 |
| 16 | 1μF | Capacitor_THT:CP_Radial_D6.3mm_P2.50mm | C601, C602, C604, C606, C607, C608, C609, C610, C612, C613, C614, C615, C616, C617, C618, C619 |
| 6 | 4.7kΩ | alexios:R_SMD_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R17, R18, R19, R20, R21, R22 |
| 4 | MAX232 | alexios:DIP-16_W7.62mm_Socket | U601, U603, U604, U605 |
| 4 | USB6B1 | alexios:SOIC-8 | U4, U8, U9, U17 |
| 3 | CUS520 | alexios:SOD-323 | D1, D2, D11 |
| 3 | SolderJumper_2_Open | Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm | JP3, JP4, JP5 |
| 2 | 27Ω | alexios:R_SMD_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R601, R602 |
| 2 | 47pF | alexios:C_SMD_0805_2012Metric_Pad1.15x1.40mm_HandSolder | C622, C623 |
| 2 | 47µF | Capacitor_THT:CP_Radial_D6.3mm_P2.50mm | C3, C4 |
| 2 | 560Ω | alexios:R_SMD_0805_2012Metric_Pad1.15x1.40mm_HandSolder | R603, R604 |
| 2 | 74HC138 | alexios:SOIC-16 | U37, U38 |
| 2 | 74HC139 | alexios:SOIC-16 | U36, U39 |
| 2 | 74HC541 | alexios:SOIC-20W | U34, U35 |
| 2 | 74LVC1G08 | alexios:SOT-23-5_HandSoldering | U5, U44 |
| 2 | 74LVC1G10 | alexios:SOT-23-6_Handsoldering | U3, U7 |
| 2 | 8254 | alexios:DIP-24_W15.24mm_socket | U2, U6 |
| 2 | CFT-2021-Processor-Bus | alexios:DIN41612_B_3x32_Horizontal | P1, P2 |
| 2 | Conn_02x03_Odd_Even | Connector_PinHeader_2.54mm:PinHeader_2x03_P2.54mm_Vertical | JP1, JP2 |
| 2 | DE9-Female-with-Shield | Connector_Dsub:DSUB-9_Female_Horizontal_P2.77x2.84mm_EdgePinOffset4.94mm_Housed_MountingHolesOffset7.48mm | J601, J602 |
| 2 | LED_ALT | alexios:LED_0805_2012Metric_Pad1.15x1.40mm_HandSolder | D601, D602 |
| 2 | LOGO | alexios:CFT | G***, G*** |
| 2 | W5100 | Package_QFP:LQFP-80_10x10mm_P0.4mm | U9, U101 |
| 1 | 1nF 3kV | Capacitor_SMD:C_1206_3216Metric | C603 |
| 1 | 32.768 kHz | alexios:Crystal_SMD_7050-4Pin_7.0x5.0mm | X1 |
| 1 | 4.7µF | Capacitor_THT:CP_Radial_D6.3mm_P2.50mm | C624 |
| 1 | 7.3728 MHz | Oscillator:Oscillator_DIP-8 | X601 |
| 1 | 74HC574 | Package_DIP:DIP-20_W7.62mm_Socket | U32 |
| 1 | 74HC74 | alexios:SOIC-14 | U41 |
| 1 | 74HCT245 | Package_DIP:DIP-20_W7.62mm_Socket | U1 |
| 1 | 74LVC1G07 | alexios:SOT-23-5_HandSoldering | U42 |
| 1 | 74LVC1G11 | alexios:SOT-23-6_Handsoldering | U40 |
| 1 | ATF16V8B | alexios:DIP-20_W7.62mm_Socket | U301 |
| 1 | ESP-WROOM-02 | RF_Module:ESP-WROOM-02 | U102 |
| 1 | FT231XS | Package_SO:SSOP-20_3.9x8.7mm_P0.635mm | U606 |
| 1 | M48T02-70PC1 | alexios:eDIP-24_W15.24mm | U33 |
| 1 | STC16C554 | alexios:PLCC68 | U602 |
| 1 | SolderJumper_3_Open | alexios:SolderJumper-3_P1.3mm_Bridged12_RoundedPad1.0x1.5mm | JP6 |
| 1 | USB_B_Micro | Connector_USB:USB_Micro-B_Molex_47346-0001 | J1 |
The 107 most common of 127 parts.
Questions
How big is the Tic PCB?
It measures 233.4 × 280 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Tic use?
127 parts, built around the MAX232N, 74HC541D, 74HCT245 and 74LVC1G07. 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 Tic KiCad files?
From the alexiosc/cft repository on GitHub, at the commit this page was made from: the board is kicad/cft/tic/tic.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the Tic design in my own project?
Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).
More from alexiosc/cft
12- 2 layers233.4 × 280 mm

- 2 layers417.2 × 143.4 mm

- 2 layers233.4 × 280 mm

- 2 layers233.4 × 280 mm

- 2 layers233.4 × 280 mm

- 4 layers622.7 × 375.7 mm

- 4 layers131.9 × 164.6 mm

- 2 layers280 × 164.6 mm

- 2 layers101.6 × 138.4 mm

- 2 layers131.9 × 164.6 mm

- 2 layers99.7 × 143.4 mm

- 2 layers280 × 164.6 mm

Similar boards
- 2 layers188 × 66 mm

- 4 layers214 × 170 mm

.C68
ProbablyNotArtyom/Blitz
Blitz is a 68030 based homebrew computer I designed over the course of nearly 3 years, starting in late 2017.
185 parts51GPL-2.0 - 2 layers

BreadBin
c0pperdragon/BreadBin
A CPU made of 7400 logic on breadboards - inside a bread bin ;-)
45 parts18 - 2 layers133 × 82 mm

HD6309 computer
trcwm/HD6309-Computer
A computer based on the HD6309 CPU, done for the Retro Challenge 2017/04.
52 parts17 - 2 layers299.7 × 198.1 mm

Cisc-8
nailed-barnacle/Cisc-8-ttl-processor
A cut-down version of the 8080 processor using HCTTL and including a discrete ALU and instruction decoder
319 parts1MIT - 2 layers180 × 67.5 mm

- 4 layers43.2 × 40.6 mm

- 2 layers234 × 87.3 mm

V0c
KITTY-6502/hardware
the KITTY is a 65c02 homebrew kit microcomputer designed around text mode graphics and cartridge media. It is fully open source, and uses exclusively in-production parts.
123 parts