forked from lowRISC/opentitan
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[chip,formal] Add AST mem cfg to conn csv
This commit enables splitting of CSVs by area so that it can be more cleanly maintained. In addition, the AST mem cfg signals are added to its own csv file. Signed-off-by: Srikrishna Iyer <[email protected]>
- Loading branch information
Showing
8 changed files
with
113 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Copyright lowRISC contributors. | ||
# Licensed under the Apache License, Version 2.0, see LICENSE for details. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
# Run these checks with: | ||
# ./util/dvsim/dvsim.py hw/top_earlgrey/formal/chip_conn_cfg.hjson | ||
|
||
,NAME,SRC BLOCK,SRC SIGNAL,DEST BLOCK,DEST SIGNAL,,,,,, | ||
|
||
# AST DFT module emits some configuration bits for single and dual port memories in the chip. These | ||
# cannot be covered functionally in the open source repo, since they are not used by the generic | ||
# memory models. TThese signals are excluded from coverage collection AFTER they have been added to | ||
# this checker. | ||
# | ||
# The source path (within AST) is inferred manually from the RTL. The destination paths are | ||
# obtained by running a basic chip level simulation with the plusarg "+show_mem_paths=1". | ||
|
||
# Dual port RAMs. | ||
# To spi_device. | ||
CONNECTION,AST_DFT_SPI_DEVICE_RAM_2P_CFG,u_ast.u_ast_dft,"{dpram_rmf_o, dpram_rml_o}",top_earlgrey.u_spi_device.u_memory_2p.u_mem.gen_generic.u_impl_generic,cfg_i | ||
|
||
# To usbdev. | ||
CONNECTION,AST_DFT_USBDEV_RAM_2P_CFG,u_ast.u_ast_dft,"{dpram_rmf_o, dpram_rml_o}",top_earlgrey.u_usbdev.u_memory_2p.u_mem.gen_generic.u_impl_generic,cfg_i | ||
|
||
# Single port RAMs. | ||
# To otbn. | ||
CONNECTION,AST_DFT_OTBN_IMEM_RAM_1P_CFG,u_ast.u_ast_dft,"{spram_rm_o, sprgf_rm_o}",top_earlgrey.u_otbn.u_imem.u_prim_ram_1p_adv.u_mem.gen_generic.u_impl_generic,cfg_i | ||
CONNECTION,AST_DFT_OTBN_DMEM_RAM_1P_CFG,u_ast.u_ast_dft,"{spram_rm_o, sprgf_rm_o}",top_earlgrey.u_otbn.u_dmem.u_prim_ram_1p_adv.u_mem.gen_generic.u_impl_generic,cfg_i | ||
|
||
# To rv_core_ibex. | ||
CONNECTION,AST_DFT_RV_CORE_IBEX_TAG0_RAM_1P_CFG,u_ast.u_ast_dft,"{spram_rm_o, sprgf_rm_o}",top_earlgrey.u_rv_core_ibex.u_core.gen_rams.gen_rams_inner[0].tag_bank.gen_generic.u_impl_generic,cfg_i | ||
CONNECTION,AST_DFT_RV_CORE_IBEX_TAG1_RAM_1P_CFG,u_ast.u_ast_dft,"{spram_rm_o, sprgf_rm_o}",top_earlgrey.u_rv_core_ibex.u_core.gen_rams.gen_rams_inner[1].tag_bank.gen_generic.u_impl_generic,cfg_i | ||
CONNECTION,AST_DFT_RV_CORE_IBEX_DATA0_RAM_1P_CFG,u_ast.u_ast_dft,"{spram_rm_o, sprgf_rm_o}",top_earlgrey.u_rv_core_ibex.u_core.gen_rams.gen_rams_inner[0].data_bank.gen_generic.u_impl_generic,cfg_i | ||
CONNECTION,AST_DFT_RV_CORE_IBEX_DATA1_RAM_1P_CFG,u_ast.u_ast_dft,"{spram_rm_o, sprgf_rm_o}",top_earlgrey.u_rv_core_ibex.u_core.gen_rams.gen_rams_inner[1].data_bank.gen_generic.u_impl_generic,cfg_i | ||
|
||
# To sram_ctrl (main). | ||
CONNECTION,AST_DFT_SRAM_MAIN_RAM_1P_CFG,u_ast.u_ast_dft,"{spram_rm_o, sprgf_rm_o}",top_earlgrey.u_sram_ctrl_main.u_prim_ram_1p_scr.u_prim_ram_1p_adv.u_mem.gen_generic.u_impl_generic,cfg_i | ||
|
||
# To sram_ctrl (ret). | ||
CONNECTION,AST_DFT_SRAM_RET_RAM_1P_CFG,u_ast.u_ast_dft,"{spram_rm_o, sprgf_rm_o}",top_earlgrey.u_sram_ctrl_ret_aon.u_prim_ram_1p_scr.u_prim_ram_1p_adv.u_mem.gen_generic.u_impl_generic,cfg_i | ||
|
||
# To rom. | ||
CONNECTION,AST_DFT_ROM_CFG,u_ast.u_ast_dft,sprom_rm_o,top_earlgrey.u_rom_ctrl.gen_rom_scramble_enabled.u_rom.u_rom.u_prim_rom.gen_generic.u_impl_generic,cfg_i |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Copyright lowRISC contributors. | ||
# Licensed under the Apache License, Version 2.0, see LICENSE for details. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
# Run these checks with: | ||
# ./util/dvsim/dvsim.py hw/top_earlgrey/formal/chip_conn_cfg.hjson | ||
|
||
,NAME,SRC BLOCK,SRC SIGNAL,DEST BLOCK,DEST SIGNAL,,,,,, | ||
|
||
# clkmgr idle connectivity | ||
CONNECTION,CLKMGR_IDLE0,top_earlgrey.u_clkmgr_aon,idle_i[0],top_earlgrey.u_aes,idle_o | ||
CONNECTION,CLKMGR_IDLE1,top_earlgrey.u_clkmgr_aon,idle_i[1],top_earlgrey.u_hmac,idle_o | ||
CONNECTION,CLKMGR_IDLE2,top_earlgrey.u_clkmgr_aon,idle_i[2],top_earlgrey.u_kmac,idle_o | ||
CONNECTION,CLKMGR_IDLE3,top_earlgrey.u_clkmgr_aon,idle_i[3],top_earlgrey.u_otbn,idle_o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Copyright lowRISC contributors. | ||
# Licensed under the Apache License, Version 2.0, see LICENSE for details. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
# Run these checks with: | ||
# ./util/dvsim/dvsim.py hw/top_earlgrey/formal/chip_conn_cfg.hjson | ||
|
||
,NAME,SRC BLOCK,SRC SIGNAL,DEST BLOCK,DEST SIGNAL,,,,,, | ||
|
||
# clkmgr trans clock connectivity | ||
CONNECTION,CLKMGR_AES,top_earlgrey.u_clkmgr_aon,clocks_o.clk_main_aes,top_earlgrey.u_aes,clk_i | ||
CONNECTION,CLKMGR_AES_EDN,top_earlgrey.u_clkmgr_aon,clocks_o.clk_main_aes,top_earlgrey.u_aes,clk_edn_i | ||
CONNECTION,CLKMGR_HMAC,top_earlgrey.u_clkmgr_aon,clocks_o.clk_main_hmac,top_earlgrey.u_hmac,clk_i | ||
CONNECTION,CLKMGR_KMAC,top_earlgrey.u_clkmgr_aon,clocks_o.clk_main_kmac,top_earlgrey.u_kmac,clk_i | ||
CONNECTION,CLKMGR_KMAC_EDN,top_earlgrey.u_clkmgr_aon,clocks_o.clk_main_kmac,top_earlgrey.u_kmac,clk_edn_i | ||
CONNECTION,CLKMGR_OTBN,top_earlgrey.u_clkmgr_aon,clocks_o.clk_main_otbn,top_earlgrey.u_otbn,clk_i | ||
CONNECTION,CLKMGR_OTBN_EDN,top_earlgrey.u_clkmgr_aon,clocks_o.clk_main_otbn,top_earlgrey.u_otbn,clk_edn_i |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Copyright lowRISC contributors. | ||
# Licensed under the Apache License, Version 2.0, see LICENSE for details. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
# Run these checks with: | ||
# ./util/dvsim/dvsim.py hw/top_earlgrey/formal/chip_conn_cfg.hjson | ||
|
||
,NAME,SRC BLOCK,SRC SIGNAL,DEST BLOCK,DEST SIGNAL,,,,,, | ||
|
||
# pwrmgr rstmgr connections | ||
CONNECTION,CLKMGR_RST_LC_REQ,top_earlgrey.u_pwrmgr_aon,pwr_rst_o.rst_lc_req,top_earlgrey.u_rstmgr_aon,pwr_i.rst_lc_req | ||
CONNECTION,CLKMGR_RST_SYS_REQ,top_earlgrey.u_pwrmgr_aon,pwr_rst_o.rst_sys_req,top_earlgrey.u_rstmgr_aon,pwr_i.rst_sys_req | ||
CONNECTION,CLKMGR_RST_LC_SRC_N,top_earlgrey.u_pwrmgr_aon,pwr_rst_i.rst_lc_src_n,top_earlgrey.u_rstmgr_aon,pwr_o.rst_lc_src_n | ||
CONNECTION,CLKMGR_RST_SYS_SRC_N,top_earlgrey.u_pwrmgr_aon,pwr_rst_i.rst_sys_src_n,top_earlgrey.u_rstmgr_aon,pwr_o.rst_sys_src_n |