caravel_user_project icon indicating copy to clipboard operation
caravel_user_project copied to clipboard

Error in the path, gate level simulation

Open Baungarten-CINVESTAV opened this issue 1 year ago • 1 comments

The path of caravel_core.v is wrong on includes.gl.caravel_user_project it must be change from:

# Caravel user project includes	     
-v $(USER_PROJECT_VERILOG)/gl/user_project_wrapper.v    
-v $(USER_PROJECT_VERILOG)/gl/user_proj_example.v
-v $(USER_PROJECT_VERILOG)/gl/caravel_core.v
# default should be added according to the defaults used
#-v $(USER_PROJECT_VERILOG)/gl/gpio_defaults_block_0403.v     
#-v $(USER_PROJECT_VERILOG)/gl/gpio_defaults_block_0801.v     
#-v $(USER_PROJECT_VERILOG)/gl/gpio_defaults_block_1803.v 

to

# Caravel user project includes	     
-v $(USER_PROJECT_VERILOG)/gl/user_project_wrapper.v    
-v $(USER_PROJECT_VERILOG)/gl/user_proj_example.v
-v $(CARAVEL_ROOT)/verilog/gl/caravel_core.v
# default should be added according to the defaults used
#-v $(CARAVEL_ROOT)/verilog/gl/gpio_defaults_block_0403.v     
#-v $(CARAVEL_ROOT)/verilog/gl/gpio_defaults_block_0801.v     
#-v $(CARAVEL_ROOT)/verilog/gl/gpio_defaults_block_1803.v 

the path must be point to caravel/verilog/gl/

Baungarten-CINVESTAV avatar Aug 31 '24 02:08 Baungarten-CINVESTAV

Hi @Baungarten-CINVESTAV, no this is actually the correct path, after running the script that generates the gpio defaults, it will produce a caravel_core.v netlist under your project.

marwaneltoukhy avatar Oct 03 '24 13:10 marwaneltoukhy