setup so the sdc does not need to load a model in the imperas test bench.

This commit is contained in:
Ross Thompson 2021-09-24 11:30:52 -05:00
parent c644e940c2
commit 9fdb1d3cc9
2 changed files with 4 additions and 2 deletions

View File

@ -88,6 +88,8 @@ module sd_top_tb();
end
initial $readmemh("ramdisk2.hex", sdcard.FLASHmem);
initial begin
a_RST = 1'b0;

View File

@ -24,7 +24,7 @@ module sdModel
inout tri1 cmd,
inout tri1 [3:0] dat
);
parameter SD_FILE = "ramdisk2.hex";
//parameter SD_FILE = "ramdisk2.hex";
reg oeCmd;
reg oeDat;
@ -142,7 +142,7 @@ module sdModel
reg q_start_bit;
//Card initialization DAT contents
initial $readmemh(SD_FILE, FLASHmem);
//initial $readmemh(SD_FILE, FLASHmem);
initial begin
wide_data[0] <= 00;