Skip to content

Makerchip Integration Error: Verilog to Ngveri Conversion Fails on Windows 11 (eSim 2.3) #343

@Anwesha06

Description

@Anwesha06

Description

I encountered an issue when creating a custom IC using the Makerchip tool integrated within eSim 2.3 on my Windows 11 system.

Steps to reproduce

  1. Open eSim 2.3 on Windows 11.
  2. Utilise the Makerchip integration feature to design an IC.
  3. Upload and verify the Verilog code within Makerchip.
  4. Attempt to convert the Verilog code to ngveri in the Ngveri terminal of Makerhip.
  5. Observe the attached error messages in the terminal output.

Expected behaviour

The Verilog code should successfully convert to ngveri format without errors, allowing for further simulation or integration into an eSim schematic.

Actual Behaviour:

The terminal throws errors during the Verilog to ngveri conversion process, preventing the creation of the custom IC.

Screenshots

Image

Image

Image

Image

Image

Image

Image

Reason for the Errors:

Mingw/MSYS is pre-installed in the user's system.

Steps to Rectify the Error:

  1. Add PERL5LIB to the environment variables and then add its path to the Path system variable.
  2. Verify that warnings.pm is present in the core_perl folder.
  3. Ensure Cwd.pm is also present in the core_perl folder.
  4. Add gcc and g++ to both user and system environment variables, if not already present.
  5. In the command prompt, navigate to FOSSEE/nghdl-simulator/release/src/xspice/icm and run the command: FOSSEE/MSYS/mingw64/bin/mingw32-make.exe clean. After that, run: FOSSEE/MSYS/mingw64/bin/mingw32-make.exe.
  6. Copy the verilator.o file from FOSSEE/nghdl-simulator/release/src/xspice/icm/Ngveri to FOSSEE/nghdl-simulator/src/xspice/icm/Ngveri. Then, in the command prompt, run: FOSSEE/MSYS/mingw64/bin/mingw32-make.exe again in the same directory.
  7. Delete the verilator.d file if it is present.
  8. Open the modpath.lst file and remove all entries except the file you intend to convert from Verilog to Ngveri.

Version and OS

  • eSim version 2.3
  • OS: Windows-11 64-bit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions