Results 1 to 2 of 2

Thread: Circuit Works Correctly on Board -- Error Raised by Waveform Viewer

  1. #1
    Join Date
    Jan 2017
    Posts
    1
    Rep Power
    1

    Default Circuit Works Correctly on Board -- Error Raised by Waveform Viewer

    This is part of the Verilog SoC 'light' tutorial. The simple circuit works correctly on the board. But while running a functional simulation, this error is given.

    # Model Technology ModelSim ALTERA vlog 10.3d Compiler 2014.10 Oct 7 2014
    # Start time: 16:37:06 on Jan 10,2017
    # vlog -work work light.vwf.vt
    # -- Compiling module light_vlg_sample_tst
    # -- Compiling module light_vlg_check_tst
    # -- Compiling module light_vlg_vec_tst
    # ** Error: light.vwf.vt(171): 'i1' already declared in this scope.
    # End time: 16:37:06 on Jan 10,2017, Elapsed time: 0:00:00
    # Errors: 1, Warnings: 0
    # ** Error: c:/altera/15.0/modelsim_ase/win32aloem/vlog failed.
    # Executing ONERROR command at macro ./light.do line 4


    Error.

    ------
    I have not missed any tutorial steps and I am certain the Verilog is correct. Here it is just for reference.


    module light(i1, i2, f);
    input i1, i2;
    output f;
    assign f = (i1 & ~i2)|(~i1 & i2);
    endmodule

    This error is occurring in a generated file which I am not at all familiar with. Any help would be much appreciated.

    Thanks,
    Devin

  2. #2
    Join Date
    Dec 2009
    Location
    USA
    Posts
    368
    Rep Power
    1

    Default Re: Circuit Works Correctly on Board -- Error Raised by Waveform Viewer

    Devin -

    Have you looked at the light.vwf.vt file to see if you can find the problem? ModelSim told you exactly what it gagged on.

Similar Threads

  1. Replies: 2
    Last Post: November 23rd, 2015, 06:02 AM
  2. Instantiating Audio IP Core correctly with DE2 board
    By Archybolt in forum University Program
    Replies: 0
    Last Post: July 6th, 2014, 12:16 PM
  3. my design works on simulation but doesn't on the board
    By system in forum FPGA, Hardcopy, and CPLD Discussion
    Replies: 4
    Last Post: February 8th, 2012, 09:21 AM
  4. Command Line Waveform Viewer
    By morrog in forum Quartus II and EDA Tools Discussion
    Replies: 0
    Last Post: June 30th, 2010, 02:49 PM
  5. NEEK Dev Board - Picture Viewer Project Compilation
    By cenedra in forum Development Kit Related
    Replies: 1
    Last Post: March 2nd, 2009, 09:46 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •