MCUX CLNS
MCUX Crypto Library Normal Secure
Loading...
Searching...
No Matches
ip_css_design_configuration.h
1/*--------------------------------------------------------------------------*/
2/* Copyright 2016-2022 NXP */
3/* */
4/* SPDX-License-Identifier: BSD-3-Clause */
5/* */
6/* Redistribution and use in source and binary forms, with or without */
7/* modification, are permitted provided that the following conditions are */
8/* met: */
9/* */
10/* 1. Redistributions of source code must retain the above copyright */
11/* notice, this list of conditions and the following disclaimer. */
12/* */
13/* 2. Redistributions in binary form must reproduce the above copyright */
14/* notice, this list of conditions and the following disclaimer in the */
15/* documentation and/or other materials provided with the distribution. */
16/* */
17/* 3. Neither the name of the copyright holder nor the names of its */
18/* contributors may be used to endorse or promote products derived from */
19/* this software without specific prior written permission. */
20/* */
21/* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS */
22/* IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED */
23/* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A */
24/* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT */
25/* HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, */
26/* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED */
27/* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR */
28/* PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF */
29/* LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING */
30/* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS */
31/* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */
32/*--------------------------------------------------------------------------*/
33
34#ifndef IP_CSS_DESIGN_CONFIGURATION_H_
35#define IP_CSS_DESIGN_CONFIGURATION_H_
36
37#define ID_CFG_CFGNAME nva
38#define SHA_512 1
39#define ID_CFG_SGI_EOS_TMP_MODS 1
40#define ID_CFG_SGI_O_IRQ_DRIVEN_FROM_SGI_INT_STATUS 0
41#define ID_CFG_SGI_ENA_DBG_MODE 0
42#define ID_CFG_ROW 1
43#define ID_CFG_CHINA 0
44#define ID_CFG_CC 0
45#define ID_CFG_SGI_AUTO_MODE 1
46#define ID_CFG_SPB_SUPPORT 0
47#define ID_CFG_SPB2 0
48#define ID_CFG_SGI_SPB_MASKING 0
49#define ID_CFG_SGI_USE_SFR_SW_MASK 0
50#define ID_CFG_SGI_SPB_EDC 0
51#define ID_CFG_SGI_SPB_EDC_WIDTH 8
52#define ID_CFG_SGI_INT_EDC_WIDTH 12
53#define ID_CFG_SGI_SPB_EDC_COMPLEXITY 1
54#define ID_CFG_SGI_SPB_MODEDC 0
55#define ID_CFG_SGI_REGBANK_CLOCK_GATER_PARITY 0
56#define ID_CFG_SGI_ALL_SFRS 0
57#define ID_CFG_SGI_AES 1
58#define ID_CFG_SGI_2_KERNEL_EDC 0
59#define ID_CFG_SGI_USE_AES_APOLLO 0
60#define ID_CFG_SGI_USE_AES_AEGIS 0
61#define ID_CFG_SGI_USE_AES_ATHENIUM 0
62#define ID_CFG_SGI_USE_AES_AYNA 0
63#define ID_CFG_SGI_AES_K128_ONLY 0
64#define ID_CFG_SGI_DES 0
65#define ID_CFG_SGI_USE_DES_DAKAR 0
66#define ID_CFG_SGI_USE_DES_DANUBE 0
67#define ID_CFG_SGI_USE_DES_DEPICTA 0
68#define ID_CFG_SGI_USE_DES_DIGI 0
69#define ID_CFG_SGI_GCM 1
70#define ID_CFG_GCM_STEP_POWER 3
71#define ID_CFG_SGI_SHA2 0
72#define ID_CFG_SGI_SHA_256_ONLY 1
73#define ID_CFG_SGI_CMAC 1
74#define ID_CFG_SGI_MOVEM 0
75#define ID_CFG_SGI_EXT_PRNG 1
76#define ID_CFG_SGI_BUS_WIDTH 32
77#define ID_CFG_SGI_NUM_DATIN 3
78#define ID_CFG_SGI_NUM_KEY 3
79#define ID_CFG_SGI_NO_FA 1
80#define ID_CFG_SGI_NO_MST 1
81#define ID_CFG_SGI_NO_KEYCHECKSUM 1
82#define ID_CFG_SGI_NO_SELFCHECK 0
83#define ID_CFG_SGI_SIMU_CLKPER 10.0
84#define ID_CFG_SGI_SYNTH_CLKPER 9.0
85#define ID_CFG_DFT_SYN 1
86#define DEBUG 0
87#define ID_CFG_APBD_WIDTH 32
88#define ID_CFG_APBA_WIDTH 12
89#define ID_CFG_SPB_ADDITIONAL_SIGNALS 1
90#define ID_CFG_CRNG_MILESTONE 0
91#define ID_CFG_CRNG_VER_X 1
92#define ID_CFG_CRNG_VER_Y1 0
93#define ID_CFG_CRNG_VER_Y2 2
94#define ID_CFG_CRNG_VER_Z 0
95#define ID_CFG_CRNG_USE_GLOBAL 0
96#define ID_CFG_CRNG_USE_PRNG_SCA 1
97#define ID_CFG_CRNG_USE_PRNG 1
98#define ID_CFG_CRNG_USE_RHC 0
99#define ID_CFG_CRNG_USE_DRBG 0
100#define ID_CFG_CRNG_USE_DTRNG 0
101#define ID_CFG_CRNG_USE_INT 0
102#define ID_CFG_CRNG_USE_ACC_ERR 0
103#define ID_CFG_CRNG_USE_SOFT_RST 0
104#define ID_CFG_CRNG_PRNG_SCA_RND_OUT_WIDTH 216
105#define ID_CFG_CRNG_PRNG_SCA_INIT_DELAY 25
106#define ID_CFG_CRNG_PRNG_SCA_HW_FEED_WIDTH 8
107#define ID_CFG_CRNG_PRNG_SCA_RESEED_COUNT_WIDTH 16
108#define ID_CFG_CRNG_PRNG_SCA_RESEED_COUNT_VAL 65535
109#define ID_CFG_CRNG_PRNG_SCA_HW_FEED_EXTERNAL 0
110#define ID_CFG_CRNG_PRNG_SCA_HW_FEED_PRNG_SCA 1
111#define ID_CFG_CRNG_PRNG_SCA_HW_FEED_PRNG 0
112#define ID_CFG_CRNG_PRNG_SCA_HW_FEED_DRBG 0
113#define ID_CFG_CRNG_PRNG_SCA_HW_FEED_DTRNG 0
114#define ID_CFG_CRNG_PRNG_INIT_DELAY 5
115#define ID_CFG_CRNG_PRNG_RESEED_COUNT_WIDTH 16
116#define ID_CFG_CRNG_PRNG_RESEED_COUNT_VAL 65535
117#define ID_CFG_CRNG_PRNG_SW_READOUT 1
118#define ID_CFG_CRNG_PRNG_HW_FEED_OUT 0
119#define ID_CFG_CRNG_PRNG_SW_READOUT_WIDTH 32
120#define ID_CFG_CRNG_PRNG_SW_READOUT_TOP 1
121#define ID_CFG_CRNG_PRNG_HW_FEED_OUT_CONSUMERS 2
122#define ID_CFG_CRNG_PRNG_HW_FEED_OUT_WIDTH 8
123#define ID_CFG_CRNG_DEFINE_CDC 0
124#define ID_CFG_RTN_NUM 2
125#define ID_CFG_PRN_NUM 2
126#define ID_CFG_GPK_NUM 16
127#define ID_CFG_KEYSTORE_CHK_HWO_KEY_SLOT 1
128#define ID_CFG_KEYSTORE_USG_POS 11
129#define ID_CFG_KEYSTORE_UKPUK_POS 11
130#define ID_CFG_KEYSTORE_UTECDH_POS 12
131#define ID_CFG_KEYSTORE_UCMAC_POS 13
132#define ID_CFG_KEYSTORE_UKSK_POS 14
133#define ID_CFG_KEYSTORE_URTF_POS 15
134#define ID_CFG_KEYSTORE_UCKDF_POS 16
135#define ID_CFG_KEYSTORE_UHKDF_POS 17
136#define ID_CFG_KEYSTORE_UECSG_POS 18
137#define ID_CFG_KEYSTORE_UECDH_POS 19
138#define ID_CFG_KEYSTORE_UAES_POS 20
139#define ID_CFG_KEYSTORE_UHMAC_POS 21
140#define ID_CFG_KEYSTORE_UKWK_POS 22
141#define ID_CFG_KEYSTORE_UKUOK_POS 23
142#define ID_CFG_KEYSTORE_UTLSPMS_POS 24
143#define ID_CFG_KEYSTORE_UTLSMS_POS 25
144#define ID_CFG_KEYSTORE_UKGSRC_POS 26
145#define ID_CFG_KEYSTORE_UHWO_POS 27
146#define ID_CFG_KEYSTORE_UWRPOK_POS 28
147#define ID_CFG_KEYSTORE_UDUK_POS 29
148#define ID_CFG_KEYSTORE_CMDCFG_TLS_FINAL_POS 10
149#define ID_CFG_KEYSTORE_CMDCFG_TLS_FINAL_FIN 1
150#define ID_CFG_KEYSTORE_CMDCFG_KEYIN_KFMT_POS 6
151#define ID_CFG_KEYSTORE_CMDCFG_KEYIN_KFMT_PUF 2
152#define ID_CFG_KEYSTORE_CMDCFG_KEYIN_KFMT_UDF 0
153#define ID_CFG_KEYSTORE_CMDCFG_KEYIN_KFMT_RFC 1
154#define ID_CFG_KEYSTORE_CMDCFG_KEYIN_KFMT_PBK 3
155#define ID_CFG_KEYSTORE_CMD_KEYGEN_KGSIGN 0
156#define ID_CFG_KEYSTORE_CMD_KEYGEN_KGTYPEDH 1
157#define ID_CFG_KEYSTORE_CMD_KEYGEN_KGSRC 2
158#define ID_CFG_KEYSTORE_CMD_ECSIGN_CFG_ECHASHCHL 0
159#define ID_CFG_KEYSTORE_CMD_ECSIGN_CFG_SIGNRTF 1
160#define ID_CFG_KEYSTORE_CMDCFG_EXTKEY 13
161#define ID_CFG_SYNTH_CLKPER 7.273
162#define IP_CFG_CSS_KS 1
163#define ID_CFG_SPB_MASKING 1
164#define ID_CFG_USE_SFR_SW_MASK 0
165#define ID_CFG_SPB_EDC 0
166#define ID_CFG_SPB_EDC_WIDTH 8
167#define ID_CFG_SPB_EDC_COMPLEXITY 1
168#define ID_CFG_SPB_MODEDC 0
169#define ID_CFG_CSS_USE_SEMAPHORE 1
170#define ID_CFG_CSS_MST_ID_WIDTH 5
171#define ID_CFG_CSS_PBK_IMPORT 1
172#define ID_CFG_CSS_ASSETPROT_PORT 1
173#define ID_CFG_CSS_CMD_CIPHER 0
174#define ID_CFG_CSS_CMD_AUTH_CIPHER 1
175#define ID_CFG_CSS_CMD_RFU_0 2
176#define ID_CFG_CSS_CMD_CHAL_RESP_GEN 3
177#define ID_CFG_CSS_CMD_ECSIGN 4
178#define ID_CFG_CSS_CMD_ECVFY 5
179#define ID_CFG_CSS_CMD_ECKXH 6
180#define ID_CFG_CSS_CMD_RFU_2 7
181#define ID_CFG_CSS_CMD_KEYGEN 8
182#define ID_CFG_CSS_CMD_KEYIN 9
183#define ID_CFG_CSS_CMD_KEYOUT 10
184#define ID_CFG_CSS_CMD_KDELETE 11
185#define ID_CFG_CSS_CMD_KEYPROV 12
186#define ID_CFG_CSS_CMD_RFU_4 13
187#define ID_CFG_CSS_CMD_RFU_5 14
188#define ID_CFG_CSS_CMD_RFU_6 15
189#define ID_CFG_CSS_CMD_CKDF 16
190#define ID_CFG_CSS_CMD_HKDF 17
191#define ID_CFG_CSS_CMD_TLS 18
192#define ID_CFG_CSS_CMD_RFU_7 19
193#define ID_CFG_CSS_CMD_HASH 20
194#define ID_CFG_CSS_CMD_HMAC 21
195#define ID_CFG_CSS_CMD_CMAC 22
196#define ID_CFG_CSS_CMD_RFU_9 23
197#define ID_CFG_CSS_CMD_RND_REQ 24
198#define ID_CFG_CSS_CMD_DRBG_TEST 25
199#define ID_CFG_CSS_CMD_DTRNG_PRVL_CFG_LOAD 26
200#define ID_CFG_CSS_CMD_RFU_12 27
201#define ID_CFG_CSS_CMD_DTRNG_CFG_LOAD 28
202#define ID_CFG_CSS_CMD_DTRNG_EVAL 29
203#define ID_CFG_CSS_CMD_GDET_CFG_LOAD 30
204#define ID_CFG_CSS_CMD_GDET_TRIM 31
205#define ID_CFG_CSS_CMD_EEM_GDET_WR 16
206#define ID_CFG_CSS_CMD_EEM_GDET_RD 17
207#define ID_CFG_CSS_CMD_CIPHER_DCRYPT 1
208#define ID_CFG_CSS_CMD_CIPHER_CPHMDE0 2
209#define ID_CFG_CSS_CMD_CIPHER_CPHMDE1 3
210#define ID_CFG_CSS_CMD_CIPHER_CPHSOE 4
211#define ID_CFG_CSS_CMD_CIPHER_CPHSIE 5
212#define ID_CFG_CSS_CMD_CIPHER_EXTKEY 13
213#define ID_CFG_CSS_CMD_AUTH_CIPHER_DCRYPT 1
214#define ID_CFG_CSS_CMD_AUTH_CIPHER_ACPMOD0 2
215#define ID_CFG_CSS_CMD_AUTH_CIPHER_ACPMOD1 3
216#define ID_CFG_CSS_CMD_AUTH_CIPHER_CPHSIE 5
217#define ID_CFG_CSS_CMD_AUTH_CIPHER_MSGENDW0 6
218#define ID_CFG_CSS_CMD_AUTH_CIPHER_MSGENDW1 7
219#define ID_CFG_CSS_CMD_AUTH_CIPHER_MSGENDW2 8
220#define ID_CFG_CSS_CMD_AUTH_CIPHER_MSGENDW3 9
221#define ID_CFG_CSS_CMD_AUTH_CIPHER_LASTINIT 10
222#define ID_CFG_CSS_CMD_AUTH_CIPHER_EXTKEY 13
223#define ID_CFG_CSS_CMD_ECSIGN_CFG_ECHASHCHL 0
224#define ID_CFG_CSS_CMD_ECSIGN_CFG_SIGNRTF 1
225#define ID_CFG_CSS_CMD_ECSIGN_CFG_REVF 4
226#define ID_CFG_CSS_CMD_ECVFY_CFG_ECHASHCHL 0
227#define ID_CFG_CSS_CMD_ECVFY_CFG_REVF 4
228#define ID_CFG_CSS_CMD_ECC_EXTKEY 13
229#define ID_CFG_CSS_CMD_ECKXH_REVF 4
230#define ID_CFG_CSS_CMD_KEYGEN_KGSIGN 0
231#define ID_CFG_CSS_CMD_KEYGEN_KGTYPEDH 1
232#define ID_CFG_CSS_CMD_KEYGEN_KGSRC 2
233#define ID_CFG_CSS_CMD_KEYGEN_SKIP_PBK 3
234#define ID_CFG_CSS_CMD_KEYGEN_REVF 4
235#define ID_CFG_CSS_CMD_KEYGEN_KGSIGN_RND 5
236#define ID_CFG_CSS_CMD_KEYIN_KFMT0 6
237#define ID_CFG_CSS_CMD_KEYIN_KFMT1 7
238#define ID_CFG_CSS_CMD_KEYIN_REVF 4
239#define ID_CFG_CSS_CMD_KEYPROV_ICEN 0
240#define ID_CFG_CSS_CMD_KEYPROV_DUK_UPDATE 1
241#define ID_CFG_CSS_CMD_CKDF_CKDF_ALGO0 12
242#define ID_CFG_CSS_CMD_CKDF_CKDF_ALGO1 13
243#define ID_CFG_CSS_CMD_HKDF_RTFDRVDAT 0
244#define ID_CFG_CSS_CMD_HKDF_HKDF_ALGO 1
245#define ID_CFG_CSS_CMD_HKDF_SINGLE_STEP 2
246#define ID_CFG_CSS_CMD_TLS_FINALIZE 10
247#define ID_CFG_CSS_CMD_HASH_HASHINI 2
248#define ID_CFG_CSS_CMD_HASH_HASHLD 3
249#define ID_CFG_CSS_CMD_HASH_HASHMD0 4
250#define ID_CFG_CSS_CMD_HASH_HASHMD1 5
251#define ID_CFG_CSS_CMD_HASH_HASHOE 6
252#define ID_CFG_CSS_CMD_HASH_RTFUPD 7
253#define ID_CFG_CSS_CMD_HASH_RTFOE 8
254#define ID_CFG_CSS_CMD_HMAC_EXTKEY 13
255#define ID_CFG_CSS_CMD_CMAC_INIT 0
256#define ID_CFG_CSS_CMD_CMAC_FINALIZE 1
257#define ID_CFG_CSS_CMD_CMAC_SOE 2
258#define ID_CFG_CSS_CMD_CMAC_SIE 3
259#define ID_CFG_CSS_CMD_CMAC_EXTKEY 13
260#define ID_CFG_CSS_CMD_RND_REQ_LOW_ENT_INIT 0
261#define ID_CFG_CSS_CMD_RND_REQ_RND_RAW 1
262#define ID_CFG_CSS_CMD_DRBG_TEST_MODE0 0
263#define ID_CFG_CSS_CMD_DRBG_TEST_MODE1 1
264#define ID_CFG_CSS_SGI 1
265#define ID_CFG_CSS_CRNG 1
266#define ID_CFG_CSS_SHA2 1
267#define ID_CFG_CSS_ECDSA 1
268#define ID_CFG_CSS_UDF 1
269#define ID_CFG_CSS_GDET 0
270#define ID_CFG_CSS_PRNG 1
271#define ID_CFG_CSS_KEYSTORE 1
272#define CSS_CNTRL__ADD_SHIFT 0
273#define ID_CFG_CSS_CHAL_RESP 0
274#define ID_CFG_DTRNG_FAST_CFG 1
275#define ID_CFG_CSS_DTRNG_SIMU_CFG 0
276#define ID_CFG_CSS_HAS_INT_KEYS 1
277#define ID_CFG_CSS_DRBG 1
278#define ID_CFG_CSS_CIPHER 1
279#define ID_CFG_CSS_AUTH_CIPHER 1
280#define ID_CFG_CSS_ECSIGN 1
281#define ID_CFG_CSS_ECVFY 1
282#define ID_CFG_CSS_ECKXCH 1
283#define ID_CFG_CSS_KEYGEN 1
284#define ID_CFG_CSS_KEYIN 1
285#define ID_CFG_CSS_KEYOUT 1
286#define ID_CFG_CSS_KDELETE 1
287#define ID_CFG_CSS_KEYPROV 1
288#define ID_CFG_CSS_CKDF 1
289#define ID_CFG_CSS_HKDF 1
290#define ID_CFG_CSS_TLS_INIT 1
291#define ID_CFG_CSS_HASH 1
292#define ID_CFG_CSS_HMAC 1
293#define ID_CFG_CSS_CMAC 1
294#define ID_CFG_CSS_RND_REQ 1
295#define ID_CFG_CSS_DRBG_TEST 1
296#define ID_CFG_CSS_DTRNG_CFG_LOAD 1
297#define ID_CFG_CSS_DTRNG_EVAL 1
298#define ID_CFG_CSS_GDET_CFG_LOAD 0
299#define ID_CFG_CSS_GDET_TRIM 0
300#define ID_CFG_CSS_CHAL_RESP_GEN 0
301#define ID_CFG_SW_VERSION 1
302#define ID_CFG_CSS_SW_VER 0x0000000000002040 // converted from 16'h2040
303#define ID_CFG_CSS_VER_X 3
304#define ID_CFG_CSS_VER_Y1 0
305#define ID_CFG_CSS_VER_Y2 4
306#define ID_CFG_CSS_VER_Z 0
307#define ID_CFG_CSS_MMU_NB_SLV 12
308#define ID_CFG_CSS_HW_EEM_KEY_WIDTH 128
309#define ID_CFG_CSS_SYNTH_CLKPER 7.5
310#define ID_CFG_CSS_SLV_SEL_WID 4
311#define ID_CFG_CSS_CSS_SELECT 0
312#define ID_CFG_CSS_DMA_SELECT 1
313#define ID_CFG_CSS_TDRND_SELECT 2
314#define ID_CFG_CSS_ECDSA_SELECT 3
315#define ID_CFG_CSS_SGI_SELECT 6
316#define ID_CFG_CSS_SHA_SELECT 4
317#define ID_CFG_CSS_UDF_SELECT 5
318#define ID_CFG_CSS_DRBG_SELECT 7
319#define ID_CFG_CSS_KEYSTORE_SELECT 8
320#define ID_CFG_CSS_CRNG_SELECT 9
321#define ID_CFG_CSS_GDET_SELECT 10
322#define ID_CFG_SPBD_WIDTH 32
323#define ID_CFG_SPBA_WIDTH 12
324#define ID_CFG_AHBD_WIDTH 32
325#define ID_CFG_AHBA_WIDTH 32
326#define ID_CFG_AHB_VIP 1
327#define ID_CFG_ECDSA_SYNTH_CLKPER 100
328#define ECDSA_LOW_POWER_SWIZZLER 1
329#define ECDSA_LADDINIT_RND_CNT 20
330#define ECDSA_SCALAR_RND_CNT 80
331#define ID_CFG_ECDSA_PKXOR 0
332#define ID_CFG_ECDSA_KEY_XCH 1
333#define ID_CFG_ECDSA_KEY_GEN 1
334#define ID_CFG_ECDSA_VERIFY 1
335#define ID_CFG_ECDSA_SIGN 1
336#define ID_CFG_ECDSA_128_BIT_MUL 1
337#define ID_CFG_ECDSA_RST_SECRETS 1
338#define IP_ECDSA_PROPS_OFF 1
339#define SHA2_SA 1
340#define SHA2_WAIT_OUT 1
341#define SHA2_SA_LITTLE_ENDIAN 1
342#define TRNG_CONFIG_CLN40ULPEF 0
343#define RNG4_RTL_BEHAVIORAL_OSC 0
344#define ID_CFG_DTRNG_SYNTH_CLKPER 1000
345#define ID_CFG_DTRNG_FAST_CONFIG 0
346#define ID_CFG_CSS_SYNTH 1
347#define ID_CFG_NO_CMODEL 1
348#define ID_CFG_ECDSA_NO_CMODEL 1
349#define ID_CFG_GDET_DEFINE_CDC 0
350#define ID_CFG_GDET_DEFINE_SCP_SPB_IF 0
351#define ID_CFG_DMA_AHB_BURST 0
352#define ID_CFG_DMA_STRM_CIRC_EN 0
353#define ID_CFG_DMA_SW_BYTE_SWAP 0
354#define ID_CFG_DMA_FA 1
355#define ID_CFG_UDF_IO_32_BIT 1
356#define ID_CFG_UDF_DFT_SYN 0
357#define ID_CFG_UDF_GTECH 1
358#define ID_CFG_UDF_OUTPUT_WIDTH 32
359#define ID_CFG_UDF_INPUT_WIDTH 32
360#define ID_CFG_UDF_INIT_CYCLES 9
361#define ID_CFG_UDF_APBA_WIDTH 12
362#define ID_CFG_UDF_APBD_WIDTH 32
363#define ID_CFG_UDF_SECURE_SCAN 1
364#define ID_CFG_UDF_MANGLED_RTL 0
365#define ID_CFG_UDF_MANGLED_WRAP 1
366#define ID_CFG_UDF_APB_WRAP 1
367#define ID_CFG_UDF_OUTPUT_IRQ 1
368#define ID_CFG_UDF_CUSTOM 1
369#define NETLIST_RELEASE 0
370#define ID_CFG_UDF_NO_CSV2A 1
371#define ID_CFG_DTRNG_CLN40ULPEF_9T 1
372#define ID_CFG_OSC_CLK_SYNTH_CLKPER 13.62
373#define ID_CFG_OSC2_CLK_SYNTH_CLKPER 17.30
374#define ID_CFG_FIXED_CLOCK 0
375#define ASM_FILE cssv2_riscv_boot.S
376#define LINK_FILE link.ld
377#define ID_CFG_CSS_INTERNAL_ROM 0
378#define ID_CFG_CSS_DTRNG_WRAP 1
379#define ID_CFG_CSS_UDF_NVA 1
380#define ID_CFG_CSS_APB2ROM 1
381#define ID_CFG_CSS_HAS_CMDCRC 1
382#define ID_CFG_CSS_NUM_ROM_LUTS 1
383#define ID_CFG_CSS_LUT_ROM 1
384#define ID_CFG_CSS_PUF_BEHAVIOURAL 0
385#define ID_CFG_CSS_CLKOP_SEL3 1
386#define ID_CFG_CSS_IS_NVA 1
387#define ID_CFG_CSS_ROM_SCRAMBLING 1
388#define ID_CFG_CSS_ROM_SCRAMBLER_NFR 2
389#define ID_CFG_CSS_36KB_ROM 1
390#define ID_CFG_CSS_ECDSA_ROM_SIZE 0x00000000000000000000000000000800 // converted from 32'h00000800
391#define ID_CFG_CSS_CPU_ROM_SIZE 0x00000000000000000000000000006FFC // converted from 32'h00006FFC
392#define ID_CFG_CSS_RODATA_BASE_ADDR 0x00000000000000000000000000006DFC // converted from 32'h00006DFC
393#define ID_CFG_CSS_TOTAL_ROM_SIZE 0x00000000000000000000000000009000 // converted from 32'h00009000
394#define ID_CFG_CSS_HW_EEM_EN 1
395#define ID_CFG_CSS_EEM_BOOT_ADDR 0x00000000000000000000000030010000 // converted from 32'h30010000
396#define ID_CFG_CSS_SFR_ACCESS_HACK 1
397#define ID_CFG_CSS_DTRNG_OSC_CLK_PERIOD 1.5
398#define ID_CFG_CSS_DTRNG_REF_CLK_PERIOD 9
399#define ID_CFG_CSS_ROM_SELECT 11
400#define ID_CFG_RISCV_MEM_SIZE 36
401#define RV32E_REGS 8
402#define ID_CFG_DMA_ENA_CRC 1
403#define ID_CFG_DMA_CRC_WIDTH 32
404#define ID_CFG_ECDSA_DH_STORE_PK 1
405#define ID_CFG_ECDSA_PKINT_DISABLE 1
406#define ID_CFG_ECDSA_USE_HQ_RND 1
407#define ID_CFG_ECDSA_USE_HASH_GEN_IRQ 1
408#define ID_CFG_ECDSA_USE_SCALAR_REQ_IRQ 1
409#define ID_CFG_ECDSA_OUTPUT_ERR 1
410#define ID_CFG_ECDSA_EXTLUT 1
411#define ID_CFG_ECDSA_EXTLUT_PHY 1
412#define ID_CFG_ECDSA_VFY_STATUS_OUT 1
413#define ID_CFG_ECDSA_SKIP_PBK 1
414#define ID_CFG_CSS_ECDSA_ROM_IMG ECDSA_LUT_ROM.v
415#define ID_CFG_CSS_ATT_DATA_PTR 0x00000000000000000000000000000100 // converted from 32'h00000100
416#define ID_CFG_CSS_ATT_DATA_LEN 0x00000000000000000000000000000020 // converted from 32'h00000020
417#define ID_CFG_SHA2_DIRECT 1
418#define ID_CFG_CSS_SHA2_WAIT 1
419#define ID_CFG_SGI_TMP_CSS_MODS 1
420#define ID_CFG_SGI_AUTO_CMAC 1
421#define KERNEL_INPUT_E2E_EDC_ENABLE 0
422#define ID_CFG_SGI_USE_AES_AEGIS_HS 1
423#define ID_CFG_AEGIS_DUMMY 1
424#define ID_CFG_SGI_USE_AES_ATHENIUM_HS 0
425#define ID_CFG_AES_KEEP_KEY 1
426#define ID_CFG_SGI_INTERRUPT 1
427#define ID_CFG_SGI_NO_SC 0
428#define ID_CFG_CRNG_PRNG_SCA_PURE_LFSR_A_WIDTH 41
429#define ID_CFG_CRNG_PRNG_SCA_PURE_LFSR_B_WIDTH 52
430#define ID_CFG_CRNG_PRNG_SCA_TRICKLE_LFSR_A_WIDTH 279
431#define ID_CFG_CRNG_PRNG_SCA_TRICKLE_LFSR_B_WIDTH 329
432#define ID_CFG_RNG4_INV_CHAIN_LENGTH_INST 16
433#define ID_CFG_RNG4_WIN_INV_CHAIN_LENGTH_INST 24
434#define ID_CFG_RNG4_ENT_DLY_DEFAULT_INST 3200
435#define ID_CFG_RNG4_FREQ_CNT_MIN_DEFAULT_INST 1600
436#define ID_CFG_RNG4_FREQ_CNT_MAX_DEFAULT_INST 25600
437#define ID_CFG_CSS_PHY_ROM gf40rfnv_nxp_hrom_009216x032bw1c08_ss_pt_m7
438#define ID_CFG_CSS_PHY_ROM_MEM_FILE gf40rfnv_nxp_hrom_008192x032bw1c08_ss_pt_m7_rniobe4a.cde
439
440#endif /* IP_CSS_DESIGN_CONFIGURATION_H_ */