[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r6803 - gnuradio/branches/developers/matt/u2f/control_
From: |
matt |
Subject: |
[Commit-gnuradio] r6803 - gnuradio/branches/developers/matt/u2f/control_lib |
Date: |
Fri, 2 Nov 2007 21:27:59 -0600 (MDT) |
Author: matt
Date: 2007-11-02 21:27:58 -0600 (Fri, 02 Nov 2007)
New Revision: 6803
Modified:
gnuradio/branches/developers/matt/u2f/control_lib/ram_2port.v
Log:
initialize mem to zero, just like on FPGA
Modified: gnuradio/branches/developers/matt/u2f/control_lib/ram_2port.v
===================================================================
--- gnuradio/branches/developers/matt/u2f/control_lib/ram_2port.v
2007-11-03 03:22:56 UTC (rev 6802)
+++ gnuradio/branches/developers/matt/u2f/control_lib/ram_2port.v
2007-11-03 03:27:58 UTC (rev 6803)
@@ -18,6 +18,10 @@
output reg [DWIDTH-1:0] dob);
reg [DWIDTH-1:0] ram [(1<<AWIDTH)-1:0];
+ integer i;
+ initial
+ for(i=0;i<(1<<AWIDTH);i=i+1)
+ ram[i] <= {AWIDTH{1'b0}};
always @(posedge clka) begin
if (ena)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r6803 - gnuradio/branches/developers/matt/u2f/control_lib,
matt <=