Professional Documents
Culture Documents
Home >
https://solvnet.synopsys.com/dow_retrieve/latest/dg/tmolh/Content/modeling/man_memory_spec.htm 1/3
9/21/2019 Memory Modeling Language Specification
https://solvnet.synopsys.com/dow_retrieve/latest/dg/tmolh/Content/modeling/man_memory_spec.htm 2/3
9/21/2019 Memory Modeling Language Specification
1_fill ::= for ( i=0; i < max_address ; i=i+1 ) memory_name [ i ] = 1_constant
;
edge ::= posedge | negedge
rr_contention ::= `define read_read rr_choices
rw_contention ::= `define read_write rw_choices
ww_contention ::= `define write_write ww_choices
rr_choices :: = normal | readx
rw_choices ::= mixed | new | readx | xfill| new_but_readx_across_ports
ww_choices ::= xbit | xword | xfill | dominance | forbidden
rr_undef ::= `undef read_read
rw_undef ::= `undef read_write
ww_undef ::= `undef write_write
data_high_bit ::= decimal_number
data_low_bit ::= decimal_number
address_low ::= decimal_number
address_high ::= decimal_number
max_address ::= decimal_number
bus_constant ::= 0_constant | 1_constant | x_constant | z_constant
0_constant :: = size base { 0 }+
1_constant :: = size base { 1 }+
x_constant :: = size base { x }+
z_constant :: = size base { z }+
size ::= decimal_digit { decimal_digit }
base ::= 'b | 'B | 'h | 'H
digit ::= dec_digit | hex_digit | sim_digit
decimal_digit ::= 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
decimal_number ::= { decimal_digit }+
hex_digit ::= decimal_digit | a | A | b | B | c | C | d | D | e | E | f | F
binary_digit ::= x | X | z | Z | 0 | 1
bus_identifier ::= net_identifier
net_identifier ::= <standard Verilog syntax>
module_identifier ::= <standard Verilog syntax>
port_identifier :: = <standard Verilog syntax>
parameter_declaration ::= <standard Verilog syntax>
input_declaration ::= <standard Verilog syntax>
output_declaration ::= <standard Verilog syntax>
inout_declaration ::= <standard Verilog syntax>
net_declaration ::= <standard Verilog syntax>
reg_declaration ::= <standard Verilog syntax>
integer_declaration ::= <standard Verilog syntax>
gate_instantiation ::= <standard Verilog syntax>
udp_instantiation ::= <standard Verilog syntax>
event_declaration ::= <standard Verilog syntax>
See Also
Memory Examples
https://solvnet.synopsys.com/dow_retrieve/latest/dg/tmolh/Content/modeling/man_memory_spec.htm 3/3