
FPPIC provides a Tiny Tapeout user interface for selecting an I2C or CAN host, routing requests through a Wishbone interconnect, and accessing SPI Flash and UART peripherals.
ui_in[0] selects the active host path: I2C when high, CAN when low.ui_in[4:1]. SDA and SCL are exposed through uio[0] and uio[1] using low-drive open-drain behavior; the SCL path supports clock stretching.ui_in[5] for CAN RXD and uo_out[0] for CAN TXD.uo_out[1:3] for chip select, clock and MOSI, with MISO on ui_in[6]; it is intended for an external W25Q64-compatible flash device.ui_in[7] for UART RX and uo_out[4] for UART TX.uo_out[5] exposes the active-low interrupt signal. uo_out[7:6] and uio[7:2] are unused.The design expects a 50 MHz clk input and active-low rst_n. The top-level interface is tt_um_fppic.
test GitHub Actions workflow. It checks reset and interface-safe output behavior.make -C sim clean followed by make -C sim. The full bench and W25Q64 model are in tb/.gds GitHub Actions workflow. Review the GDS hardening, Tiny Tapeout precheck, gate-level test, timing and routing reports. A local static-lint pass is not a substitute for the official hardening and precheck results.| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | I2C_CAN_N strap: 1=I2C host, 0=CAN host | CAN_TXD | SDA, emulated open-drain |
| 1 | I2C address strap bit 0 | SPI_CS_N | SCL, emulated open-drain with clock stretching |
| 2 | I2C address strap bit 1 | SPI_CLK | Unused |
| 3 | I2C address strap bit 2 | SPI_MOSI | Unused |
| 4 | I2C address strap bit 3 | UART_TX | Unused |
| 5 | CAN_RXD from external CAN transceiver | IRQ_N | Unused |
| 6 | SPI_MISO from W25Q64 Flash | Unused, tied low | Unused |
| 7 | UART_RX | Unused, tied low | Unused |