URL
https://opencores.org/ocsvn/mpmc8/mpmc8/trunk
[/] [mpmc8/] [trunk/] [rtl/] [mpmc10/] [mpmc10_app_wdf_wren_gen.sv] - Diff between revs 10 and 11
Show entire file |
Details |
Blame |
View Log
Rev 10 |
Rev 11 |
Line 44... |
Line 44... |
|
|
// app_wdf_wren is used to strobe data into the data fifo when app_wdf_rdy is
|
// app_wdf_wren is used to strobe data into the data fifo when app_wdf_rdy is
|
// true. It must be after en is asserted to set the command and address.
|
// true. It must be after en is asserted to set the command and address.
|
always_ff @(posedge clk)
|
always_ff @(posedge clk)
|
begin
|
begin
|
wren <= FALSE;
|
wren <= 1'b0;
|
if (state==WRITE_DATA3)// WRITE_DATA0 && rdy)
|
if (state==WRITE_DATA3)// WRITE_DATA0 && rdy)
|
wren <= TRUE;
|
wren <= 1'b1;
|
end
|
end
|
|
|
endmodule
|
endmodule
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.