• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Alchitry_labs 1.06 Update fail
#1
Thumbs Down 
Errors in file io.acf:
    Line 49, Column 13 : There are too many indices for this array
    Line 1, Column 13 : There are too many indices for this array
    Line 2, Column 13 : There are too many indices for this array
    Line 3, Column 13 : There are too many indices for this array
    Line 4, Column 13 : There are too many indices for this array
    Line 5, Column 13 : There are too many indices for this array
    Line 6, Column 13 : There are too many indices for this array
    Line 7, Column 13 : There are too many indices for this array
    Line 8, Column 13 : There are too many indices for this array
    Line 9, Column 13 : There are too many indices for this array
    Line 10, Column 13 : There are too many indices for this array
    Line 11, Column 13 : There are too many indices for this array
    Line 12, Column 13 : There are too many indices for this array
    Line 13, Column 13 : There are too many indices for this array
    Line 14, Column 13 : There are too many indices for this array
    Line 15, Column 13 : There are too many indices for this array
    Line 16, Column 13 : There are too many indices for this array
    Line 17, Column 13 : There are too many indices for this array
    Line 18, Column 13 : There are too many indices for this array
    Line 19, Column 13 : There are too many indices for this array
    Line 20, Column 13 : There are too many indices for this array
    Line 21, Column 13 : There are too many indices for this array
    Line 22, Column 13 : There are too many indices for this array
    Line 23, Column 13 : There are too many indices for this array
    Line 24, Column 13 : There are too many indices for this array
    Line 26, Column 13 : There are too many indices for this array
    Line 27, Column 13 : There are too many indices for this array
    Line 28, Column 13 : There are too many indices for this array
    Line 29, Column 13 : There are too many indices for this array
    Line 30, Column 13 : There are too many indices for this array
    Line 31, Column 13 : There are too many indices for this array
    Line 32, Column 13 : There are too many indices for this array
    Line 33, Column 13 : There are too many indices for this array
    Line 34, Column 13 : There are too many indices for this array
    Line 35, Column 13 : There are too many indices for this array
    Line 36, Column 13 : There are too many indices for this array
    Line 37, Column 13 : There are too many indices for this array
    Line 38, Column 13 : There are too many indices for this array
    Line 39, Column 13 : There are too many indices for this array
    Line 40, Column 13 : There are too many indices for this array
    Line 41, Column 13 : There are too many indices for this array
    Line 42, Column 13 : There are too many indices for this array
    Line 43, Column 13 : There are too many indices for this array
    Line 44, Column 13 : There are too many indices for this array
    Line 45, Column 13 : There are too many indices for this array
    Line 46, Column 13 : There are too many indices for this array
    Line 47, Column 13 : There are too many indices for this array
    Line 48, Column 13 : There are too many indices for this array

This works in version 1.04

io.acf change from 1 x 24 member arrays to 3 x 8 member arrays. Exclamation

module au_top (
    input clk,              // 100MHz clock
    input rst_n,            // reset button (active low)
    output led [8],         // 8 user controllable LEDs
    input usb_rx,           // USB->Serial input
    output usb_tx,          // USB->Serial output
    output io_led [24],   // LEDs on IO Shield
    output io_seg [8],      // 7-segment LEDs on IO Shield
    output io_sel [4],      // Digit select on IO Shield
    input io_button [5],    // 5 buttons on IO Shield
    input io_dip [24]     // DIP switches on IO Shield
  ) {
  
  sig rst;                  // reset signal
  
  .clk(clk) {
    // The reset conditioner is used to synchronize the reset signal to the FPGA
    // clock. This ensures the entire FPGA comes out of reset at the same time.
    reset_conditioner reset_cond;
  }
  
  always {
    reset_cond.in = ~rst_n; // input raw inverted reset signal
    rst = reset_cond.out;   // conditioned reset
    
    usb_tx = usb_rx;        // loop serial port
    
    led = 8h00;             // turn LEDs off
    
    io_led = 248h00;        // turn LEDs off
    io_seg = 8hff;          // turn segments off
    io_sel = 4hf;           // select no digits
    
    io_led[0002] = io_dip[b0000] & ~io_dip[1];
  }
}

George Morris  Confused
  Reply
#2
Hey George,

Sorry for the change that broke backwards compatibility. We did this to match the old Mojo IO Shield tutorials better.

Justin
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)