Skip to content
Snippets Groups Projects
Commit 3a412c15 authored by dam1n19's avatar dam1n19
Browse files

Updated lint flow and updated vsim flow

parent 00de3f14
Branches
Tags
1 merge request!1changed imem to rom to allow initial program loading, updated bootloader code...
...@@ -62,6 +62,10 @@ bb_list ...@@ -62,6 +62,10 @@ bb_list
designunit = cmsdk_apb_slave_mux; designunit = cmsdk_apb_slave_mux;
file = $ARM_IP_LIBRARY_PATH/latest/Corstone-101/logical/cmsdk_apb_slave_mux/verilog/cmsdk_apb_slave_mux.v; file = $ARM_IP_LIBRARY_PATH/latest/Corstone-101/logical/cmsdk_apb_slave_mux/verilog/cmsdk_apb_slave_mux.v;
// Exclude CMSDK FPGA ROM
designunit = cmsdk_fpga_rom;
file = $ARM_IP_LIBRARY_PATH/latest/Corstone-101/logical/models/memories/cmsdk_fpga_rom.v;
// Exclude APB Test slave as Arm IP // Exclude APB Test slave as Arm IP
designunit = cmsdk_apb_test_slave; designunit = cmsdk_apb_test_slave;
file = $ARM_IP_LIBRARY_PATH/latest/Corstone-101/logical/cmsdk_apb_subsystem/verilog/cmsdk_apb_test_slave.v; file = $ARM_IP_LIBRARY_PATH/latest/Corstone-101/logical/cmsdk_apb_subsystem/verilog/cmsdk_apb_test_slave.v;
......
...@@ -123,8 +123,8 @@ LINT_INFO_SOCDEBUG_DIR = $(SOCLABS_SOCDEBUG_TECH_DIR)/hal ...@@ -123,8 +123,8 @@ LINT_INFO_SOCDEBUG_DIR = $(SOCLABS_SOCDEBUG_TECH_DIR)/hal
LINT_TOP = nanosoc_chip_pads LINT_TOP = nanosoc_chip_pads
# MTI option # MTI option
#DF#MTI_OPTIONS = -novopt MTI_OPTIONS = +acc
MTI_OPTIONS = -suppress 2892 MTI_OPTIONS += -suppress 2892
MTI_VC_OPTIONS = -f $(TBENCH_VC) $(ACCELERATOR_VC) $(ADP_OPTIONS) MTI_VC_OPTIONS = -f $(TBENCH_VC) $(ACCELERATOR_VC) $(ADP_OPTIONS)
# VCS option # VCS option
...@@ -211,7 +211,7 @@ compile_xm : bootrom ...@@ -211,7 +211,7 @@ compile_xm : bootrom
lint_xm: bootrom lint_xm: bootrom
@rm -rf $(LINT_DIR) @rm -rf $(LINT_DIR)
@mkdir -p $(LINT_DIR) @mkdir -p $(LINT_DIR)
cd $(LINT_DIR); hal -f $(DESIGN_VC) $(DEFINES_VC) +debug -XMVERILOGARGS "-timescale 1ps/1ps" -top $(LINT_TOP) $(HAL_BLACK_BOX) $(HAL_WAIVE) $(LINT_NOCHECK) cd $(LINT_DIR); xrun -hal -f $(DESIGN_VC) $(DEFINES_VC) +debug "-timescale 1ps/1ps" -top $(LINT_TOP) $(HAL_BLACK_BOX) $(HAL_WAIVE) $(LINT_NOCHECK)
# Note : If coverage is required, you can add -coverage all to xmelab # Note : If coverage is required, you can add -coverage all to xmelab
...@@ -278,7 +278,7 @@ run_mti : code compile_mti ...@@ -278,7 +278,7 @@ run_mti : code compile_mti
# Run simulation in interactive mode # Run simulation in interactive mode
sim_mti : code compile_mti sim_mti : code compile_mti
vsim $(MTI_OPTIONS) -gui $(TB_TOP) & cd $(SIM_DIR); vsim $(MTI_OPTIONS) -gui $(TB_TOP) &
# Create work directory # Create work directory
lib_mti : lib_mti :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment