Changeset 159 for trunk/MultiChannelUSB/configuration.v
- Timestamp:
- Jan 11, 2012, 4:32:57 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MultiChannelUSB/configuration.v
r99 r159 4 4 5 5 input wire bus_ssel, bus_wren, 6 input wire [ 4:0] bus_addr,6 input wire [5:0] bus_addr, 7 7 input wire [15:0] bus_mosi, 8 8 … … 10 10 output wire bus_busy, 11 11 12 output wire [ 511:0] cfg_bits12 output wire [1023:0] cfg_bits 13 13 ); 14 14 15 wire [ 31:0] int_ssel_wire;15 wire [63:0] int_ssel_wire; 16 16 wire [15:0] int_miso_wire; 17 17 reg [15:0] int_miso_reg; 18 18 19 wire [ 511:0] int_bits_wire;19 wire [1023:0] int_bits_wire; 20 20 21 21 integer i; … … 23 23 24 24 generate 25 for (j = 0; j < 32; j = j + 1)25 for (j = 0; j < 64; j = j + 1) 26 26 begin : BUS_OUTPUT 27 27 lpm_ff #( … … 43 43 44 44 lpm_mux #( 45 .lpm_size( 32),45 .lpm_size(64), 46 46 .lpm_type("LPM_MUX"), 47 47 .lpm_width(16), 48 .lpm_widths( 5)) bus_miso_mux_unit (48 .lpm_widths(6)) bus_miso_mux_unit ( 49 49 .sel(bus_addr), 50 50 .data(int_bits_wire), … … 53 53 54 54 lpm_decode #( 55 .lpm_decodes( 32),55 .lpm_decodes(64), 56 56 .lpm_type("LPM_DECODE"), 57 .lpm_width( 5)) lpm_decode_unit (57 .lpm_width(6)) lpm_decode_unit ( 58 58 .data(bus_addr), 59 59 .eq(int_ssel_wire),
Note:
See TracChangeset
for help on using the changeset viewer.