mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-23 13:04:28 +00:00
Added imperas configuration for Lee
This commit is contained in:
parent
ced8038343
commit
9279b2d56a
@ -35,6 +35,7 @@
|
||||
# If <inherited config name> is not empty, all the list of parameter changes in the inherited
|
||||
# configuration are also applied to this configuration
|
||||
|
||||
|
||||
# buildroot is used for the Linux boot
|
||||
deriv buildroot rv64gc
|
||||
RESET_VECTOR 64'h1000
|
||||
@ -1654,4 +1655,16 @@ IDIV_ON_FPU 1
|
||||
deriv fdqh_ieee_div_4_4i_rv64gc fdqh_ieee_div_4_4_rv64gc
|
||||
IDIV_ON_FPU 1
|
||||
|
||||
|
||||
# imperas used for a smart memory
|
||||
derive imperas rv64gc
|
||||
ICACHE_SUPPORTED 0
|
||||
DCACHE_SUPPORTED 0
|
||||
VIRTMEM_SUPPORTED 0
|
||||
ZAAMO_SUPPORTED 0
|
||||
ZALRSC_SUPPORTED 0
|
||||
ZICBOM_SUPPORTED 0
|
||||
ZICBOZ_SUPPORTED 0
|
||||
SVPBMT_SUPPORTED 0
|
||||
SVNAPOT_SUPPORTED 0
|
||||
BOOTROM_BASE 64'h4
|
||||
BOOTROM_RANGE 64'h0
|
||||
|
@ -491,7 +491,12 @@ module testbench;
|
||||
$display("Error: Could not open file %s", memfilename);
|
||||
$finish;
|
||||
end
|
||||
readResult = $fread(dut.uncoregen.uncore.bootrom.bootrom.memory.ROM, memFile);
|
||||
if (P.BOOTROM_SUPPORTED)
|
||||
readResult = $fread(dut.uncoregen.uncore.bootrom.bootrom.memory.ROM, memFile);
|
||||
else begin
|
||||
$display("Buildroot test requires BOOTROM_SUPPORTED");
|
||||
$finish;
|
||||
end
|
||||
$fclose(memFile);
|
||||
memFile = $fopen(memfilename, "rb");
|
||||
if (memFile == 0) begin
|
||||
|
Loading…
Reference in New Issue
Block a user