electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

verilog simulation array to file conversion


Post new topic  Reply to topic    EDAboard.com Forum Index -> PLD, SPLD, GAL, CPLD, FPGA Design -> verilog simulation array to file conversion
Author Message
zeeshanzia84



Joined: 29 May 2006
Posts: 202
Helped: 19
Location: Pakistan / Germany


Post27 Jul 2007 11:49   

verilog simulation array to file conversion


Hi,

I have an array of vectors declared like (VERILOG):

reg [7:0] my_array[5000];

Afterwards, some data gets stored into this array as a result of some operations, done in a verilog simulation (i am using modelsim).

Is there any easy/direct way to save the contents of this array into a file say 'xyz.dat'??? Can someone give me some Verilog code or some code in some scripting language that ModelsimXE might support???

Thanks.
Back to top
Google
AdSense
Google Adsense




Post27 Jul 2007 11:49   

Ads




Back to top
darylz



Joined: 24 Mar 2005
Posts: 132
Helped: 4


Post28 Jul 2007 2:20   

verilog simulation array to file conversion


you can write a loop to dump it to a file. It will not take time longer than you posted this message.
Back to top
sohiltri



Joined: 16 Dec 2006
Posts: 90
Helped: 5


Post28 Jul 2007 3:50   

Re: verilog simulation array to file conversion


i wonder wil it store while simulating....loop can only store initial value....

but....If u are using 5000 cells ...than it is btter to use ram generator using some tools ehich vendor provides....this r IP cores....u can easily store info inside IP cores to any file u want (even externally)....make sure u hav requiored compiler...
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> PLD, SPLD, GAL, CPLD, FPGA Design -> verilog simulation array to file conversion
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
array initialization on separate file in verilog (14)
IE3D file conversion to Gerber file (3)
Is there some tools for convert VHDL file to verilog file? (1)
Verilog 2001 File I/O: read large file? (1)
How To Convert VERILOG FILE TO VHDL FILE (2)
conversion of file (2)
technology File conversion (8)
VHDL to Verilog conversion (1)
Type conversion in verilog (7)
File conversion to Allegro v14 (1)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS