Simplificaiton of function tracker.

This commit is contained in:
Ross Thompson 2023-07-11 10:51:17 -05:00
parent 4c4eb080ee
commit 4653f8e704

View File

@ -119,8 +119,8 @@ module FunctionName import cvw::*; #(parameter cvw_t P) (
// initial begin // initial begin
always @ (negedge reset) begin always @ (negedge reset) begin
// clear out the old mapping between programs. // clear out the old mapping between programs.
foreach(ProgramAddrMapMemory[i]) ProgramAddrMapMemory.delete(i); ProgramAddrMapMemory.delete();
foreach(ProgramLabelMapMemory[i]) ProgramLabelMapMemory.delete(i); ProgramLabelMapMemory.delete();
$readmemh(ProgramAddrMapFile, ProgramAddrMapMemory); $readmemh(ProgramAddrMapFile, ProgramAddrMapMemory);
// we need to count the number of lines in the file so we can set FunctionRadixLineCount. // we need to count the number of lines in the file so we can set FunctionRadixLineCount.