256 256x8 SRAM

256 : 256x8 SRAM

Design render

Open Circuit Design 256x8 SRAM for gf180 test.

How it works

SRAM is entirely cleared on reset.

Although this is technically an 256x8 SRAM only the top 128 entries are addressable. There are 6 bits of address, 8 bits of input data and 8 bits of output data. De-assert gwen to write, else SRAM will be in read mode.

Beware, incomming data/write enable/address are flopped once before the SRAM and outgoing data is also flopped once before reaching the uo_out pins.

Pinout

From SRAM documentation:

Signal Direction Description
CLK Input Clock for the memory. Rising edge triggers operation. All inputs are latched at rising edge of the clock signal.
CEN Input Memory Enable, Active Low. When CEN is Low, the memory is enabled. When CEN input is High, the memory is deactivated but internal states are retained. CEN must be high before 1st running cycle.
A[7:0] Input Address Input. This Address input port is used to address the location to be written during the write cycle and read during the read cycle.
GWEN Input Write Enable Input. The RAM is in write cycle when GWEN is low. The RAM is in read cycle when GWEN is high.
WEN[7:0] Input Bit Write Mask, Active Low. When the memory is in the write cycle, selectively write into individual outputs are controlled by WEN[7:0]. For example, if CEN, GWEN, WEN[0] are low and WEN[7:1] are high, only D[0] will write into the addressed location and D[7:1] will be ignored during CLK low to high transition.
D[7:0] Input Data input bus. The data input bus is used to write data into the memory location specified by address input port during the write cycle.
Q[7:0] Output Data output bus. It outputs the contents of the memory location addressed by the Address Input signals.
VDD Power Power pin.
VSS Ground Ground pin.

How to test

See above.

External hardware

None

IO

#InputOutputBidirectional
0addr[0]data_rd[0]data_wr[0]
1addr[1]data_rd[1]data_wr[1]
2addr[2]data_rd[2]data_wr[2]
3addr[3]data_rd[3]data_wr[3]
4addr[4]data_rd[4]data_wr[4]
5addr[5]data_rd[5]data_wr[5]
6addr[6]data_rd[6]data_wr[6]
7gwendata_rd[7]data_wr[7]

Chip location

Controller Mux Mux Mux Mux Mux Analog Mux Analog Mux Mux Mux Mux Analog Mux Mux Mux Analog Mux Mux Mux Mux tt_um_chip_rom (Chip ROM) tt_um_factory_test (Tiny Tapeout Factory Test) tt_um_tnt_gf_555 (tnt's recreation of a 555 on GF180mcu) tt_um_mcml_vco (MCML VCO) tt_um_tnt_gf_vco (Quadrature VCO) tt_um_oscillating_bones (Oscillating Bones) tt_um_MichaelBell_tinyQV (TinyQV Risc-V SoC) tt_um_essen (256x8 SRAM) tt_um_analog_factory_test (TT GF180mcuD Analog Factory Test) tt_um_cw_testbuffer (TT GF180mcuD Testbuffer) tt_um_fabulous_gf_0p3 (Tiny FABulous FPGA) tt_um_fabulous_gf_0p3_3v3 (Tiny FABulous FPGA (3.3V version)) tt_um_htfab_momcap (MoM capacitor) tt_um_gf_r2r_dac (GF R2R DAC) tt_um_AbAdA_2048 (Abad2048) tt_um_mattvenn_signal_generator (Simple Signal Generator) tt_um_74hct00 (74HCT00 Quad 2-Input NAND (3.3 V)) tt_um_algofoogle_gf_analog (algofoogle analog stuff) tt_um_LPCAS_TTGF0P3_TP1 (3.3V Folded Cascode OTA ) tt_um_kianV_rv32ima_uLinux_SoC (KianV uLinux SoC) tt_um_kiterai_current_dac (Analog 4 bit Current DAC) tt_um_urish_simon (Simon Says memory game) tt_um_waferspace_vga_screensaver (Wafer.space Logo VGA Screensaver) tt_um_urish_usb_cdc (USB CDC (Serial) Device) tt_um_a1k0n_nyancat (VGA Nyan Cat) tt_um_rahulbhagwat_gf180_bandgap_reference (GF BGR) tt_um_odgrip_polywave (PolyWave) tt_um_2048_vga_game (2048 sliding tile puzzle game (VGA)) tt_um_combined (Philippine flag waving) tt_um_gojimmypi_ttgfa_UART_FSM_TRNG_Lab (Hardware Entropy Explorer: UART/SPI TRNG and PUF) tt_um_gojimmypi_ttgfa_UART_FSM_TRNG_Lab_analog (Hardware Entropy Explorer: UART/SPI TRNG and PUF (Analog)) tt_um_coldbrew (Until heat death do us part) Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available Available