1 Tiny Tapeout Factory Test

1 : Tiny Tapeout Factory Test

Design render

How it works

The factory test module is a simple module that can be used to test all the I/O pins of the ASIC.

It has three modes of operation:

  1. Mirroring the input pins to the output pins (when rst_n is low).
  2. Mirroring the bidirectional pins to the output pins (when rst_n is high sel is low).
  3. Outputing a counter on the output pins and the bidirectional pins (when rst_n is high and sel is high).

The following table summarizes the modes:

rst_n sel Mode uo_out value uio pins
0 X Input mirror ui_in High-Z
1 0 Bidirectional mirror uio_in High-Z
1 1 Counter counter counter

The counter is an 8-bit counter that increments on every clock cycle, and resets when rst_n is low.

How to test

  1. Set rst_n low and observe that the input pins (ui_in) are output on the output pins (uo_out).
  2. Set rst_n high and sel low and observe that the bidirectional pins (uio_in) are output on the output pins (uo_out).
  3. Set sel high and observe that the counter is output on both the output pins (uo_out) and the bidirectional pins (uio).

IO

#InputOutputBidirectional
0sel / in_a[0]output[0] / counter[0]in_b[0] / counter[0]
1in_a[1]output[1] / counter[1]in_b[1] / counter[1]
2in_a[2]output[2] / counter[2]in_b[2] / counter[2]
3in_a[3]output[3] / counter[3]in_b[3] / counter[3]
4in_a[4]output[4] / counter[4]in_b[4] / counter[4]
5in_a[5]output[5] / counter[5]in_b[5] / counter[5]
6in_a[6]output[6] / counter[6]in_b[6] / counter[6]
7in_a[7]output[7] / counter[7]in_b[7] / counter[7]

Chip location

Controller Mux Mux Mux Mux Mux Mux Mux Mux tt_um_chip_rom (Chip ROM) tt_um_factory_test (Tiny Tapeout Factory Test) tt_um_htfab_r2r_dac (R-2R DAC) tt_um_algofoogle_antonalog (Antonalog analog VGA) tt_um_NicklausThompson_555_1x1 (HBT Comparator) tt_um_urish_dickson_pump (Dickson Charge Pump) tt_um_htfab_yadge (Yet Another Diffraction Grating Experiment) tt_um_colorful_stripes (Colorful stripes) tt_um_rte_eink_driver (E-ink display driver) tt_um_bleeptrack_prism (Prism) tt_um_calonso88_spi_test (SPI test) tt_um_sathworld_spi_pwm_peripheral (SPI-connected PWM generator) tt_um_lfsr_stevej (Linear Feedback Shift Register) tt_um_strau0106_simple_viii (simple-viii) tt_um_algofoogle_ro_worker (Ring Oscillator Worker) tt_um_vga_clock (VGA clock) tt_um_a1k0n_demo (Demo by a1k0n) tt_um_algofoogle_fun_vga_clock (Fun VGA Clock) tt_um_digital_clock_example (7-Segment Digital Desk Clock) tt_um_urish_simon (Simon Says memory game) tt_um_ihp_logo_screensaver (VGA Screensaver with the IHP Logo) tt_um_zerotoasic_logo_screensaver (VGA Screensaver with Zero to ASIC Logo) tt_um_arud4172_ROOTS_vga (ROOTS logo vga) Available