Author: matt
Date: 2008-01-11 01:43:29 -0700 (Fri, 11 Jan 2008)
New Revision: 7399

Modified:
   usrp2/trunk/fpga/eth/header_ram.v
Log:
look at correct bits of the address


Modified: usrp2/trunk/fpga/eth/header_ram.v
===================================================================
--- usrp2/trunk/fpga/eth/header_ram.v   2008-01-11 07:01:29 UTC (rev 7398)
+++ usrp2/trunk/fpga/eth/header_ram.v   2008-01-11 08:43:29 UTC (rev 7399)
@@ -12,7 +12,7 @@
      );
    
    reg [WIDTH-1:0] mini_ram[0:15];
-   wire           write_to_ram = (set_stb & (set_addr[7:4]==REGNUM));
+   wire           write_to_ram = (set_stb & (set_addr[7:4]==REGNUM[7:4]));
    wire [3:0]     ram_addr = write_to_ram ? set_addr[3:0] : addr;
                   
    always @(posedge clk)



_______________________________________________
Commit-gnuradio mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnuradio

Reply via email to