The Main Panel

The main panel allows you to enter the basic parameters for your memory module. This is where you will be defining the geometry and give a name to the module. You also specify whether it is a read-only or a read-write memory and whether it is a single-port or multi-port memory. At the top of this panel, there is a menubar which will let you do most of the operations like ordering the pins and generating verilog.

Module Name

Specify the name of the module to be generated. This name is also used as the default base for naming files related to this module. You can use this field to match the name of the generated memory to the behavioral memory.

Read Only

If the Read Only button is checked (on) then a read-only memory will be generated. It will not have any write ports.

Flash

If the Flash button is checked (on), then a top level signal for flash control is created. The name of this signal and the value to which this signal will initialize the memory, are specified in separate entries below. This is an active high signal.

Flash Signal

Specify the name of the flash signal. This name will only be used if the flash button is checked.

Flash Value

Specify the value to which the flash signal will initialize the memory. When the flash signal is high, all locations in the memory will be initialized to this value.

Data Bits

Specify the number of data bits per location. This is also referred to as the word size of the memory.

Bits per Byte

Specify if a word of memory can be accessed in sizes smaller than the word size. If bits per byte is the same as word size, then there is only one byte per word, otherwise, there can be more than one byte per word. Each byte can then have it's own output and write enable signal.

Address Lines

Specify the number of address lines (or bits) for the memory. This specifies the size of the memory. If N lines are specified, then the size of the memory is 2^N, i.e. there are 2^N memory locations.

Single Port

If the Single Port button is checked, then a single-port memory is generated. This means that there are no separate read and write ports and the address lines are shared by the read and write operations. Only one of the single port or multi port buttons can be checked.

Multi Port

If the Multi Port button is checked, then separate read and write ports are used and the address lines are separate. Also more than one read and one write port can be specified in the fields below. Only one of the single port or multi port buttons can be checked.

Number of Input (Write) Ports

This entry is only valid for a multi-port memory. You can specify the number of input ports to your memory. Each port will have it's own data lines and address lines. The write enable signal if specified will also be separate for each port. For a read only memory, this entry is disabled.

TDX-MEMGEN can not handle more than 2 input ports currently.

Number of Output (Read) Ports

This entry is only valid for a multi-port memory. You can specify the number of output ports to your memory. Each port will have it's own data lines and address lines. The output enable signal if specified will also be separate for each port.

Read Enable

If the Read Enable Button is checked, then a new top level read enable signal will be created. This is different from the output enable signal. The read enable signal is global for all the read ports (for multi-port memories) and controls the read operation for the entire memory. The name of the signal and it's polarity are specified in separate entries below.

Read Enable Signal

Specify the name of the Read Enable signal. This entry is only use when the Read Enable button is checked.

Read Enable Polarity

Specify the polarity of the Read Enable signal. It can be one of high-active or lo-active. This entry is only used if the Read Enable button is checked