mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-23 21:39:10 -04:00
Resseting GPR
This commit is contained in:
parent
10e445d459
commit
70bd673031
1 changed files with 2 additions and 2 deletions
|
@ -25,9 +25,9 @@ module byte_enabled_simple_dual_port_ram
|
|||
always @(posedge clk, posedge reset) begin
|
||||
// TODO Clearing ram not currently supported on FPGA.
|
||||
if (reset) begin
|
||||
`ifdef ASIC
|
||||
// `ifdef ASIC
|
||||
for (ini = 0; ini < 32; ini = ini + 1) GPR[ini] <= 0;
|
||||
`endif
|
||||
// `endif
|
||||
end
|
||||
else if(we) begin
|
||||
integer thread_ind;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue