Results 1 to 2 of 2

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

  1. #1
    Join Date
    Jan 2017
    Rep Power

    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 ./ line 4


    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);

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


  2. #2
    Join Date
    Dec 2009
    Rep Power

    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, 05:02 AM
  2. Instantiating Audio IP Core correctly with DE2 board
    By Archybolt in forum University Program
    Replies: 0
    Last Post: July 6th, 2014, 11:16 AM
  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, 08:21 AM
  4. Command Line Waveform Viewer
    By morrog in forum Quartus II and EDA Tools Discussion
    Replies: 0
    Last Post: June 30th, 2010, 01:49 PM
  5. NEEK Dev Board - Picture Viewer Project Compilation
    By cenedra in forum Development Kit Related
    Replies: 1
    Last Post: March 2nd, 2009, 08:46 PM


Posting Permissions

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