Forums

How to run ModelSim overnight with display off

Started by Tianxiang Weng June 11, 2021
Hi,
I want to run ModelSim overnight when I am sleeping.

How to run an application overnight with the display off in the laptop with Windows 10? 

Is there a shortcut keystroke to turn the screen off while running an application background?

Thank you.

Weng

On 11/06/2021 20:41, Tianxiang Weng wrote:
> Hi, > I want to run ModelSim overnight when I am sleeping. > > How to run an application overnight with the display off in the laptop with Windows 10? > > Is there a shortcut keystroke to turn the screen off while running an application background? > > Thank you.
I've used Nirsofts command line facility with a shortcut key. This article gives a clue: https://www.howtogeek.com/howto/windows-vista/create-a-shortcut-or-hotkey-to-turn-off-the-monitor/ -- Mike Perkins Video Solutions Ltd www.videosolutions.ltd.uk
On Friday, June 11, 2021 at 4:06:42 PM UTC-7, Mike Perkins wrote:
> On 11/06/2021 20:41, Tianxiang Weng wrote: > > Hi, > > I want to run ModelSim overnight when I am sleeping. > > > > How to run an application overnight with the display off in the laptop with Windows 10? > > > > Is there a shortcut keystroke to turn the screen off while running an application background? > > > > Thank you. > I've used Nirsofts command line facility with a shortcut key. This > article gives a clue: > > https://www.howtogeek.com/howto/windows-vista/create-a-shortcut-or-hotkey-to-turn-off-the-monitor/ > > > -- > Mike Perkins > Video Solutions Ltd > www.videosolutions.ltd.uk
Hi Mike, Thank you for your help. I will try the software. Weng
On Friday, June 11, 2021 at 6:02:50 PM UTC-7, Tianxiang Weng wrote:
> On Friday, June 11, 2021 at 4:06:42 PM UTC-7, Mike Perkins wrote: > > On 11/06/2021 20:41, Tianxiang Weng wrote: > > > Hi, > > > I want to run ModelSim overnight when I am sleeping. > > > > > > How to run an application overnight with the display off in the laptop with Windows 10? > > > > > > Is there a shortcut keystroke to turn the screen off while running an application background? > > > > > > Thank you. > > I've used Nirsofts command line facility with a shortcut key. This > > article gives a clue: > > > > https://www.howtogeek.com/howto/windows-vista/create-a-shortcut-or-hotkey-to-turn-off-the-monitor/ > > > > > > -- > > Mike Perkins > > Video Solutions Ltd > > www.videosolutions.ltd.uk > Hi Mike, > > Thank you for your help. > > I will try the software. > > Weng
Hi Mike, It is interesting that I found another method on youtube: How to Turn off Screen of a Laptop but Keep PC Running In Windows 10/8/7; https://www.youtube.com/watch?v=iBp8B7Vicvs This method is permanently to Turn off Screen of a Laptop but Keep PC Running In Windows 10 when laptop' lid is closed. If you are to cancel the mode, reset the Window settings. I don't know which method is better. Weng
Tianxiang Weng <wtxwtx@gmail.com> wrote:
> It is interesting that I found another method on youtube: How to Turn off > Screen of a Laptop but Keep PC Running In Windows 10/8/7; > https://www.youtube.com/watch?v=iBp8B7Vicvs > > This method is permanently to Turn off Screen of a Laptop but Keep PC > Running In Windows 10 when laptop' lid is closed. If you are to cancel > the mode, reset the Window settings.
It is generally not a good idea to shut a laptop that's working hard. The reason is many laptops direct hot exhaust air up the front of the screen, and shutting the screen blocks the vent. Obviously you should check the situation for your specific laptop, but I'd recommend putting the laptop on a hard surface and leaving it open, which will allow maximum airflow. Alternatively you can stand it on its end like a book (assuming there are no vents on the sides that this would block). As well as not overheating, better cooling may make your simulation run faster because it can clock the CPU higher without overheating. Theo
On 11/06/2021 20:41, Tianxiang Weng wrote:
> Hi, > I want to run ModelSim overnight when I am sleeping. > > How to run an application overnight with the display off in the laptop with Windows 10? > > Is there a shortcut keystroke to turn the screen off while running an application background? > > Thank you. > > Weng >
I believe you are running the Intel Starter edition? If you need to run your simulation overnight that you have most certainly hit the instance limit which means your simulation speed will grind to a halt (1% of full PE/DE speed). I would suggest you try to split your testbench into smaller chunks so you stay within the instance limit and get 40-50% speed of PE/DE. Good luck, Hans www.ht-lab.com
On Sunday, June 13, 2021 at 1:46:02 AM UTC-7, HT-Lab wrote:
> On 11/06/2021 20:41, Tianxiang Weng wrote: > > Hi, > > I want to run ModelSim overnight when I am sleeping. > > > > How to run an application overnight with the display off in the laptop with Windows 10? > > > > Is there a shortcut keystroke to turn the screen off while running an application background? > > > > Thank you. > > > > Weng > > > I believe you are running the Intel Starter edition? > > If you need to run your simulation overnight that you have most > certainly hit the instance limit which means your simulation speed will > grind to a halt (1% of full PE/DE speed). I would suggest you try to > split your testbench into smaller chunks so you stay within the instance > limit and get 40-50% speed of PE/DE. > > Good luck, > Hans > www.ht-lab.com
Hi Hans, I calculate my first project, it has less than 5,000 lines, including all expansion codes, well below the 10,000 lines limit set by the Intel Starter edition. I have many projects all of which are below the 10,000 lines limit, including the testing module. The simulation speed is good, faster than the PE version I used before. Finally, I decide not to run ModelSim very long, 1,000,000,000 ns is enough. Every clock cycle is 10 ns and it took 2 hours. Thank you. Weng
On Saturday, June 12, 2021 at 3:09:05 PM UTC-7, Theo wrote:
> Tianxiang Weng <wtx...@gmail.com> wrote: > > It is interesting that I found another method on youtube: How to Turn off > > Screen of a Laptop but Keep PC Running In Windows 10/8/7; > > https://www.youtube.com/watch?v=iBp8B7Vicvs > > > > This method is permanently to Turn off Screen of a Laptop but Keep PC > > Running In Windows 10 when laptop' lid is closed. If you are to cancel > > the mode, reset the Window settings. > It is generally not a good idea to shut a laptop that's working hard. The > reason is many laptops direct hot exhaust air up the front of the screen, > and shutting the screen blocks the vent. > > Obviously you should check the situation for your specific laptop, but I'd > recommend putting the laptop on a hard surface and leaving it open, which > will allow maximum airflow. Alternatively you can stand it on its end like > a book (assuming there are no vents on the sides that this would block). > > As well as not overheating, better cooling may make your simulation run > faster because it can clock the CPU higher without overheating. > > Theo
Hi Theo, I think a laptop's fan is still working when its screen is turned off. Based on the method suggested on YouTube, the laptop never goes to sleep, and just turns off the screen. Am I wrong? I think your idea is good. Weng
On Sunday, June 13, 2021 at 5:24:51 AM UTC-7, Tianxiang Weng wrote:
> On Saturday, June 12, 2021 at 3:09:05 PM UTC-7, Theo wrote: > > Tianxiang Weng <wtx...@gmail.com> wrote: > > > It is interesting that I found another method on youtube: How to Turn off > > > Screen of a Laptop but Keep PC Running In Windows 10/8/7; > > > https://www.youtube.com/watch?v=iBp8B7Vicvs > > > > > > This method is permanently to Turn off Screen of a Laptop but Keep PC > > > Running In Windows 10 when laptop' lid is closed. If you are to cancel > > > the mode, reset the Window settings. > > It is generally not a good idea to shut a laptop that's working hard. The > > reason is many laptops direct hot exhaust air up the front of the screen, > > and shutting the screen blocks the vent. > > > > Obviously you should check the situation for your specific laptop, but I'd > > recommend putting the laptop on a hard surface and leaving it open, which > > will allow maximum airflow. Alternatively you can stand it on its end like > > a book (assuming there are no vents on the sides that this would block). > > > > As well as not overheating, better cooling may make your simulation run > > faster because it can clock the CPU higher without overheating. > > > > Theo > Hi Theo, > I think a laptop's fan is still working when its screen is turned off. Based on the method suggested on YouTube, the laptop never goes to sleep, and just turns off the screen. > > Am I wrong? > > I think your idea is good. > > Weng
Hi, Here is another YouTube video, doing what I want to do "How to run ModelSim overnight with display off"", https://www.youtube.com/watch?v=FffUQiAFznc Close Laptop and Use External Monitor to Display | Lid Closed and Use External Monitor Display, Based on the described function, when the laptop lid is closed, its fan is still working! Weng
On Monday, June 14, 2021 at 12:35:10 AM UTC-7, Tianxiang Weng wrote:
> On Sunday, June 13, 2021 at 5:24:51 AM UTC-7, Tianxiang Weng wrote: > > On Saturday, June 12, 2021 at 3:09:05 PM UTC-7, Theo wrote: > > > Tianxiang Weng <wtx...@gmail.com> wrote: > > > > It is interesting that I found another method on youtube: How to Turn off > > > > Screen of a Laptop but Keep PC Running In Windows 10/8/7; > > > > https://www.youtube.com/watch?v=iBp8B7Vicvs > > > > > > > > This method is permanently to Turn off Screen of a Laptop but Keep PC > > > > Running In Windows 10 when laptop' lid is closed. If you are to cancel > > > > the mode, reset the Window settings. > > > It is generally not a good idea to shut a laptop that's working hard. The > > > reason is many laptops direct hot exhaust air up the front of the screen, > > > and shutting the screen blocks the vent. > > > > > > Obviously you should check the situation for your specific laptop, but I'd > > > recommend putting the laptop on a hard surface and leaving it open, which > > > will allow maximum airflow. Alternatively you can stand it on its end like > > > a book (assuming there are no vents on the sides that this would block). > > > > > > As well as not overheating, better cooling may make your simulation run > > > faster because it can clock the CPU higher without overheating. > > > > > > Theo > > Hi Theo, > > I think a laptop's fan is still working when its screen is turned off. Based on the method suggested on YouTube, the laptop never goes to sleep, and just turns off the screen. > > > > Am I wrong? > > > > I think your idea is good. > > > > Weng > Hi, > Here is another YouTube video, doing what I want to do "How to run ModelSim overnight with display off"", https://www.youtube.com/watch?v=FffUQiAFznc > Close Laptop and Use External Monitor to Display | Lid Closed and Use External Monitor Display, > Based on the described function, when the laptop lid is closed, its fan is still working! > > Weng
Hi, I am sorry that I wrongly said that it took me 2 hours to run simulations for my project for 1,000,000,000 ns. But this time I had a clear starting time by file *.cr and found that it took me 9 hours to do the simulation. I am still satisfied with the speed and function of Intel ModelSim Starter Edition, the reason is I don' have to repeat the long simulation very often, and the next project will continue its code testing. Thank you. Weng