OpenCores
URL https://opencores.org/ocsvn/zipcpu/zipcpu/trunk

Subversion Repositories zipcpu

[/] [zipcpu/] [trunk/] [rtl/] [peripherals/] [wbdmac.v] - Diff between revs 69 and 88

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

Rev 69 Rev 88
Line 267... Line 267...
                                cfg_wp <= 1'b1;
                                cfg_wp <= 1'b1;
                                case(i_swb_addr)
                                case(i_swb_addr)
                                2'b00: begin
                                2'b00: begin
                                        cfg_wp    <= (i_swb_data[27:16]!=12'hfed);
                                        cfg_wp    <= (i_swb_data[27:16]!=12'hfed);
                                        cfg_blocklen_sub_one
                                        cfg_blocklen_sub_one
                                                <= i_swb_data[(LGMEMLEN-1):0]-1;
                                                <= i_swb_data[(LGMEMLEN-1):0]
 
                                                + {(LGMEMLEN){1'b1}};
 
                                                // i.e. -1;
                                        cfg_dev_trigger    <= i_swb_data[14:10];
                                        cfg_dev_trigger    <= i_swb_data[14:10];
                                        cfg_on_dev_trigger <= i_swb_data[15];
                                        cfg_on_dev_trigger <= i_swb_data[15];
                                        cfg_incs  <= ~i_swb_data[29];
                                        cfg_incs  <= ~i_swb_data[29];
                                        cfg_incd  <= ~i_swb_data[28];
                                        cfg_incd  <= ~i_swb_data[28];
                                        cfg_err   <= 1'b0;
                                        cfg_err   <= 1'b0;

powered by: WebSVN 2.1.0

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