Guest
#6540159
Hello, for a school assignment I have to design a small ALU in vhdl which is able to run some basic instructions, this is made in quartus II web edition. When I compile and analyze the file with quartus no syntax errors are found, but when running the model sim I get an syntax error. I have already tried renaming the variables of the entity and re writing the code in different ways but I just cant get it to work. This is the error displayed in the modelsim log: # do ALU.do # ** Warning: (vlib-34) Library already exists at "work". # # Model Technology ModelSim ALTERA vlog 10.1d Compiler 2012.11 Nov 2 2012 # -- Compiling module ALU # # Top level modules: # ALU # Model Technology ModelSim ALTERA vlog 10.1d Compiler 2012.11 Nov 2 2012 # -- Compiling module ALU_vlg_sample_tst # -- Compiling module ALU_vlg_check_tst # ** Error: ALU.vt(62): near ",": syntax error, unexpected ',' # ** Error: c:/altera/13.0sp1/modelsim_ase/win32aloem/vlog failed. # Executing ONERROR command at macro ./ALU.do line 4 I have attached the vhdl file and the generated vt file. Thanks and regards, Mart