Skip to content

Commit 4f3502c

Browse files
add WA for unexpected 'ELAB-425' error reported by Design Compiler
1 parent a5cffcb commit 4f3502c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

pzbcm_ram/pzbcm_ram.sv

+7-7
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
//
66
//========================================
77
module pzbcm_ram #(
8-
parameter int WORD_SIZE = 1,
9-
parameter int ADDRESS_WIDTH = (WORD_SIZE >= 2) ? $clog2(WORD_SIZE) : 1,
10-
parameter int DATA_WIDTH = 8,
11-
parameter type DATA_TYPE = logic [DATA_WIDTH-1:0],
12-
parameter bit BUFFER_OUT = 0,
13-
parameter bit USE_RESET = 0,
14-
parameter DATA_TYPE INITIAL_VALUE = DATA_TYPE'(0)
8+
parameter int WORD_SIZE = 1,
9+
parameter int ADDRESS_WIDTH = (WORD_SIZE >= 2) ? $clog2(WORD_SIZE) : 1,
10+
parameter int DATA_WIDTH = 8,
11+
parameter type DATA_TYPE = logic [DATA_WIDTH-1:0],
12+
parameter bit BUFFER_OUT = 0,
13+
parameter bit USE_RESET = 0,
14+
parameter bit [$bits(DATA_TYPE)-1:0] INITIAL_VALUE = '0
1515
)(
1616
input var i_clk,
1717
input var i_rst_n,

0 commit comments

Comments
 (0)