Changeset 186 for trunk/3DEES/histogram32.v
- Timestamp:
- Mar 18, 2014, 3:10:11 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/3DEES/histogram32.v
r180 r186 4 4 5 5 input wire hst_good, 6 input wire [ 5:0]hst_data,6 input wire [6:0] hst_data, 7 7 8 8 input wire bus_ssel, bus_wren, … … 17 17 reg [3:0] int_case_reg, int_case_next; 18 18 reg int_wren_reg, int_wren_next; 19 reg [ 5:0] int_addr_reg, int_addr_next;19 reg [6:0] int_addr_reg, int_addr_next; 20 20 reg [31:0] int_data_reg, int_data_next; 21 21 … … 38 38 .intended_device_family("Cyclone III"), 39 39 .lpm_type("altsyncram"), 40 .numwords_a( 64),41 .numwords_b(1 28),40 .numwords_a(80), 41 .numwords_b(160), 42 42 .operation_mode("BIDIR_DUAL_PORT"), 43 43 .outdata_aclr_a("NONE"), … … 49 49 .read_during_write_mode_port_a("NEW_DATA_NO_NBE_READ"), 50 50 .read_during_write_mode_port_b("NEW_DATA_NO_NBE_READ"), 51 .widthad_a( 6),52 .widthad_b( 7),51 .widthad_a(7), 52 .widthad_b(8), 53 53 .width_a(32), 54 54 .width_b(16), … … 86 86 begin 87 87 int_wren_reg <= 1'b1; 88 int_addr_reg <= 6'd0;88 int_addr_reg <= 7'd0; 89 89 int_data_reg <= 32'd0; 90 90 int_case_reg <= 4'b0; … … 139 139 begin 140 140 // write zeros 141 int_addr_next = int_addr_reg + 6'd1;141 int_addr_next = int_addr_reg + 7'd1; 142 142 if (&int_addr_reg) 143 143 begin … … 187 187 begin 188 188 int_wren_next = 1'b0; 189 int_addr_next = 6'd0;189 int_addr_next = 7'd0; 190 190 int_data_next = 32'd0; 191 191 int_case_next = 4'd0;
Note:
See TracChangeset
for help on using the changeset viewer.