I would like to seek clarification with the reset behaviour of the Verilog simulation model provided for the AT25SL321 SPI Flash device please.
https://www.dialog-semiconductor.com/sites/default/files/verilog_at25sl321.zip
The behaviour I wish to check is that of QPI Mode upon device reset. The datasheet states "..after software reset using the Reset (99h) instruction, the default state of the device is Standard/Dual/Quad SPI mode".
This, we interpret to mean that QPI mode is disabled by a software reset. The Quad Enable bit in Status Register-2 is non-volatile, so this would remain set but the Flash should be accessed with SPI instructions immediately after Reset.
The Verilog model has different behaviour (RTL snippet attached). Here, the QPI mode is retained after software reset because the Status Register-2 Quad Enable (QE) bit sets QPI_Mode directly in the reset procedure. For this to match the interpreted behaviour (and that seen in other Dialog memory devices) QPI_Mode should be set to 0 in the RST_Event process instead.
Is the model wrong or did I interpret the datasheet incorrectly?
Thanks
Andrew
Can someone please provide me a link to where I can download this latest simulation models for this device (AT25SL321).
Hi Marcod,Please refer on the AT25SL321 - 32Mbit, 1.7V Minimum SPI Serial Flash Memory with Dual I/O, Quad I/O and QPI Support | Renesas.Under Design & Development, select Models and you can find the Verilog model.For any further question please create a new ticket.Best Regards,OV_Renesas