[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r6041 - gnuradio/branches/developers/matt/u2f/control_
From: |
matt |
Subject: |
[Commit-gnuradio] r6041 - gnuradio/branches/developers/matt/u2f/control_lib |
Date: |
Fri, 20 Jul 2007 16:17:43 -0600 (MDT) |
Author: matt
Date: 2007-07-20 16:17:43 -0600 (Fri, 20 Jul 2007)
New Revision: 6041
Modified:
gnuradio/branches/developers/matt/u2f/control_lib/fifo_tb.v
Log:
better error messages
Modified: gnuradio/branches/developers/matt/u2f/control_lib/fifo_tb.v
===================================================================
--- gnuradio/branches/developers/matt/u2f/control_lib/fifo_tb.v 2007-07-20
22:15:42 UTC (rev 6040)
+++ gnuradio/branches/developers/matt/u2f/control_lib/fifo_tb.v 2007-07-20
22:17:43 UTC (rev 6041)
@@ -9,11 +9,11 @@
shortfifo #(.WIDTH(8)) shortfifo
(.clk(clk),.rst(rst),.datain(di),.dataout(short_do),
- .read(read & ~short_empty),.write(write &
~short_full),.full(short_full),.empty(short_empty));
+ .read(read),.write(write),.full(short_full),.empty(short_empty));
longfifo #(.WIDTH(8), .SIZE(4)) longfifo
(.clk(clk),.rst(rst),.datain(di),.dataout(long_do),
- .read(read & ~long_empty),.write(write &
~long_full),.full(long_full),.empty(long_empty));
+ .read(read),.write(write),.full(long_full),.empty(long_empty));
initial rst = 1;
initial #1000 rst = 0;
@@ -33,7 +33,7 @@
if(short_full != long_full)
$display("Error: FULL mismatch");
if(short_empty != long_empty)
- $display("Error: EMPTY mismatch");
+ $display("Note: EMPTY mismatch, usually not a problem (longfifo has 2
cycle latency)");
if(read & (short_do != long_do))
$display("Error: DATA mismatch");
end
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r6041 - gnuradio/branches/developers/matt/u2f/control_lib,
matt <=