mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-03 02:05:21 +00:00
Simplificaiton of function tracker.
This commit is contained in:
parent
4c4eb080ee
commit
4653f8e704
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user