Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Cadence cannot determine .mem file

kaccov

Newbie
Joined
Feb 16, 2024
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
20
Hi everyone,

To initiate memory i use "$readmemh("rom_values.mem", rom);" in my verilog code.
But seems like, cadence cannot determine this .mem file.

The error i get => xrun: *E,FMUK: The type of the file (/rom_values.mem) could not be determined.

This is how i read .mem file => xrun -access rwc -gui -timescale 1us/1ns /rom_values.mem

How can i resolve this issue.
 
Seems like a path problem. Try making the filename "full path"
(with whatever escapes may be needed for special characters)
and look at what the declared searchpath is, once you have the
full path working.
 
you do not have to pass the file to the simulator. by doing so, the simulator thinks this is a verilog/vhdl file

on your verilog testbench, just use the $readmemh directive and it will work
 

LaTeX Commands Quick-Menu:

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top