diff options
author | matt <matt@221aa14e-8319-0410-a670-987f0aec2ac5> | 2008-10-11 23:04:06 +0000 |
---|---|---|
committer | matt <matt@221aa14e-8319-0410-a670-987f0aec2ac5> | 2008-10-11 23:04:06 +0000 |
commit | 5fa9cd632b0d889256985b61ec67184c3a98909c (patch) | |
tree | e5f9afdc30552c1584ab7250872bd02427a9ea8e /control_lib/icache.v | |
parent | dda45990b4763d883156e87b75c1c7403350bee5 (diff) | |
download | uhd-5fa9cd632b0d889256985b61ec67184c3a98909c.tar.gz uhd-5fa9cd632b0d889256985b61ec67184c3a98909c.tar.bz2 uhd-5fa9cd632b0d889256985b61ec67184c3a98909c.zip |
New serdes status interrupt, clk_status interrupt. New capability to flush the ICache.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9779 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'control_lib/icache.v')
-rw-r--r-- | control_lib/icache.v | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/control_lib/icache.v b/control_lib/icache.v index dd93c88ed..bd21f47cc 100644 --- a/control_lib/icache.v +++ b/control_lib/icache.v @@ -11,7 +11,8 @@ module icache output iwb_ack_o, input [31:0] iram_dat_i, output [AWIDTH-1:0] iram_adr_o, - output iram_en_o ); + output iram_en_o, + input flush); localparam TAGWIDTH = AWIDTH-CWIDTH-2; reg stb_d1, ack_d1, miss_d1; @@ -28,7 +29,7 @@ module icache // Write into cache integer i; always @(posedge wb_clk_i) - if(wb_rst_i) + if(wb_rst_i | flush) for(i=0;i<(1<<CWIDTH);i=i+1) ivalid[i] <= 0; else |