8word x 8bit width PROM sample

<< Function description >>

File name
RAM_PROM.nsl
Main feature
8word x 8bit Programmable-ROM module
Signal list
AD_i[2] = Address in
CS_i= Chip Select in
REN_i= Read Enable in

DB_o[8] = Read Data out

Description
This code shown an example of “MEM” declare statement inferences memory array.

mem[sigName][n][m]= { init value … } ;
An above statement generates a “sigNAME” memory block with n[word] by m[bit] parameter.
Also, user can specify initial value using “{ }” statement after n/m paraeter.