Jump to content

chessat2002

Members
  • Content Count

    5
  • Joined

  • Last visited

  1. Thanks a lot for your fast answers! @Hans64: thanks for that information, I'll try to switch to version 10.2 ASAP. @Philipp: this was exactly what I was looking for, I've completly overlooked this option in the manual, thanks a lot. Alex'
  2. Hi, I'm currently doing mixed-mode simulations using SystemC testbenches and VHDL/Verilog designs. For generating SystemC foreign modules, I use the scgenmod utility provided by QuestaSim (V 10.0). For Verilog designs, I did not face any problems until now. However, for VHDL designs, scgenmod fails if the top entity contains signed/unsigned data types or generic bitwidths for any data types. Are there any known work-arounds expect than adapting the entity interface? Best regards, Alex'
  3. Hi! Thanks a lot, "onbreak {resume}" works fine! (I really don't remember the resons for discarding this idea ...) At the moment, I even have a second solution which just stops all stimuli generation to end simulation. Cheers, Alex'
  4. Hi dave, thanks a lot for your hint to this package. I'll have a look if it compiles with VHDL'87. However, I'm still sure that there must be any solution using parameters/variables. Thanks, Alex'
  5. Hi there, I'm facing a quiet annoying problem with my QuestaSim VHDL simulations. I'm using the following construct in my testbenches to terminate simulations: report "This is NOT an ERROR. This is the END of my simulation ..." severity failure; To start my simulation, I run a simple .do script like: run.do: ---------- ... run -all ... puts "We're done!" exit ---------- My problem is that the simulation "breaks" with the "failure" report statement and vsim is in the "paused" state afterwards. This means my macro (my run.do file) is "paused" at the "run -all" line and it won't execute the following statements. To continue the simulation (=execute the rest of the macro), I have to manually type "resume" in the GUI prompt. The desired behavior for me would be the following: In GUI mode: Run the full macro and ask if I really want tro exit simulation at the end. In batch mode: Run the full macro and terminate/exit at the end. I have already tried to find a solution using the "onfinish {...}" command but this didn't work. My QuestaSim version: 10.0d (revison 2011/12). Thank's a lot for your help! Alex'
×
×
  • Create New...