OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [or1200/] [rtl/] [verilog/] [or1200_pm.v] - Diff between revs 141 and 258

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 141 Rev 258
Line 137... Line 137...
//
//
always @(posedge clk or posedge rst)
always @(posedge clk or posedge rst)
        if (rst)
        if (rst)
                {dcge, sme, dme, sdf} <= 7'b0;
                {dcge, sme, dme, sdf} <= 7'b0;
        else if (pmr_sel && spr_write) begin
        else if (pmr_sel && spr_write) begin
                sdf <= #1 spr_dat_i[`OR1200_PM_PMR_SDF];
                sdf <=  spr_dat_i[`OR1200_PM_PMR_SDF];
                dme <= #1 spr_dat_i[`OR1200_PM_PMR_DME];
                dme <=  spr_dat_i[`OR1200_PM_PMR_DME];
                sme <= #1 spr_dat_i[`OR1200_PM_PMR_SME];
                sme <=  spr_dat_i[`OR1200_PM_PMR_SME];
                dcge <= #1 spr_dat_i[`OR1200_PM_PMR_DCGE];
                dcge <=  spr_dat_i[`OR1200_PM_PMR_DCGE];
        end
        end
        else if (pic_wakeup) begin
        else if (pic_wakeup) begin
                dme <= #1 1'b0;
                dme <=  1'b0;
                sme <= #1 1'b0;
                sme <=  1'b0;
        end
        end
 
 
//
//
// Read PMR
// Read PMR
//
//

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.