framework for later dev
This commit is contained in:
11
src/testbench/utils.svh
Normal file
11
src/testbench/utils.svh
Normal file
@@ -0,0 +1,11 @@
|
||||
`ifndef __UTILS_SVH__
|
||||
`define __UTILS_SVH__
|
||||
|
||||
`include <params.svh>
|
||||
`include <packet.svh>
|
||||
|
||||
function automatic logic get_bit(input Packet pkt, input int pos);
|
||||
if (pos <= 0 | pos >=
|
||||
endfunction // get_bit
|
||||
|
||||
`endif
|
Reference in New Issue
Block a user