URL
https://opencores.org/ocsvn/zipcpu/zipcpu/trunk
[/] [zipcpu/] [trunk/] [rtl/] [core/] [idecode.v] - Diff between revs 138 and 140
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 138 |
Rev 140 |
Line 442... |
Line 442... |
// Note that we're not using iword here ... there's a lot of logic
|
// Note that we're not using iword here ... there's a lot of logic
|
// taking place, and it's only valid if the new word is not compressed.
|
// taking place, and it's only valid if the new word is not compressed.
|
//
|
//
|
reg r_valid;
|
reg r_valid;
|
`ifdef OPT_PIPELINED
|
`ifdef OPT_PIPELINED
|
reg r_pipe;
|
|
initial r_pipe = 1'b0;
|
initial r_pipe = 1'b0;
|
always @(posedge i_clk)
|
always @(posedge i_clk)
|
if (i_ce)
|
if (i_ce)
|
r_pipe <= (r_valid)&&(i_pf_valid)&&(~i_instruction[31])
|
r_pipe <= (r_valid)&&(i_pf_valid)&&(~i_instruction[31])
|
&&(w_dcdM)&&(o_M)&&(o_op[0] ==i_instruction[22])
|
&&(w_dcdM)&&(o_M)&&(o_op[0] ==i_instruction[22])
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.