Good afternoon,I was wondering if anyone could possibly offer me some help, as a mature student going back to study EE after a 20 year break I'm finding some things a little testing, I have been asked to design a matrix multiplier, I have done this by creating a chip with 3 multis and adders, when compiled it works produces a VWF, when I put 9 chips together and compile all is good but when I try to produce a VWF all I get is this message Top level modules:# multiplxer # End time: 16:36:55 on Apr 19,2017, Elapsed time: 0:00:04 # Errors: 0, Warnings: 0 # Model Technology ModelSim ALTERA vlog 10.3d Compiler 2014.10 Oct 7 2014 # Start time: 16:36:56 on Apr 19,2017 # vlog -work work Waveform2.vwf.vt # -- Compiling module multiplxer_vlg_sample_tst # ** Error: Waveform2.vwf.vt(31): near "0": syntax error, unexpected INTEGER NUMBER, expecting ')' # End time: 16:36:56 on Apr 19,2017, Elapsed time: 0:00:00 # Errors: 1, Warnings: 0 # ** Error: C:/altera/15.0/modelsim_ae/win32aloem/vlog failed. # Executing ONERROR command at macro ./multiplxer.do line 4 Error. any help would be gratefully received cheers Boots
All of your signal names start with a number. In verilog (and VHDL), all identifiers must start with an alphabetic character (a-z, A-Z) or an underscore _. It cannot start with a numeric character.Its annoying, because schematics allow you name name everything with a number (0-9). But this will then not work when you try and simulate it.
Team,Thank you so much for the guidance, it turned out it was the naming of my signals, changed them to start with an under score and boosh sorted, waveform produced and correct thanks again Paul