mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-11 06:05:49 +00:00
setup so the sdc does not need to load a model in the imperas test bench.
This commit is contained in:
parent
c644e940c2
commit
9fdb1d3cc9
@ -88,6 +88,8 @@ module sd_top_tb();
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
initial $readmemh("ramdisk2.hex", sdcard.FLASHmem);
|
||||||
|
|
||||||
initial begin
|
initial begin
|
||||||
|
|
||||||
a_RST = 1'b0;
|
a_RST = 1'b0;
|
||||||
|
@ -24,7 +24,7 @@ module sdModel
|
|||||||
inout tri1 cmd,
|
inout tri1 cmd,
|
||||||
inout tri1 [3:0] dat
|
inout tri1 [3:0] dat
|
||||||
);
|
);
|
||||||
parameter SD_FILE = "ramdisk2.hex";
|
//parameter SD_FILE = "ramdisk2.hex";
|
||||||
|
|
||||||
reg oeCmd;
|
reg oeCmd;
|
||||||
reg oeDat;
|
reg oeDat;
|
||||||
@ -142,7 +142,7 @@ module sdModel
|
|||||||
reg q_start_bit;
|
reg q_start_bit;
|
||||||
|
|
||||||
//Card initialization DAT contents
|
//Card initialization DAT contents
|
||||||
initial $readmemh(SD_FILE, FLASHmem);
|
//initial $readmemh(SD_FILE, FLASHmem);
|
||||||
|
|
||||||
initial begin
|
initial begin
|
||||||
wide_data[0] <= 00;
|
wide_data[0] <= 00;
|
||||||
|
Loading…
Reference in New Issue
Block a user