Forum Discussion
4 Replies
- Altera_Forum
Honored Contributor
--- Quote Start --- I wonder how I can configure "unsigned" or "decimal" as default instead of setting it each time? --- Quote End --- modelsim.ini has a default radix setting. However, I find its more useful to: 1) Setup the waveform window how you like it, including signal radix and adding separators 2) Save the waveform, eg., my_tb.do 3) Then just load the waveform, i.e., do my_tb.do Cheers, Dave - Altera_Forum
Honored Contributor
Thanks, Dave. This is actually create a macro file .do to do the same procedure. However, if I
edit the files (e.g. HDL design files) which I used for simulation, I need recompile all the files, then the old .do files will not work, and I need to save a new one, right? - Altera_Forum
Honored Contributor
--- Quote Start --- create a macro file .do to do the same procedure. --- Quote End --- Yes, that's right. --- Quote Start --- However, if I edit the files (e.g. HDL design files) which I used for simulation, I need recompile all the files, then the old .do files will not work, and I need to save a new one, right? --- Quote End --- Only if you change the hierarchy of the design. But even then, you can think of the .do file as just another source file. When you edit the HDL and change the hierarchy, go and make the corresponding changes in the .do file. If you were using SignalTap II to probe the design, you'd also have to make the same change there, so its really not that much of an effort, or a change in mind-set. Cheers, Dave - Altera_Forum
Honored Contributor
Thanks, Dave. I will try it. If I confront some problems, I will post here again.