URL
https://opencores.org/ocsvn/apbtoaes128/apbtoaes128/trunk
[/] [apbtoaes128/] [trunk/] [rtl/] [host_interface.v] - Diff between revs 7 and 8
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 7 |
Rev 8 |
Line 427... |
Line 427... |
bus_out_mux = 32'd0;
|
bus_out_mux = 32'd0;
|
case(PADDR)
|
case(PADDR)
|
AES_CR:
|
AES_CR:
|
bus_out_mux = {{19{1'b0}}, aes_cr[10:7], 2'b00, aes_cr[6:0]};
|
bus_out_mux = {{19{1'b0}}, aes_cr[10:7], 2'b00, aes_cr[6:0]};
|
AES_SR:
|
AES_SR:
|
begin
|
bus_out_mux = {{29{1'b0}}, wr_err, rd_err, (ccf && ~PENABLE)?1'b1:((ccf_set && PENABLE))?1'b0:(ccfc && aes_cr_wr_en)?1'b0:1'b1};
|
|
|
bus_out_mux = {{29{1'b0}}, wr_err, rd_err, (ccf)?1'b1:(ccfc && aes_cr_wr_en)?1'b0:1'b1};
|
|
/*
|
|
if(~ccfc && ~aes_cr_wr_en)
|
|
begin
|
|
bus_out_mux = {{29{1'b0}}, wr_err, rd_err, (ccf)?1'b1:(ccfc && aes_cr_wr_en)?1'b0:1'b1};
|
|
end
|
|
else
|
|
begin
|
|
bus_out_mux = {{29{1'b0}}, wr_err, rd_err, (ccf_set | ccf)?1'b1:1'b0};
|
|
end
|
|
*/
|
|
end
|
|
AES_DINR, AES_DOUTR:
|
AES_DINR, AES_DOUTR:
|
bus_out_mux = col_bus;
|
bus_out_mux = col_bus;
|
AES_KEYR0, AES_KEYR1, AES_KEYR2, AES_KEYR3:
|
AES_KEYR0, AES_KEYR1, AES_KEYR2, AES_KEYR3:
|
if(!enable)
|
if(!enable)
|
bus_out_mux = key_bus;
|
bus_out_mux = key_bus;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.