Fixed drive selection bug.
Code now works coping data from one sdc drive with another...
This commit is contained in:
1 parent
90672316c7
commit
7535dc87fc
2 files changed
+528
-1
No files matched your search
+1
-1
@@ -288,7 +288,7 @@ begin
|
||||
wr_cmd <= 1'b1;
|
||||
|
||||
// Issue sda read command...
|
||||
if (~l_drive)
|
||||
if (~command[0]) // This reference to the drive must be to the command register as l_drive has not yet updated
|
||||
sd_lba[0] <= {8'h00, 1'b0, LSN[23:1]};
|
||||
else
|
||||
sd_lba[1] <= {8'h00, 1'b0, LSN[23:1]};
|
||||
|
||||
Reference in new issue
Block a user