Fixed getenvval lint error in rom1p1r

This commit is contained in:
David Harris 2024-04-20 15:55:52 -07:00
parent a3db61b2b2
commit ea344fe2fa

View File

@ -26,6 +26,13 @@
// This model actually works correctly with vivado.
`ifdef VERILATOR
import "DPI-C" function string getenvval(input string env_name);
`else
import "DPI-C" function string getenv(input string env_name);
`endif
import "DPI-C" function int system(input string env_name);
module rom1p1r #(parameter ADDR_WIDTH = 8, DATA_WIDTH = 32, PRELOAD_ENABLED = 0)
(input logic clk,
input logic ce,