Wajeh ul hasan
10/14/2020, 1:13 PMsrc
directory
The error says:
Top module: \memory_core
`ERROR: Module `\sram_2_16_1_scn4m_subm' referenced in module `\memory_core' in cell \dmem' is not part of the design.
Amr Gouhar
10/14/2020, 1:17 PMset ::env(VERILOG_FILES) [glob $::env(DESIGN_DIR)/src/*.v]
or just
set ::env(VERILOG_FILES) "$::env(DESIGN_DIR)/src/*.v"
you may need to change this based on the hierarchy of files you have.Wajeh ul hasan
10/14/2020, 1:39 PMset ::env(VERILOG_FILES) [glob $::env(DESIGN_DIR)/src/*.v]
and it reads the top module successfully.
The problem arises with the modules instantiated in it, the Verilog files of these sub modules are separate but in the same directory as that of the top module.Amr Gouhar
10/14/2020, 1:47 PMWajeh ul hasan
10/14/2020, 3:53 PMopenlane /design_name/src
src
> topmodule.v
, submodule1.v
, submodule2.v
...Amr Gouhar
10/14/2020, 4:06 PMAhmed Ghazy
10/14/2020, 8:25 PM"module1.v module2.v"
etc.Wajeh ul hasan
10/16/2020, 3:29 PM