URL
https://opencores.org/ocsvn/xulalx25soc/xulalx25soc/trunk
[/] [xulalx25soc/] [trunk/] [rtl/] [sdspi.v] - Diff between revs 100 and 113
Show entire file |
Details |
Blame |
View Log
Rev 100 |
Rev 113 |
Line 95... |
Line 95... |
//
|
//
|
// Some WB simplifications:
|
// Some WB simplifications:
|
//
|
//
|
reg r_cmd_busy;
|
reg r_cmd_busy;
|
wire wb_stb, write_stb, cmd_stb; // read_stb
|
wire wb_stb, write_stb, cmd_stb; // read_stb
|
assign wb_stb = ((i_wb_cyc)&&(i_wb_stb)&&(~o_wb_stall));
|
assign wb_stb = ((i_wb_stb)&&(~o_wb_stall));
|
assign write_stb = ((wb_stb)&&( i_wb_we));
|
assign write_stb = ((wb_stb)&&( i_wb_we));
|
// assign read_stb = ((wb_stb)&&(~i_wb_we));
|
// assign read_stb = ((wb_stb)&&(~i_wb_we));
|
assign cmd_stb = (~r_cmd_busy)&&(write_stb)
|
assign cmd_stb = (~r_cmd_busy)&&(write_stb)
|
&&(i_wb_addr==`SDSPI_CMD_ADDRESS);
|
&&(i_wb_addr==`SDSPI_CMD_ADDRESS);
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.