Altera_Forum
Honored Contributor
17 years agoMulticycle MIPS Compilation Problem
Hi I'm new here, I'm sorry if this might not be the appropriate place for this but this seemed like a Quartus issue so I decided to give it a shot. Yes, this is a college lab project but the issue seems so obscure that maybe someone has run into something like this.
I have one input -- the clock. (not including the .MIF files used for my ROMs) I'm trying to implement a Multicycle MIPS CPU and I get two nasty errors right when it's about done compling (say maybe 92% complete). But get this, these errors ONLY come up when I try to add output pins!! It will compile successfully when there are no output pins. I tried having the output pins virtually connected as well as hard-wired but to no avail. Error: WYSIWYG primitive "memory_blocks[0][0]" has mismatched parameters for port Port A, Read Address Error: WYSIWYG primitive "memory_blocks[1][0]" has mismatched parameters for port Port A, Read Address Edit: When I double-clock the errors, Quartus takes me to some Quartus-"critical" definition file and here's the path: ../../../../../altera/81/quartus/libraries/megafunctions/altqpram.tdf I've compiled all my sub-symbols used, i.e. Control, ALU Control, shift left logical, sign-extend, the ALU, regsiter file, etc. and they all compiled successfully, no errors. In fact, I made made separate project files for said lower level blocks, debugged all pieces independently from the top-level design and all I/O pins reported the right stuff after analyzing the Vector Wave form files form simulation. I even updated the symbols used in my top-level design. ... No go. Any suggestions would be great. If I need to post more info please by all means let me know. Thanks.