Closed morris-c-mao closed 2 months ago
1.1 is tagged a week or so ago. May be ROM+RTL combo you are using?
We tried v1.1. The symptoms are the same no matter combining with ROM v1.0.1 or v1.0.2.
Update:
The Fatal Error is because data output from DCCM is not latched by following Flip-Flop correctly. If we change DCCM from real SRAM model fo Flip-Flop type, KAT simulation is passed. Or adding unit delay on SRAM output also helps.
Thanks for the update Morris. The integration spec details the SRAM implementation here, for future reference: https://github.com/chipsalliance/caliptra-rtl/blob/main/docs/CaliptraIntegrationSpecification.md#sram-timing-behavior
Thanks Nitsirks. The SRAM timing matches document, model or Flip-Flop type. We guess the issue is because of simulation enviornment, maybe our setting or simulator, Cadence Xcelium, itself. We will try Synopsys VCS when we have chance.
Simulation Env:
Tried RTL: v1.0 or commit 41b77ba
Tried ROM: v1.0.1 or v1.0.2
Sympton (identical on RTL v1.0 or commit 41b77ba) :
Description
We are doing RTL/ROM simulation to make sure integration is good and encounter simulation results as above. Besides simulation, we also build Xilinx FPGA. FPGA works with KAT. We think it might not be ROM issue because RV's AHB accesses are as expected. For example, with ROM v1.0.2, RV reads sha256 results from controller and ROM. This is as expected. However the comparing result is NG. Are there something we missed?
BTW, is a new release, like v1.1, coming soon?