Closed Gogul-N closed 3 months ago
I have a text file. It has 32 bit data in each line up to 4096 lines. My testbench needs to read the text file and loads a memory which is connected to SHELL's PCIS/DMA using the following.
tb.poke(.addr(ADDR), .data(data), .id(AXI_ID), .size(DataSize::UINT32), .intf(AxiPort::PORT_DMA_PCIS));
How to achieve this?
Regards Gogul
Please refer https://repost.aws/en/questions/QUKZWIVslDRXitP8tBJFSUqQ/simulation-file-dump-to-a-memory
I have a text file. It has 32 bit data in each line up to 4096 lines. My testbench needs to read the text file and loads a memory which is connected to SHELL's PCIS/DMA using the following.
tb.poke(.addr(ADDR), .data(data), .id(AXI_ID), .size(DataSize::UINT32), .intf(AxiPort::PORT_DMA_PCIS));
How to achieve this?
Regards Gogul