FOSSEE / eSim

This repository contain source code for new flow of FreeEDA now know as eSim
GNU General Public License v3.0
82 stars 72 forks source link

Running NgVeri while the Ngspice window is still open leads to Ngveri.cm not accessible error. #242

Open Eyantra698Sumanto opened 1 year ago

Eyantra698Sumanto commented 1 year ago

Description

Running NgVeri while the Ngspice window is still open leads to Ngveri.cm not accessible error.

NgVeri should not be run when the Ngspice window is still open as the write access to Ngveri.cm is not available.

All the Ngspice windows need to be closed before running NgVeri.

Here is the error:

Error in Ngspice code model generation from Verilog: [Errno 13] Permission denied: 'D:/FOSSEE/nghdl-simulator/lib/ngspice/Ngveri.cm'

Steps to Reproduce

  1. Run eSim Ngspice Simulation. DO NOT close the window.

  2. Open Makerchip-NgVeri.

  3. Load a Verilog Code in Makerchip tab.

  4. Switch to the NgVeri Tab.

  5. Run NgVeri.

The following error pops up in the NgVeri Terminal.

Error in Ngspice code model generation from Verilog: [Errno 13] Permission denied: 'D:/FOSSEE/nghdl-simulator/lib/ngspice/Ngveri.cm'

Expected Behavior

Changes to be made in the code not to run NgVeri when Ngspice window is open.

Screenshots

image image

Version and OS