Oct 20, 2018 #1 L liletian Full Member level 6 Joined Mar 5, 2008 Messages 337 Helped 2 Reputation 4 Reaction score 2 Trophy points 1,298 Activity points 3,790 Hi All In my digital design, the memory size is 65536 16bits memory. However, in the simulation, I would like to save the first 100 memory 16bits. Can anyone tell me how to do it in script? probe -create -unpacked 65536 top.cpu.m[0] ? Thanks
Hi All In my digital design, the memory size is 65536 16bits memory. However, in the simulation, I would like to save the first 100 memory 16bits. Can anyone tell me how to do it in script? probe -create -unpacked 65536 top.cpu.m[0] ? Thanks
Oct 21, 2018 #2 T ThisIsNotSam Advanced Member level 5 Joined Apr 6, 2016 Messages 2,562 Helped 397 Reputation 794 Reaction score 466 Trophy points 1,363 Activity points 14,844 liletian said: Hi All In my digital design, the memory size is 65536 16bits memory. However, in the simulation, I would like to save the first 100 memory 16bits. Can anyone tell me how to do it in script? probe -create -unpacked 65536 top.cpu.m[0] ? Thanks Click to expand... this question is not related to digital design, it is either related to a specific simulator or to a language. Why can't you write a little code snippet that reads only the addresses that you care about? A simple for loop would do it.
liletian said: Hi All In my digital design, the memory size is 65536 16bits memory. However, in the simulation, I would like to save the first 100 memory 16bits. Can anyone tell me how to do it in script? probe -create -unpacked 65536 top.cpu.m[0] ? Thanks Click to expand... this question is not related to digital design, it is either related to a specific simulator or to a language. Why can't you write a little code snippet that reads only the addresses that you care about? A simple for loop would do it.