-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Microarchitectural test for ICCM #124
Conversation
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
module el2_ifu_iccm_mem_wrapper | ||
import el2_pkg::*; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
import el2_pkg::*; | |
import el2_pkg::*; |
import el2_pkg::*; | ||
#( | ||
`include "el2_param.vh" | ||
)( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
)( | |
) ( |
// Pack iccm_ext_in_pkt | ||
el2_ccm_ext_in_pkt_t [pt.ICCM_NUM_BANKS-1:0] iccm_ext_in_pkt; | ||
|
||
for (genvar i=0; i<pt.ICCM_NUM_BANKS; i++) begin | ||
assign iccm_ext_in_pkt[i].TEST1 = iccm_ext_in_pkt_TEST1; | ||
assign iccm_ext_in_pkt[i].RME = iccm_ext_in_pkt_RME; | ||
assign iccm_ext_in_pkt[i].RM = iccm_ext_in_pkt_RM; | ||
assign iccm_ext_in_pkt[i].LS = iccm_ext_in_pkt_LS; | ||
assign iccm_ext_in_pkt[i].DS = iccm_ext_in_pkt_DS; | ||
assign iccm_ext_in_pkt[i].SD = iccm_ext_in_pkt_SD; | ||
assign iccm_ext_in_pkt[i].TEST_RNM = iccm_ext_in_pkt_TEST_RNM; | ||
assign iccm_ext_in_pkt[i].BC1 = iccm_ext_in_pkt_BC1; | ||
assign iccm_ext_in_pkt[i].BC2 = iccm_ext_in_pkt_BC2; | ||
end | ||
|
||
// The ICCM module | ||
el2_ifu_iccm_mem mem (.*); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
// Pack iccm_ext_in_pkt | |
el2_ccm_ext_in_pkt_t [pt.ICCM_NUM_BANKS-1:0] iccm_ext_in_pkt; | |
for (genvar i=0; i<pt.ICCM_NUM_BANKS; i++) begin | |
assign iccm_ext_in_pkt[i].TEST1 = iccm_ext_in_pkt_TEST1; | |
assign iccm_ext_in_pkt[i].RME = iccm_ext_in_pkt_RME; | |
assign iccm_ext_in_pkt[i].RM = iccm_ext_in_pkt_RM; | |
assign iccm_ext_in_pkt[i].LS = iccm_ext_in_pkt_LS; | |
assign iccm_ext_in_pkt[i].DS = iccm_ext_in_pkt_DS; | |
assign iccm_ext_in_pkt[i].SD = iccm_ext_in_pkt_SD; | |
assign iccm_ext_in_pkt[i].TEST_RNM = iccm_ext_in_pkt_TEST_RNM; | |
assign iccm_ext_in_pkt[i].BC1 = iccm_ext_in_pkt_BC1; | |
assign iccm_ext_in_pkt[i].BC2 = iccm_ext_in_pkt_BC2; | |
end | |
// The ICCM module | |
el2_ifu_iccm_mem mem (.*); | |
// Pack iccm_ext_in_pkt | |
el2_ccm_ext_in_pkt_t [pt.ICCM_NUM_BANKS-1:0] iccm_ext_in_pkt; | |
for (genvar i = 0; i < pt.ICCM_NUM_BANKS; i++) begin | |
assign iccm_ext_in_pkt[i].TEST1 = iccm_ext_in_pkt_TEST1; | |
assign iccm_ext_in_pkt[i].RME = iccm_ext_in_pkt_RME; | |
assign iccm_ext_in_pkt[i].RM = iccm_ext_in_pkt_RM; | |
assign iccm_ext_in_pkt[i].LS = iccm_ext_in_pkt_LS; | |
assign iccm_ext_in_pkt[i].DS = iccm_ext_in_pkt_DS; | |
assign iccm_ext_in_pkt[i].SD = iccm_ext_in_pkt_SD; | |
assign iccm_ext_in_pkt[i].TEST_RNM = iccm_ext_in_pkt_TEST_RNM; | |
assign iccm_ext_in_pkt[i].BC1 = iccm_ext_in_pkt_BC1; | |
assign iccm_ext_in_pkt[i].BC2 = iccm_ext_in_pkt_BC2; | |
end | |
// The ICCM module | |
el2_ifu_iccm_mem mem (.*); |
Links to coverage and verification reports for this PR (#124) are available at https://chipsalliance.github.io/Cores-VeeR-EL2/ |
Internal-tag: [#49748] Signed-off-by: Maciej Kurc <[email protected]>
Internal-tag: [#49748] Signed-off-by: Maciej Kurc <[email protected]>
Internal-tag: [#49748] Signed-off-by: Maciej Kurc <[email protected]>
Links to coverage and verification reports for this PR (#124) are available at https://chipsalliance.github.io/Cores-VeeR-EL2/ |
LGTM |
This PR adds a microarchitectural test for the ICCM module. The test is written using pyuvm framework.