mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
Fixed getenvval lint error in rom1p1r
This commit is contained in:
parent
a3db61b2b2
commit
ea344fe2fa
@ -26,6 +26,13 @@
|
|||||||
|
|
||||||
// This model actually works correctly with vivado.
|
// 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)
|
module rom1p1r #(parameter ADDR_WIDTH = 8, DATA_WIDTH = 32, PRELOAD_ENABLED = 0)
|
||||||
(input logic clk,
|
(input logic clk,
|
||||||
input logic ce,
|
input logic ce,
|
||||||
|
Loading…
Reference in New Issue
Block a user